* Changed OutputPage's handling of subtitles to use an array and implode it with...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 8 Nov 2011 18:01:22 +0000 (18:01 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 8 Nov 2011 18:01:22 +0000 (18:01 +0000)
commitf8e2b347a5fa39411b29602f0fad1cb4efe947f4
tree040552d7c948a4c4a9f74c544a5ebe345de19b91
parent1b86415496bdca66d86c2a0d842570e42e3878a9
* Changed OutputPage's handling of subtitles to use an array and implode it with "<br />" so that callers don't have to bother whether there's already a subtitle when adding new ones
* Make OutputPage::setSubtitle(), OutputPage::addSubtitle() and OutputPage::appendSubtitle() accept a Message object in addition to a string
* Added new method OutputPage::addSubtitle() to replace appendSubtitle() and marked it as deprecated
* Clear the subtitles when showing an error page
* Always show the subtitle from Article::viewRedirect() when showing a page; left the parameter for use in EditPage
* Make Article::setOldSubtitle() add two subtitles and has to set "display:inline;" for the three possible divs to avoid too many spacing
* Removed the six different backlink subtitles and added one new message 'backlinksubtitle' to replace them and added OutputPage::addBacklinkSubtitle() to factorise common code
* Changed EditPage's view source to show "View source for <Page>" with the same backlink in subtitle for consistency with other back links and page titles
21 files changed:
includes/Article.php
includes/EditPage.php
includes/FileDeleteForm.php
includes/ProtectionForm.php
includes/actions/RevertAction.php
includes/diff/DifferenceEngine.php
includes/specials/SpecialContributions.php
includes/specials/SpecialDeletedContributions.php
includes/specials/SpecialEditWatchlist.php
includes/specials/SpecialLockdb.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialRecentchangeslinked.php
includes/specials/SpecialRevisiondelete.php
includes/specials/SpecialUnlockdb.php
includes/specials/SpecialWatchlist.php
includes/specials/SpecialWhatlinkshere.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc
skins/common/shared.css