* Changed Special:RecentChanges and Special:RecentChangesLinked to use the local...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 17 Jul 2011 09:25:50 +0000 (09:25 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 17 Jul 2011 09:25:50 +0000 (09:25 +0000)
commit7d9c7fde30f253c54473adc9b12a662bf4ac479e
tree1a773f093e8dbecbdbe5bb1bb139aafb8a958a7e
parentcb9edb16dfe994ed416c0d57d8d10801167396f3
* Changed Special:RecentChanges and Special:RecentChangesLinked to use the local context instead of global variables
* Added context to ChangesList
* Added new factory for ChangesList and subclasses in ChangesList::newFromContext() and modified ChangesList::newFromUser() to call it with the main context since anyway User::getSkin() return the Skin from the main context, so this won't change anything but the User::getOption() call
* Updates Special:RecentChanges and Special:Watchlist to use that new function
* Call Linker methods statically
* Use Linker::linkKnown() instead of Linker::link() where possible
* In Special:Watchlist: Use wfMessage() instead of OutputPage::addWikiMsgArray() with the third parameter
includes/ChangesList.php
includes/specials/SpecialRecentchanges.php
includes/specials/SpecialRecentchangeslinked.php
includes/specials/SpecialWatchlist.php