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

Revision: 95784
Author:   yaron
Date:     2011-08-30 15:41:15 +0000 (Tue, 30 Aug 2011)
Log Message:
-----------
Partial revert of r95736 - restored names of 'ps-generatepages' and 
'ps-editschema' back to 'generatepages' and 'editschema', so they'll show up 
correctly as titles of special pages

Modified Paths:
--------------
    trunk/extensions/PageSchemas/PS_Tabs.php
    trunk/extensions/PageSchemas/PageSchemas.i18n.php

Modified: trunk/extensions/PageSchemas/PS_Tabs.php
===================================================================
--- trunk/extensions/PageSchemas/PS_Tabs.php    2011-08-30 14:48:15 UTC (rev 
95783)
+++ trunk/extensions/PageSchemas/PS_Tabs.php    2011-08-30 15:41:15 UTC (rev 
95784)
@@ -19,7 +19,7 @@
                global $wgRequest;
 
                $content_actions['editschema'] = array(
-                       'text' => wfMsg( 'ps-editschema' ),
+                       'text' => wfMsg( 'editschema' ),
                        'class' => $wgRequest->getVal( 'action' ) == 
'editschema' ? 'selected' : '',
                        'href' => $title->getLocalURL( 'action=editschema' )
                );
@@ -28,7 +28,7 @@
                $pageSchemaObj = new PSSchema( $category );
                if ( $pageSchemaObj->isPSDefined() ) {
                        $content_actions['generatepages'] = array(
-                               'text' => wfMsg( 'ps-generatepages' ),
+                               'text' => wfMsg( 'generatepages' ),
                                'class' => $wgRequest->getVal( 'action' ) == 
'generatepages' ? 'selected' : '',
                                'href' => $title->getLocalURL( 
'action=generatepages' )
                        );

Modified: trunk/extensions/PageSchemas/PageSchemas.i18n.php
===================================================================
--- trunk/extensions/PageSchemas/PageSchemas.i18n.php   2011-08-30 14:48:15 UTC 
(rev 95783)
+++ trunk/extensions/PageSchemas/PageSchemas.i18n.php   2011-08-30 15:41:15 UTC 
(rev 95784)
@@ -22,7 +22,7 @@
 
        'ps-property-isproperty'        => 'This is a property of type $1.',
        'ps-property-allowedvals'       => 'The allowed {{PLURAL:$1|value for 
this property is|values for this property are}}:',
-       'ps-generatepages'              => 'Generate pages',   
+       'generatepages'                 => 'Generate pages',   
        'ps-generatepages-desc'         => 'Generate the following pages, based 
on this category\'s schema:',
        'ps-page-desc-cat-not-exist'    => 'This category does not exist yet. 
Create this category and its page schema: ',
        'ps-page-desc-ps-not-exist'     => 'This category exists, but does not 
have a page schema. Create schema:',
@@ -39,7 +39,7 @@
        'ps-remove-field'               => 'Remove field',
        'ps-add-xml-label'              => 'Additional XML:',
        'ps-schema-name-label'          => 'Name of schema:',
-       'ps-editschema'                 => 'Edit schema',
+       'editschema'                 => 'Edit schema',
 );
 
 /** Message documentation (Message documentation)


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

Reply via email to