Per Nikerabbit's comment on r100621:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 27 Oct 2011 20:23:16 +0000 (20:23 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 27 Oct 2011 20:23:16 +0000 (20:23 +0000)
commitb212bace90bf0c6e34308b8805c127350467c981
tree173c67b4ee2e03af9794dce0d1835f1034098ab3
parent276e8149a53c934216c40880f71b739cc4816f05
Per Nikerabbit's comment on r100621:
* Removed OutputPage::setPageTitleMsg() and OutputPage::setHTMLTitleMsg() and make OutputPage::setPageTitle() and OutputPage::setHTMLTitle() accept a Message object
* Updated core calls (including some that I missed last time because of non-matching case)
* Added Message::setContext() and use it in RequestContext so that I don't need to duplicate the call in OutputPage
* Yes, I'm calling $this->msg() on places and then setting the context one more time in OutputPage::setPageTitle() or OutputPage::setHTMLTitle(), but at least I won't be confused about which objects $
29 files changed:
includes/Article.php
includes/EditPage.php
includes/FileDeleteForm.php
includes/ImagePage.php
includes/Message.php
includes/OutputPage.php
includes/ProtectionForm.php
includes/actions/MarkpatrolledAction.php
includes/actions/RollbackAction.php
includes/context/RequestContext.php
includes/diff/DifferenceEngine.php
includes/specials/SpecialAllpages.php
includes/specials/SpecialBlock.php
includes/specials/SpecialBlockList.php
includes/specials/SpecialContributions.php
includes/specials/SpecialDeletedContributions.php
includes/specials/SpecialEditWatchlist.php
includes/specials/SpecialEmailuser.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialPrefixindex.php
includes/specials/SpecialRecentchangeslinked.php
includes/specials/SpecialRevisiondelete.php
includes/specials/SpecialSearch.php
includes/specials/SpecialTags.php
includes/specials/SpecialUnblock.php
includes/specials/SpecialUndelete.php
includes/specials/SpecialUserlogin.php
includes/specials/SpecialWatchlist.php
includes/specials/SpecialWhatlinkshere.php