r63732 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63731‎ | r63732 | r63733 >
Date:06:25, 14 March 2010
Author:maxsem
Status:ok
Tags:
Comment:
Follow-up to r63704: do the same in a l10nable way
Modified paths:
  • /branches/new-installer/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /branches/new-installer/phase3/skins/common/config.js (modified) (history)

Diff [purge]

Index: branches/new-installer/phase3/skins/common/config.js
@@ -91,6 +91,6 @@
9292 value = value.replace(/^_+/, '').replace(/_+$/, '');
9393 value = value.substr(0, 1).toUpperCase()
9494 + value.substr(1);
95 - label.innerHTML = wgSameNamespacePrefix + ' ' + value;
 95+ label.innerHTML = wgSameNamespacePrefix.replace('$1', value);
9696 }
9797
Index: branches/new-installer/phase3/languages/messages/MessagesEn.php
@@ -4340,7 +4340,7 @@
43414341 'config-site-name-blank' => 'Please enter a site name.',
43424342 'config-project-namespace' => 'Project namespace',
43434343 'config-ns-generic' => 'Project',
4344 -'config-ns-site-name' => 'Same as the wiki name:',
 4344+'config-ns-site-name' => 'Same as the wiki name: $1',
43454345 'config-ns-other' => 'Other (please specify)',
43464346 'config-project-namespace-help' => 'Following Wikipedia\'s example, many wikis keep their policy and help pages separate from their content pages, in a "<strong>project namespace</strong>".
43474347 All page titles in this namespace start with a certain prefix, which you can specify here.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63704Added a space after "Same as the wiki name:"maxsem20:18, 13 March 2010

Status & tagging log