r37418 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37417‎ | r37418 | r37419 >
Date:17:40, 9 July 2008
Author:jhsoby
Status:old
Tags:
Comment:
* Adding special page alias in AdvancedRandom, CheckUser, ConfirmAccount, ContactPage and DeleteBatch
* Adding alias files for AdvancedRandom, CheckUser, ConfirmAccount, ContactPage and DeleteBatch to aliases.txt in Translate
Modified paths:
  • /trunk/extensions/AdvancedRandom/AdvancedRandom.alias.php (added) (history)
  • /trunk/extensions/AdvancedRandom/SpecialAdvancedRandom.php (modified) (history)
  • /trunk/extensions/CheckUser/CheckUser.alias.php (added) (history)
  • /trunk/extensions/CheckUser/CheckUser.php (modified) (history)
  • /trunk/extensions/ConfirmAccount/ConfirmAccount.alias.php (added) (history)
  • /trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php (modified) (history)
  • /trunk/extensions/ContactPage/ContactPage.alias.php (added) (history)
  • /trunk/extensions/ContactPage/ContactPage.php (modified) (history)
  • /trunk/extensions/DeleteBatch/DeleteBatch.alias.php (added) (history)
  • /trunk/extensions/DeleteBatch/DeleteBatch.php (modified) (history)
  • /trunk/extensions/Translate/aliases.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/DeleteBatch/DeleteBatch.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:DeleteBatch
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'DeleteBatch' => array('DeleteBatch')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'DeleteBatch' => array('Slett_en_serie_sider')
 23+);
Index: trunk/extensions/DeleteBatch/DeleteBatch.php
@@ -22,5 +22,6 @@
2323
2424 $dir = dirname(__FILE__) . '/';
2525 $wgExtensionMessagesFiles['DeleteBatch'] = $dir . 'DeleteBatch.i18n.php';
 26+$wgExtensionAliasesFiles['DeleteBatch'] = $dir . 'DeleteBatch.alias.php';
2627 $wgAutoloadClasses['DeleteBatch'] = $dir. 'DeleteBatch.body.php';
2728 $wgSpecialPages['DeleteBatch'] = 'DeleteBatch';
Index: trunk/extensions/ContactPage/ContactPage.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:Contact
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'ContactPage' => array('Contact', 'ContactPage')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'ContactPage' => array('Kontakt', 'Kontaktside')
 23+);
Index: trunk/extensions/ContactPage/ContactPage.php
@@ -27,6 +27,8 @@
2828
2929 $dir = dirname(__FILE__) . '/';
3030 $wgExtensionMessagesFiles['ContactPage'] = $dir . 'ContactPage.i18n.php';
 31+$wgExtensionAliasesFiles['ContactPage'] = $dir . 'ContactPage.alias.php';
 32+
3133 $wgAutoloadClasses['SpecialContact'] = $dir . 'SpecialContact.php';
3234 $wgSpecialPages['Contact'] = 'SpecialContact';
3335
Index: trunk/extensions/AdvancedRandom/AdvancedRandom.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:AdvancedRandom
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'AdvancedRandom' => array('AdvancedRandom')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'AdvancedRandom' => array('Avansert_tilfeldig_side')
 23+);
Index: trunk/extensions/AdvancedRandom/SpecialAdvancedRandom.php
@@ -31,6 +31,7 @@
3232
3333 $dir = dirname(__FILE__) . '/';
3434 $wgExtensionMessagesFiles['AdvancedRandom'] = $dir . 'SpecialAdvancedRandom.i18n.php';
 35+$wgExtensionAliasesFiles['AdvancedRandom'] = $dir . 'SpecialAdvancedRandom.alias.php';
3536
3637 $wgAutoloadClasses['SpecialAdvancedRandom'] = $dir . 'AdvancedRandom_body.php';
3738
Index: trunk/extensions/Translate/aliases.txt
@@ -1,3 +1,6 @@
 2+AdvancedRandom
 3+file = AdvancedRandom/AdvancedRandom.alias.php
 4+
25 Category Tree
36 file = CategoryTree/CategoryTreePage.i18n.alias.php
47
@@ -7,9 +10,18 @@
811 Configure
912 file = Configure/Configure.alias.php
1013
 14+ConfirmAccount
 15+file = ConfirmAccount/ConfirmAccount.alias.php
 16+
 17+ContactPage
 18+file = ContactPage/ContactPage.alias.php
 19+
1120 CrossNamespaceLinks
1221 file = CrossNamespaceLinks/SpecialCrossNamespaceLinks.alias.php
1322
 23+DeleteBatch
 24+file = DeleteBatch/DeleteBatch.alias.php
 25+
1426 DeletedContributions
1527 file = DeletedContributions/DeletedContributions.i18n.alias.php
1628
Index: trunk/extensions/CheckUser/CheckUser.php
@@ -9,6 +9,7 @@
1010 # Internationalisation file
1111 $dir = dirname(__FILE__) . '/';
1212 $wgExtensionMessagesFiles['CheckUser'] = $dir . 'CheckUser.i18n.php';
 13+$wgExtensionAliasesFiles['CheckUser'] = $dir . 'CheckUser.alias.php';
1314
1415 $wgExtensionCredits['specialpage'][] = array(
1516 'author' => array( 'Tim Starling', 'Aaron Schulz' ),
Index: trunk/extensions/CheckUser/CheckUser.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:CheckUser
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'CheckUser' => array('CheckUser')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'CheckUser' => array('IP-sjekk')
 23+);
Index: trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php
@@ -106,6 +106,7 @@
107107
108108 $dir = dirname(__FILE__) . '/';
109109 $wgExtensionMessagesFiles['ConfirmAccount'] = $dir . 'ConfirmAccount.i18n.php';
 110+$wgExtensionAliasesFiles['ConfirmAccount'] = $dir . 'ConfirmAccount.alias.php';
110111
111112 function efAddRequestLoginText( &$template ) {
112113 global $wgUser;
Index: trunk/extensions/ConfirmAccount/ConfirmAccount.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:ConfirmAccount
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'ConfirmAccount' => array('ConfirmAccount')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'ConfirmAccount' => array('Bekreft_konto')
 23+);

Follow-up revisions

RevisionCommit summaryAuthorDate
r37426* Adding special page alias in Editcount, EditUser, EmailArticle, Eval, Globa...jhsoby18:40, 9 July 2008

Status & tagging log