Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -211,6 211,7 @@ |
212 | 212 | 'otherlanguages', |
213 | 213 | 'redirectedfrom', |
214 | 214 | 'redirectpagesub', |
| 215 | 'talkpageheader', |
215 | 216 | 'lastmodifiedat', |
216 | 217 | 'viewcount', |
217 | 218 | 'protectedpage', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -69,6 69,7 @@ |
70 | 70 | 'accesskey-watch', |
71 | 71 | 'accesskey-upload', |
72 | 72 | 'addsection', |
| 73 | 'talkpageheader', |
73 | 74 | 'anonnotice', |
74 | 75 | 'autoblock_whitelist', |
75 | 76 | 'searchmenu-help', |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -865,6 865,13 @@ |
866 | 866 | } |
867 | 867 | } |
868 | 868 | |
| 869 | # Allow a specific header on talk pages, like [[MediaWiki:Talkpagetext]] |
| 870 | if( $this->mTitle->isTalkPage() ) { |
| 871 | if ( wfMsgForContent( 'talkpageheader' ) != '-' ) { |
| 872 | $wgOut->addWikiMsgArray( 'talkpageheader', array(), array( 'content' ) ); |
| 873 | } |
| 874 | } |
| 875 | |
869 | 876 | $outputDone = false; |
870 | 877 | wfRunHooks( 'ArticleViewHeader', array( &$this, &$outputDone, &$pcache ) ); |
871 | 878 | if( $pcache && $wgOut->tryParserCache( $this ) ) { |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -692,6 692,7 @@ |
693 | 693 | 'otherlanguages' => 'In other languages', |
694 | 694 | 'redirectedfrom' => '(Redirected from $1)', |
695 | 695 | 'redirectpagesub' => 'Redirect page', |
| 696 | 'talkpageheader' => '-', |
696 | 697 | 'lastmodifiedat' => 'This page was last modified on $1, at $2.', # $1 date, $2 time |
697 | 698 | 'viewcount' => 'This page has been accessed {{PLURAL:$1|once|$1 times}}.', |
698 | 699 | 'protectedpage' => 'Protected page', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -151,6 151,8 @@ |
152 | 152 | * Add a class if 'missingsummary' is triggered to allow styling of the summary |
153 | 153 | line |
154 | 154 | * Add CSS defintion of the 'wikitable' class to shared.css |
| 155 | * (bug 17163) Added MediaWiki:Talkpage which will be displayed when viewing talk |
| 156 | pages |
155 | 157 | |
156 | 158 | === Bug fixes in 1.15 === |
157 | 159 | * (bug 16968) Special:Upload no longer throws useless warnings. |