Revert r73879 for now, not ready yet.
This commit is contained in:
parent
6ab191b801
commit
9d285a54b4
3 changed files with 8 additions and 8 deletions
|
|
@ -1992,10 +1992,10 @@ class OutputPage {
|
|||
if ( !empty( $reasons ) ) {
|
||||
// Permissions error
|
||||
if( $source ) {
|
||||
$title = $this->getTitle();
|
||||
$link = $skin->linkKnown( $title );
|
||||
$this->mPagetitle = wfMessage( 'viewsourceheader' )->rawParams( $link )->escaped();
|
||||
$this->mHTMLtitle = wfMessage( 'viewsourcetitle', $title->getPrefixedText() )->escaped();
|
||||
$this->setPageTitle( wfMsg( 'viewsource' ) );
|
||||
$this->setSubtitle(
|
||||
wfMsg( 'viewsourcefor', $skin->linkKnown( $this->getTitle() ) )
|
||||
);
|
||||
} else {
|
||||
$this->setPageTitle( wfMsg( 'badaccess' ) );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1002,8 +1002,8 @@ Data here will not presently be refreshed.',
|
|||
'wrong_wfQuery_params' => 'Incorrect parameters to wfQuery()<br />
|
||||
Function: $1<br />
|
||||
Query: $2',
|
||||
'viewsourcetitle' => 'Source for page $1',
|
||||
'viewsourceheader' => 'Source for page $1',
|
||||
'viewsource' => 'View source',
|
||||
'viewsourcefor' => 'for $1',
|
||||
'actionthrottled' => 'Action throttled',
|
||||
'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.
|
||||
Please try again in a few minutes.',
|
||||
|
|
|
|||
|
|
@ -369,8 +369,8 @@ $wgMessageStructure = array(
|
|||
'perfcachedts',
|
||||
'querypage-no-updates',
|
||||
'wrong_wfQuery_params',
|
||||
'viewsourcetitle',
|
||||
'viewsourceheader',
|
||||
'viewsource',
|
||||
'viewsourcefor',
|
||||
'actionthrottled',
|
||||
'actionthrottledtext',
|
||||
'protectedpagetext',
|
||||
|
|
|
|||
Loading…
Reference in a new issue