Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -369,8 +369,8 @@ |
370 | 370 | 'perfcachedts', |
371 | 371 | 'querypage-no-updates', |
372 | 372 | 'wrong_wfQuery_params', |
373 | | - 'viewsourcetitle', |
374 | | - 'viewsourceheader', |
| 373 | + 'viewsource', |
| 374 | + 'viewsourcefor', |
375 | 375 | 'actionthrottled', |
376 | 376 | 'actionthrottledtext', |
377 | 377 | 'protectedpagetext', |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1992,10 +1992,10 @@ |
1993 | 1993 | if ( !empty( $reasons ) ) { |
1994 | 1994 | // Permissions error |
1995 | 1995 | if( $source ) { |
1996 | | - $title = $this->getTitle(); |
1997 | | - $link = $skin->linkKnown( $title ); |
1998 | | - $this->mPagetitle = wfMessage( 'viewsourceheader' )->rawParams( $link )->escaped(); |
1999 | | - $this->mHTMLtitle = wfMessage( 'viewsourcetitle', $title->getPrefixedText() )->escaped(); |
| 1996 | + $this->setPageTitle( wfMsg( 'viewsource' ) ); |
| 1997 | + $this->setSubtitle( |
| 1998 | + wfMsg( 'viewsourcefor', $skin->linkKnown( $this->getTitle() ) ) |
| 1999 | + ); |
2000 | 2000 | } else { |
2001 | 2001 | $this->setPageTitle( wfMsg( 'badaccess' ) ); |
2002 | 2002 | } |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1002,8 +1002,8 @@ |
1003 | 1003 | 'wrong_wfQuery_params' => 'Incorrect parameters to wfQuery()<br /> |
1004 | 1004 | Function: $1<br /> |
1005 | 1005 | Query: $2', |
1006 | | -'viewsourcetitle' => 'Source for page $1', |
1007 | | -'viewsourceheader' => 'Source for page $1', |
| 1006 | +'viewsource' => 'View source', |
| 1007 | +'viewsourcefor' => 'for $1', |
1008 | 1008 | 'actionthrottled' => 'Action throttled', |
1009 | 1009 | 'actionthrottledtext' => 'As an anti-spam measure, you are limited from performing this action too many times in a short space of time, and you have exceeded this limit. |
1010 | 1010 | Please try again in a few minutes.', |