r95784 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95783‎ | r95784 | r95785 >
Date:15:41, 30 August 2011
Author:yaron
Status:deferred
Tags:
Comment:
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 (modified) (history)
  • /trunk/extensions/PageSchemas/PageSchemas.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/PS_Tabs.php
@@ -19,7 +19,7 @@
2020 global $wgRequest;
2121
2222 $content_actions['editschema'] = array(
23 - 'text' => wfMsg( 'ps-editschema' ),
 23+ 'text' => wfMsg( 'editschema' ),
2424 'class' => $wgRequest->getVal( 'action' ) == 'editschema' ? 'selected' : '',
2525 'href' => $title->getLocalURL( 'action=editschema' )
2626 );
@@ -28,7 +28,7 @@
2929 $pageSchemaObj = new PSSchema( $category );
3030 if ( $pageSchemaObj->isPSDefined() ) {
3131 $content_actions['generatepages'] = array(
32 - 'text' => wfMsg( 'ps-generatepages' ),
 32+ 'text' => wfMsg( 'generatepages' ),
3333 'class' => $wgRequest->getVal( 'action' ) == 'generatepages' ? 'selected' : '',
3434 'href' => $title->getLocalURL( 'action=generatepages' )
3535 );
Index: trunk/extensions/PageSchemas/PageSchemas.i18n.php
@@ -22,7 +22,7 @@
2323
2424 'ps-property-isproperty' => 'This is a property of type $1.',
2525 'ps-property-allowedvals' => 'The allowed {{PLURAL:$1|value for this property is|values for this property are}}:',
26 - 'ps-generatepages' => 'Generate pages',
 26+ 'generatepages' => 'Generate pages',
2727 'ps-generatepages-desc' => 'Generate the following pages, based on this category\'s schema:',
2828 'ps-page-desc-cat-not-exist' => 'This category does not exist yet. Create this category and its page schema: ',
2929 'ps-page-desc-ps-not-exist' => 'This category exists, but does not have a page schema. Create schema:',
@@ -39,7 +39,7 @@
4040 'ps-remove-field' => 'Remove field',
4141 'ps-add-xml-label' => 'Additional XML:',
4242 'ps-schema-name-label' => 'Name of schema:',
43 - 'ps-editschema' => 'Edit schema',
 43+ 'editschema' => 'Edit schema',
4444 );
4545
4646 /** Message documentation (Message documentation)

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95736Prefix messages consistently with 'ps-'...raymond07:23, 30 August 2011

Status & tagging log