http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73915

Revision: 73915
Author:   nikerabbit
Date:     2010-09-28 15:58:53 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
Revert r73879 for now, not ready yet.

Modified Paths:
--------------
    trunk/phase3/includes/OutputPage.php
    trunk/phase3/languages/messages/MessagesEn.php
    trunk/phase3/maintenance/language/messages.inc

Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php        2010-09-28 15:56:01 UTC (rev 
73914)
+++ trunk/phase3/includes/OutputPage.php        2010-09-28 15:58:53 UTC (rev 
73915)
@@ -1992,10 +1992,10 @@
                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' ) );
                        }

Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php      2010-09-28 15:56:01 UTC 
(rev 73914)
+++ trunk/phase3/languages/messages/MessagesEn.php      2010-09-28 15:58:53 UTC 
(rev 73915)
@@ -1002,8 +1002,8 @@
 '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.',

Modified: trunk/phase3/maintenance/language/messages.inc
===================================================================
--- trunk/phase3/maintenance/language/messages.inc      2010-09-28 15:56:01 UTC 
(rev 73914)
+++ trunk/phase3/maintenance/language/messages.inc      2010-09-28 15:58:53 UTC 
(rev 73915)
@@ -369,8 +369,8 @@
                'perfcachedts',
                'querypage-no-updates',
                'wrong_wfQuery_params',
-               'viewsourcetitle',
-               'viewsourceheader',
+               'viewsource',
+               'viewsourcefor',
                'actionthrottled',
                'actionthrottledtext',
                'protectedpagetext',



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to