r83828 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83827‎ | r83828 | r83829 >
Date:15:22, 13 March 2011
Author:happy-melon
Status:ok
Tags:
Comment:
Sort special pages in MessagesEn::$specialPageAliases
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -378,102 +378,102 @@
379379 * hook.
380380 */
381381 $specialPageAliases = array(
382 - 'DoubleRedirects' => array( 'DoubleRedirects' ),
 382+ 'Activeusers' => array( 'ActiveUsers' ),
 383+ 'Allmessages' => array( 'AllMessages' ),
 384+ 'Allpages' => array( 'AllPages' ),
 385+ 'Ancientpages' => array( 'AncientPages' ),
 386+ 'Badtitle' => array( 'Badtitle' ),
 387+ 'Blankpage' => array( 'BlankPage' ),
 388+ 'Block' => array( 'Block', 'BlockIP', 'BlockUser' ),
 389+ 'Blockme' => array( 'BlockMe' ),
 390+ 'Booksources' => array( 'BookSources' ),
383391 'BrokenRedirects' => array( 'BrokenRedirects' ),
 392+ 'Categories' => array( 'Categories' ),
 393+ 'ComparePages' => array( 'ComparePages' ),
 394+ 'Confirmemail' => array( 'ConfirmEmail' ),
 395+ 'Contributions' => array( 'Contributions', 'Contribs' ),
 396+ 'CreateAccount' => array( 'CreateAccount' ),
 397+ 'Deadendpages' => array( 'DeadendPages' ),
 398+ 'DeletedContributions' => array( 'DeletedContributions' ),
 399+ 'DisableAccount' => array( 'DisableAccount' ),
384400 'Disambiguations' => array( 'Disambiguations' ),
385 - 'Userlogin' => array( 'UserLogin' ),
386 - 'Userlogout' => array( 'UserLogout' ),
387 - 'CreateAccount' => array( 'CreateAccount' ),
388 - 'Preferences' => array( 'Preferences' ),
389 - 'Watchlist' => array( 'Watchlist' ),
390 - 'Recentchanges' => array( 'RecentChanges' ),
391 - 'Upload' => array( 'Upload' ),
392 - 'UploadStash' => array( 'UploadStash' ),
 401+ 'DoubleRedirects' => array( 'DoubleRedirects' ),
 402+ 'Emailuser' => array( 'EmailUser' ),
 403+ 'Export' => array( 'Export' ),
 404+ 'Fewestrevisions' => array( 'FewestRevisions' ),
 405+ 'FileDuplicateSearch' => array( 'FileDuplicateSearch' ),
 406+ 'Filepath' => array( 'FilePath' ),
 407+ 'Import' => array( 'Import' ),
 408+ 'Invalidateemail' => array( 'InvalidateEmail' ),
 409+ 'Ipblocklist' => array( 'BlockList', 'ListBlocks', 'IPBlockList' ),
 410+ 'LinkSearch' => array( 'LinkSearch' ),
 411+ 'Listadmins' => array( 'ListAdmins' ),
 412+ 'Listbots' => array( 'ListBots' ),
393413 'Listfiles' => array( 'ListFiles', 'FileList', 'ImageList' ),
394 - 'Newimages' => array( 'NewFiles', 'NewImages' ),
 414+ 'Listgrouprights' => array( 'ListGroupRights', 'UserGroupRights' ),
 415+ 'Listredirects' => array( 'ListRedirects' ),
395416 'Listusers' => array( 'ListUsers', 'UserList' ),
396 - 'Listgrouprights' => array( 'ListGroupRights', 'UserGroupRights' ),
397 - 'Statistics' => array( 'Statistics' ),
398 - 'Randompage' => array( 'Random', 'RandomPage' ),
 417+ 'Lockdb' => array( 'LockDB' ),
 418+ 'Log' => array( 'Log', 'Logs' ),
399419 'Lonelypages' => array( 'LonelyPages', 'OrphanedPages' ),
400 - 'Uncategorizedpages' => array( 'UncategorizedPages' ),
401 - 'Uncategorizedcategories' => array( 'UncategorizedCategories' ),
402 - 'Uncategorizedimages' => array( 'UncategorizedFiles', 'UncategorizedImages' ),
403 - 'Uncategorizedtemplates' => array( 'UncategorizedTemplates' ),
404 - 'Unusedcategories' => array( 'UnusedCategories' ),
405 - 'Unusedimages' => array( 'UnusedFiles', 'UnusedImages' ),
406 - 'Wantedpages' => array( 'WantedPages', 'BrokenLinks' ),
407 - 'Wantedcategories' => array( 'WantedCategories' ),
408 - 'Wantedfiles' => array( 'WantedFiles' ),
409 - 'Wantedtemplates' => array( 'WantedTemplates' ),
 420+ 'Longpages' => array( 'LongPages' ),
 421+ 'MergeHistory' => array( 'MergeHistory' ),
 422+ 'MIMEsearch' => array( 'MIMESearch' ),
 423+ 'Mostcategories' => array( 'MostCategories' ),
 424+ 'Mostimages' => array( 'MostLinkedFiles', 'MostFiles', 'MostImages' ),
410425 'Mostlinked' => array( 'MostLinkedPages', 'MostLinked' ),
411426 'Mostlinkedcategories' => array( 'MostLinkedCategories', 'MostUsedCategories' ),
412427 'Mostlinkedtemplates' => array( 'MostLinkedTemplates', 'MostUsedTemplates' ),
413 - 'Mostimages' => array( 'MostLinkedFiles', 'MostFiles', 'MostImages' ),
414 - 'Mostcategories' => array( 'MostCategories' ),
415428 'Mostrevisions' => array( 'MostRevisions' ),
416 - 'Fewestrevisions' => array( 'FewestRevisions' ),
417 - 'Shortpages' => array( 'ShortPages' ),
418 - 'Longpages' => array( 'LongPages' ),
 429+ 'Movepage' => array( 'MovePage' ),
 430+ 'Mycontributions' => array( 'MyContributions' ),
 431+ 'Mypage' => array( 'MyPage' ),
 432+ 'Mytalk' => array( 'MyTalk' ),
 433+ 'Myuploads' => array( 'MyUploads' ),
 434+ 'Newimages' => array( 'NewFiles', 'NewImages' ),
419435 'Newpages' => array( 'NewPages' ),
420 - 'Ancientpages' => array( 'AncientPages' ),
421 - 'Deadendpages' => array( 'DeadendPages' ),
 436+ 'PermanentLink' => array( 'PermanentLink', 'PermaLink' ),
 437+ 'Popularpages' => array( 'PopularPages' ),
 438+ 'Preferences' => array( 'Preferences' ),
 439+ 'Prefixindex' => array( 'PrefixIndex' ) ,
422440 'Protectedpages' => array( 'ProtectedPages' ),
423441 'Protectedtitles' => array( 'ProtectedTitles' ),
424 - 'Allpages' => array( 'AllPages' ),
425 - 'Prefixindex' => array( 'PrefixIndex' ) ,
426 - 'Ipblocklist' => array( 'BlockList', 'ListBlocks', 'IPBlockList' ),
 442+ 'Randompage' => array( 'Random', 'RandomPage' ),
 443+ 'Randomredirect' => array( 'RandomRedirect' ),
 444+ 'Recentchanges' => array( 'RecentChanges' ),
 445+ 'Recentchangeslinked' => array( 'RecentChangesLinked', 'RelatedChanges' ),
 446+ 'Resetpass' => array( 'ChangePassword', 'ResetPass', 'ResetPassword' ),
 447+ 'Revisiondelete' => array( 'RevisionDelete' ),
 448+ 'RevisionMove' => array( 'RevisionMove' ),
 449+ 'Search' => array( 'Search' ),
 450+ 'Shortpages' => array( 'ShortPages' ),
 451+ 'Specialpages' => array( 'SpecialPages' ),
 452+ 'Statistics' => array( 'Statistics' ),
 453+ 'Tags' => array( 'Tags' ),
427454 'Unblock' => array( 'Unblock' ),
428 - 'Specialpages' => array( 'SpecialPages' ),
429 - 'Contributions' => array( 'Contributions', 'Contribs' ),
430 - 'Emailuser' => array( 'EmailUser' ),
431 - 'Confirmemail' => array( 'ConfirmEmail' ),
432 - 'Whatlinkshere' => array( 'WhatLinksHere' ),
433 - 'Recentchangeslinked' => array( 'RecentChangesLinked', 'RelatedChanges' ),
434 - 'Movepage' => array( 'MovePage' ),
435 - 'Blockme' => array( 'BlockMe' ),
436 - 'Booksources' => array( 'BookSources' ),
437 - 'Categories' => array( 'Categories' ),
438 - 'Export' => array( 'Export' ),
439 - 'Version' => array( 'Version' ),
440 - 'Allmessages' => array( 'AllMessages' ),
441 - 'Log' => array( 'Log', 'Logs' ),
442 - 'Block' => array( 'Block', 'BlockIP', 'BlockUser' ),
 455+ 'Uncategorizedcategories' => array( 'UncategorizedCategories' ),
 456+ 'Uncategorizedimages' => array( 'UncategorizedFiles', 'UncategorizedImages' ),
 457+ 'Uncategorizedpages' => array( 'UncategorizedPages' ),
 458+ 'Uncategorizedtemplates' => array( 'UncategorizedTemplates' ),
443459 'Undelete' => array( 'Undelete' ),
444 - 'Import' => array( 'Import' ),
445 - 'Lockdb' => array( 'LockDB' ),
446460 'Unlockdb' => array( 'UnlockDB' ),
 461+ 'Unusedcategories' => array( 'UnusedCategories' ),
 462+ 'Unusedimages' => array( 'UnusedFiles', 'UnusedImages' ),
 463+ 'Unusedtemplates' => array( 'UnusedTemplates' ),
 464+ 'Unwatchedpages' => array( 'UnwatchedPages' ),
 465+ 'Upload' => array( 'Upload' ),
 466+ 'UploadStash' => array( 'UploadStash' ),
 467+ 'Userlogin' => array( 'UserLogin' ),
 468+ 'Userlogout' => array( 'UserLogout' ),
447469 'Userrights' => array( 'UserRights', 'MakeSysop', 'MakeBot' ),
448 - 'MIMEsearch' => array( 'MIMESearch' ),
449 - 'FileDuplicateSearch' => array( 'FileDuplicateSearch' ),
450 - 'Unwatchedpages' => array( 'UnwatchedPages' ),
451 - 'Listredirects' => array( 'ListRedirects' ),
452 - 'Revisiondelete' => array( 'RevisionDelete' ),
453 - 'Unusedtemplates' => array( 'UnusedTemplates' ),
454 - 'Randomredirect' => array( 'RandomRedirect' ),
455 - 'Mypage' => array( 'MyPage' ),
456 - 'Mytalk' => array( 'MyTalk' ),
457 - 'Mycontributions' => array( 'MyContributions' ),
458 - 'Myuploads' => array( 'MyUploads' ),
459 - 'PermanentLink' => array( 'PermanentLink', 'PermaLink' ),
460 - 'Listadmins' => array( 'ListAdmins' ),
461 - 'Listbots' => array( 'ListBots' ),
462 - 'Popularpages' => array( 'PopularPages' ),
463 - 'Search' => array( 'Search' ),
464 - 'Resetpass' => array( 'ChangePassword', 'ResetPass', 'ResetPassword' ),
 470+ 'Version' => array( 'Version' ),
 471+ 'Wantedcategories' => array( 'WantedCategories' ),
 472+ 'Wantedfiles' => array( 'WantedFiles' ),
 473+ 'Wantedpages' => array( 'WantedPages', 'BrokenLinks' ),
 474+ 'Wantedtemplates' => array( 'WantedTemplates' ),
 475+ 'Watchlist' => array( 'Watchlist' ),
 476+ 'Whatlinkshere' => array( 'WhatLinksHere' ),
465477 'Withoutinterwiki' => array( 'WithoutInterwiki' ),
466 - 'MergeHistory' => array( 'MergeHistory' ),
467 - 'Filepath' => array( 'FilePath' ),
468 - 'Invalidateemail' => array( 'InvalidateEmail' ),
469 - 'Blankpage' => array( 'BlankPage' ),
470 - 'LinkSearch' => array( 'LinkSearch' ),
471 - 'DeletedContributions' => array( 'DeletedContributions' ),
472 - 'Tags' => array( 'Tags' ),
473 - 'Activeusers' => array( 'ActiveUsers' ),
474 - 'RevisionMove' => array( 'RevisionMove' ),
475 - 'ComparePages' => array( 'ComparePages' ),
476 - 'Badtitle' => array( 'Badtitle' ),
477 - 'DisableAccount' => array( 'DisableAccount' ),
478478 );
479479
480480 /**

Status & tagging log