aboutsummaryrefslogtreecommitdiffstats
path: root/includes/LogPage.php
Commit message (Collapse)AuthorAgeFilesLines
* More globals and uninitialized variables fixes. Added WebRequest ($wgRequest)Brion Vibber2004-03-081-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | object to encapsulate the handling of get/post variables: The following grab something out of $_REQUEST. The first parameter is the variable name and is required. The second is an optional default value: $wgRequest->getVal() - any type, returns NULL if no default given $wgRequest->getInt() - forced integer, 0 default $wgRequest->getText() - runs through $wgLang->recodeInput() $wgRequest->getBool() - return true/false $wgRequest->getCheck() - returns true if the var is set, even if to "" $wgRequest strips slashes at initialization if necessary. Also in this fine object: $wgRequest->wasPosted() - returns false if this wasn't a real form post, so we can protect against faked submissions in get urls. There's still plenty of work to do, not everything uses the new functions yet. To test the strict mode, do define('DEBUG_GLOBALS', 1); Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2658
* Fix for compatibility with short_open_tag = OffBrion Vibber2004-02-181-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2485
* * Recent Changes improvements: object oriented back end, move page ↵Tim Starling2004-01-171-7/+3
| | | | | | | | | | | annotation and (untested) message queue feed. * Misc. bugs fixed in DatabaseFunctions.php and Skin.php. * install-utils, install and update utilise Database objects instead of handling their own connections * schema change for RC improvement -- added rc_type, rc_moved_to_title and rc_moved_to_ns Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2294
* The purpose of this modification is to ensure that every normal requestMr. E232003-12-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution starts and ends in wiki.phtml, giving the code a somewhat more predictable flow. OutputPage.php: * Added disable() method to Output class. * Replaced exit() call in checkLastModified() with "return true" (thereby altering its contract quite severly). * reportTime() now only returns elapsed time, code with side effects moved to logProfilingData() in GlobalFunctions.php. GlobalFunctions.php: * Added function logProfilingData() which does most of what OutputPage->reportTime() used to do. Article.php: * Replaced exit() in checkLastModified() with "return true" (thereby altering its contract quite severly). * replaced implicit exit in calls to checkLastModified() and tryFileCache() with returns. LogPage.php: * replaced implicit exit() with return in call to checkLastModified() SpecialRecentchanges.php: * replaced implicit exit() with return in call to checkLastModified() wiki.phtml: * Single call to logProfilingData() at the end of the request. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2184
* Evan's patch for bug 827757: Wikitext not escaped in log entry descriptionsBrion Vibber2003-11-281-1/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2088
* wfQuery now takes three parameters -- one extra for DB replication purposesTim Starling2003-09-201-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/1680
* Update cache validation timestamp on logs when we update themBrion Vibber2003-08-301-3/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/1607
* Date/time fixes: try to ensure that timestamps are always kept in GMT, with ↵Brion Vibber2003-06-301-1/+1
| | | | | | | conversion where necessary. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/1406
* Cache slow special pages allpages, lonelypages, longpages, shortpages, ↵Brion Vibber2003-05-161-3/+38
| | | | | | | watnedpages Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/1319
* Initial revisionLee Daniel Crocker2003-04-141-0/+118
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/1284 http://mediawiki.org/wiki/Special:Code/MediaWiki/1286