r96325 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96324‎ | r96325 | r96326 >
Date:12:39, 6 September 2011
Author:demon
Status:reverted (Comments)
Tags:
Comment:
Cleanup to r95402, r95474: "Not using CamelCase is so 2001."
Modified paths:
  • /trunk/phase3/includes/SpecialPageFactory.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialGlobalFileUsage.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialGlobalTemplateUsage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHe.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPageFactory.php
@@ -126,8 +126,8 @@
127127 // Page tools
128128 'ComparePages' => 'SpecialComparePages',
129129 'Export' => 'SpecialExport',
130 - 'Globalfileusage' => 'SpecialGlobalFileUsage',
131 - 'Globaltemplateusage' => 'SpecialGlobalTemplateUsage',
 130+ 'GlobalFileUsage' => 'SpecialGlobalFileUsage',
 131+ 'GlobalTemplateUsage' => 'SpecialGlobalTemplateUsage',
132132 'Import' => 'SpecialImport',
133133 'Undelete' => 'SpecialUndelete',
134134 'Whatlinkshere' => 'SpecialWhatlinkshere',
Index: trunk/phase3/includes/specials/SpecialGlobalTemplateUsage.php
@@ -11,7 +11,7 @@
1212
1313 class SpecialGlobalTemplateUsage extends SpecialPage {
1414 public function __construct() {
15 - parent::__construct( 'Globaltemplateusage' );
 15+ parent::__construct( 'GlobalTemplateUsage' );
1616 }
1717
1818 /**
Index: trunk/phase3/includes/specials/SpecialGlobalFileUsage.php
@@ -6,7 +6,7 @@
77
88 class SpecialGlobalFileUsage extends SpecialPage {
99 public function __construct() {
10 - parent::__construct( 'Globalfileusage' );
 10+ parent::__construct( 'GlobalFileUsage' );
1111 }
1212
1313 /**
Index: trunk/phase3/languages/messages/MessagesHe.php
@@ -244,8 +244,8 @@
245245 'Fewestrevisions' => array( 'הגרסאות_המעטות_ביותר', 'הדפים_בעלי_מספר_העריכות_הנמוך_ביותר' ),
246246 'FileDuplicateSearch' => array( 'חיפוש_קבצים_כפולים' ),
247247 'Filepath' => array( 'נתיב_לקובץ' ),
248 - 'Globalfileusage' => array( 'שימוש_גלובלי_בקבצים' ),
249 - 'Globaltemplateusage' => array( 'שימוש_גלובלי_בתבניות' ),
 248+ 'GlobalFileUsage' => array( 'שימוש_גלובלי_בקבצים' ),
 249+ 'GlobalTemplateUsage' => array( 'שימוש_גלובלי_בתבניות' ),
250250 'Import' => array( 'ייבוא', 'ייבוא_דפים' ),
251251 'Invalidateemail' => array( 'ביטול_דואר' ),
252252 'BlockList' => array( 'רשימת_חסומים', 'רשימת_משתמשים_חסומים', 'משתמשים_חסומים' ),
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -459,8 +459,8 @@
460460 'Watchlist' => array( 'Watchlist' ),
461461 'Whatlinkshere' => array( 'WhatLinksHere' ),
462462 'Withoutinterwiki' => array( 'WithoutInterwiki' ),
463 - 'Globalfileusage' => array( 'GlobalFileUsage' ),
464 - 'Globaltemplateusage' => array( 'GlobalTemplateUsage' ),
 463+ 'GlobalFileUsage' => array( 'GlobalFileUsage' ),
 464+ 'GlobalTemplateUsage' => array( 'GlobalTemplateUsage' ),
465465 );
466466
467467 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95402Followup r95396...reedy15:31, 24 August 2011
r95474Actually do r95462 as intended...reedy10:47, 25 August 2011

Comments

#Comment by Bawolff (talk | contribs)   00:02, 10 September 2011

As an aside (not really related to this revision) I've always wondered why we don't use spaces in the (canonical) english special page names. Other languages seem to, and the page names are for human consumption anyways.

#Comment by 😂 (talk | contribs)   00:05, 10 September 2011

No clue :)

Status & tagging log