r31844 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31843‎ | r31844 | r31845 >
Date:05:30, 12 March 2008
Author:werdna
Status:old
Tags:
Comment:
(bug 11986) Revert special-page capitalisation to CamelCase (but the names are case-insensitive anyway), and add a few common-sense aliases (i.e. ResetPassword for Special:ResetPass)
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -352,81 +352,81 @@
353353 'DoubleRedirects' => array( 'DoubleRedirects' ),
354354 'BrokenRedirects' => array( 'BrokenRedirects' ),
355355 'Disambiguations' => array( 'Disambiguations' ),
356 - 'Userlogin' => array( 'Userlogin' ),
357 - 'Userlogout' => array( 'Userlogout' ),
 356+ 'Userlogin' => array( 'UserLogin' ),
 357+ 'Userlogout' => array( 'UserLogout' ),
358358 'CreateAccount' => array( 'CreateAccount' ),
359359 'Preferences' => array( 'Preferences' ),
360360 'Watchlist' => array( 'Watchlist' ),
361 - 'Recentchanges' => array( 'Recentchanges' ),
 361+ 'Recentchanges' => array( 'RecentChanges' ),
362362 'Upload' => array( 'Upload' ),
363 - 'Imagelist' => array( 'Imagelist' ),
364 - 'Newimages' => array( 'Newimages' ),
365 - 'Listusers' => array( 'Listusers', 'Userlist' ),
 363+ 'Imagelist' => array( 'ImageList' ),
 364+ 'Newimages' => array( 'NewImages' ),
 365+ 'Listusers' => array( 'ListUsers', 'UserList' ),
366366 'Statistics' => array( 'Statistics' ),
367 - 'Randompage' => array( 'Random', 'Randompage' ),
368 - 'Lonelypages' => array( 'Lonelypages', 'Orphanedpages' ),
369 - 'Uncategorizedpages' => array( 'Uncategorizedpages' ),
370 - 'Uncategorizedcategories' => array( 'Uncategorizedcategories' ),
371 - 'Uncategorizedimages' => array( 'Uncategorizedimages' ),
372 - 'Uncategorizedtemplates' => array( 'Uncategorizedtemplates' ),
373 - 'Unusedcategories' => array( 'Unusedcategories' ),
374 - 'Unusedimages' => array( 'Unusedimages' ),
375 - 'Wantedpages' => array( 'Wantedpages', 'Brokenlinks' ),
376 - 'Wantedcategories' => array( 'Wantedcategories' ),
377 - 'Mostlinked' => array( 'Mostlinked' ),
378 - 'Mostlinkedcategories' => array( 'Mostlinkedcategories' ),
379 - 'Mostlinkedtemplates' => array( 'Mostlinkedtemplates' ),
380 - 'Mostcategories' => array( 'Mostcategories' ),
381 - 'Mostimages' => array( 'Mostimages' ),
382 - 'Mostrevisions' => array( 'Mostrevisions' ),
383 - 'Fewestrevisions' => array( 'Fewestrevisions' ),
384 - 'Shortpages' => array( 'Shortpages' ),
385 - 'Longpages' => array( 'Longpages' ),
386 - 'Newpages' => array( 'Newpages' ),
387 - 'Ancientpages' => array( 'Ancientpages' ),
388 - 'Deadendpages' => array( 'Deadendpages' ),
389 - 'Protectedpages' => array( 'Protectedpages' ),
390 - 'Protectedtitles' => array( 'Protectedtitles' ),
391 - 'Allpages' => array( 'Allpages' ),
392 - 'Prefixindex' => array( 'Prefixindex' ) ,
393 - 'Ipblocklist' => array( 'Ipblocklist' ),
394 - 'Specialpages' => array( 'Specialpages' ),
 367+ 'Randompage' => array( 'Random', 'RandomPage' ),
 368+ 'Lonelypages' => array( 'LonelyPages', 'OrphanedPages' ),
 369+ 'Uncategorizedpages' => array( 'UncategorizedPages' ),
 370+ 'Uncategorizedcategories' => array( 'UncategorizedCategories' ),
 371+ 'Uncategorizedimages' => array( 'UncategorizedImages' ),
 372+ 'Uncategorizedtemplates' => array( 'UncategorizedTemplates' ),
 373+ 'Unusedcategories' => array( 'UnusedCategories' ),
 374+ 'Unusedimages' => array( 'UnusedImages' ),
 375+ 'Wantedpages' => array( 'WantedPages', 'BrokenLinks' ),
 376+ 'Wantedcategories' => array( 'WantedCategories' ),
 377+ 'Mostlinked' => array( 'MostLinked' ),
 378+ 'Mostlinkedcategories' => array( 'MostLinkedCategories', 'MostUsedCategories' ),
 379+ 'Mostlinkedtemplates' => array( 'MostLinkedTemplates', 'MostUsedTemplates' ),
 380+ 'Mostcategories' => array( 'MostCategories' ),
 381+ 'Mostimages' => array( 'MostImages' ),
 382+ 'Mostrevisions' => array( 'MostRevisions' ),
 383+ 'Fewestrevisions' => array( 'FewestRevisions' ),
 384+ 'Shortpages' => array( 'ShortPages' ),
 385+ 'Longpages' => array( 'LongPages' ),
 386+ 'Newpages' => array( 'NewPages' ),
 387+ 'Ancientpages' => array( 'AncientPages' ),
 388+ 'Deadendpages' => array( 'DeadendPages' ),
 389+ 'Protectedpages' => array( 'ProtectedPages' ),
 390+ 'Protectedtitles' => array( 'ProtectedTitles' ),
 391+ 'Allpages' => array( 'AllPages' ),
 392+ 'Prefixindex' => array( 'PrefixIndex' ) ,
 393+ 'Ipblocklist' => array( 'IPBlockList' ),
 394+ 'Specialpages' => array( 'SpecialPages' ),
