* (bug 15558) Allow includable special pages to be parameterized using wiki syntax
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 2 Aug 2011 15:40:03 +0000 (15:40 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 2 Aug 2011 15:40:03 +0000 (15:40 +0000)
commit700aec37750c93915b32df1b2c2022067c205e0a
tree24aff17faca0dddd5c40e5998ab810682d4dd23a
parent4aab309880b981c7334fb94944b8dfd0880a744d
* (bug 15558) Allow includable special pages to be parameterized using wiki syntax
* Changed SpecialPageFactory::capturePath() to take the same parameters as SpecialPageFactory::executePath() (except the last one) and made it always return a bool instead of bool-or-string. The result HTML can be fetched from the OutputPage object of the context.
* Added module styles, scritps and messages members to ParserOutput in addition to modules. The first one is needed to display Special:RecentChanges correctly when transcluded since EnhancedChangesList::beginRecentChangesList() calls addModuleStyles( 'mediawiki.special.changeslist' )

Yes, this means that you can use {{Special:Recentchanges|enhanced=0}} to use the old changes list. For the ones that wonder, {{Special:Recentchanges|uselang=something}} will not work since the Language object is forced to the one used by the parser.
RELEASE-NOTES-1.19
includes/OutputPage.php
includes/SpecialPageFactory.php
includes/parser/Parser.php
includes/parser/ParserOutput.php