Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -526,6 +526,7 @@ |
527 | 527 | 'currentrev', |
528 | 528 | 'revisionasof', |
529 | 529 | 'revision-info', |
| 530 | + 'revision-info-current', |
530 | 531 | 'revision-nav', |
531 | 532 | 'previousrevision', |
532 | 533 | 'nextrevision', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -86,6 +86,7 @@ |
87 | 87 | 'pubmedurl', |
88 | 88 | 'randompage-url', |
89 | 89 | 'recentchanges-url', |
| 90 | + 'revision-info-current', |
90 | 91 | 'revision-nav', |
91 | 92 | 'rfcurl', |
92 | 93 | 'shareddescriptionfollows', |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -2424,7 +2424,12 @@ |
2425 | 2425 | $userlinks = $sk->userLink( $revision->getUser(), $revision->getUserText() ) |
2426 | 2426 | . $sk->userToolLinks( $revision->getUser(), $revision->getUserText() ); |
2427 | 2427 | |
2428 | | - $r = "\n\t\t\t\t<div id=\"mw-revision-info\">" . wfMsg( 'revision-info', $td, $userlinks ) . "</div>\n" . |
| 2428 | + $m = wfMsg( 'revision-info-current' ); |
| 2429 | + $infomsg = $current && !wfEmptyMsg( 'revision-info-current', $m ) && $m != '-' |
| 2430 | + ? 'revision-info-current' |
| 2431 | + : 'revision-info'; |
| 2432 | + |
| 2433 | + $r = "\n\t\t\t\t<div id=\"mw-{$infomsg}\">" . wfMsg( $infomsg, $td, $userlinks ) . "</div>\n" . |
2429 | 2434 | "\n\t\t\t\t<div id=\"mw-revision-nav\">" . wfMsg( 'revision-nav', $prevdiff, $prevlink, $lnk, $curdiff, $nextlink, $nextdiff ) . "</div>\n\t\t\t"; |
2430 | 2435 | $wgOut->setSubtitle( $r ); |
2431 | 2436 | } |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1072,6 +1072,7 @@ |
1073 | 1073 | 'currentrev' => 'Current revision', |
1074 | 1074 | 'revisionasof' => 'Revision as of $1', |
1075 | 1075 | 'revision-info' => 'Revision as of $1 by $2', |
| 1076 | +'revision-info-current' => 'Revision as of $1 by $2 (current!)', |
1076 | 1077 | 'revision-nav' => '($1) $2 | $3 ($4) | $5 ($6)', # don't translate or duplicate this message to other languages |
1077 | 1078 | 'previousrevision' => '←Older revision', |
1078 | 1079 | 'nextrevision' => 'Newer revision→', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -89,6 +89,8 @@ |
90 | 90 | * Kurdish interface latin/arabic writing system with transliteration |
91 | 91 | * Support wiki text in all query page headers |
92 | 92 | * Add 'Orphanedpages' as an alias to Special:Lonelypages |
| 93 | +* (bug 9328) Use "revision-info-current" message in place of "revision-info" |
| 94 | + when viewing the current revision of a page, if available |
93 | 95 | |
94 | 96 | == Bugfixes since 1.10 == |
95 | 97 | |