395395 'Contributions' => array( 'Contributions' ),
396 - 'Emailuser' => array( 'Emailuser' ),
397 - 'Confirmemail' => array( 'Confirmemail' ),
398 - 'Whatlinkshere' => array( 'Whatlinkshere' ),
399 - 'Recentchangeslinked' => array( 'Recentchangeslinked', 'RelatedChanges' ),
400 - 'Movepage' => array( 'Movepage' ),
401 - 'Blockme' => array( 'Blockme' ),
402 - 'Booksources' => array( 'Booksources' ),
 396+ 'Emailuser' => array( 'EmailUser' ),
 397+ 'Confirmemail' => array( 'ConfirmEmail' ),
 398+ 'Whatlinkshere' => array( 'WhatLinksHere' ),
 399+ 'Recentchangeslinked' => array( 'RecentChangesLinked', 'RelatedChanges' ),
 400+ 'Movepage' => array( 'MovePage' ),
 401+ 'Blockme' => array( 'BlockMe' ),
 402+ 'Booksources' => array( 'BookSources' ),
403403 'Categories' => array( 'Categories' ),
404404 'Export' => array( 'Export' ),
405405 'Version' => array( 'Version' ),
406 - 'Allmessages' => array( 'Allmessages' ),
 406+ 'Allmessages' => array( 'AllMessages' ),
407407 'Log' => array( 'Log', 'Logs' ),
408 - 'Blockip' => array( 'Blockip' ),
 408+ 'Blockip' => array( 'BlockIP' ),
409409 'Undelete' => array( 'Undelete' ),
410410 'Import' => array( 'Import' ),
411 - 'Lockdb' => array( 'Lockdb' ),
412 - 'Unlockdb' => array( 'Unlockdb' ),
413 - 'Userrights' => array( 'Userrights' ),
414 - 'MIMEsearch' => array( 'MIMEsearch' ),
415 - 'Unwatchedpages' => array( 'Unwatchedpages' ),
416 - 'Listredirects' => array( 'Listredirects' ),
417 - 'Revisiondelete' => array( 'Revisiondelete' ),
418 - 'Unusedtemplates' => array( 'Unusedtemplates' ),
419 - 'Randomredirect' => array( 'Randomredirect' ),
420 - 'Mypage' => array( 'Mypage' ),
421 - 'Mytalk' => array( 'Mytalk' ),
422 - 'Mycontributions' => array( 'Mycontributions' ),
423 - 'Listadmins' => array( 'Listadmins' ),
424 - 'Listbots' => array( 'Listbots' ),
425 - 'Popularpages' => array( 'Popularpages' ),
 411+ 'Lockdb' => array( 'LockDB' ),
 412+ 'Unlockdb' => array( 'UnlockDB' ),
 413+ 'Userrights' => array( 'UserRights' ),
 414+ 'MIMEsearch' => array( 'MIMESearch' ),
 415+ 'Unwatchedpages' => array( 'UnwatchedPages' ),
 416+ 'Listredirects' => array( 'ListRedirects' ),
 417+ 'Revisiondelete' => array( 'RevisionDelete' ),
 418+ 'Unusedtemplates' => array( 'UnusedTemplates' ),
 419+ 'Randomredirect' => array( 'RandomRedirect' ),
 420+ 'Mypage' => array( 'MyPage' ),
 421+ 'Mytalk' => array( 'MyTalk' ),
 422+ 'Mycontributions' => array( 'MyContributions' ),
 423+ 'Listadmins' => array( 'ListAdmins' ),
 424+ 'Listbots' => array( 'ListBots' ),
 425+ 'Popularpages' => array( 'PopularPages' ),
426426 'Search' => array( 'Search' ),
427 - 'Resetpass' => array( 'Resetpass' ),
428 - 'Withoutinterwiki' => array( 'Withoutinterwiki' ),
 427+ 'Resetpass' => array( 'ResetPass', 'ResetPassword' ),
 428+ 'Withoutinterwiki' => array( 'WithoutInterwiki' ),
429429 'MergeHistory' => array( 'MergeHistory' ),
430 - 'Filepath' => array( 'Filepath' ),
 430+ 'Filepath' => array( 'FilePath' ),
431431 );
432432
433433 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r31888Fix for r31844 -- pretty CamelCase special page names affect some test case r...brion22:01, 12 March 2008
r38914Use CamelCase in messages per r31844mfarag16:28, 8 August 2008

Status & tagging log