r37412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37411‎ | r37412 | r37413 >
Date:17:16, 9 July 2008
Author:jhsoby
Status:old
Tags:
Comment:
* Adding special page alias in SiteMatrix and LinkSearch
* Adding alias files for Cite, SiteMatrix, LinkSearch and Gadgets to aliases.txt in Translate
Modified paths:
  • /trunk/extensions/LinkSearch/LinkSearch.alias.php (added) (history)
  • /trunk/extensions/LinkSearch/LinkSearch.php (modified) (history)
  • /trunk/extensions/SiteMatrix/SiteMatrix.alias.php (added) (history)
  • /trunk/extensions/SiteMatrix/SiteMatrix.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LinkSearch/LinkSearch.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:LinkSearch
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'LinkSearch' => array('LinkSearch')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'LinkSearch' => array('Lenkesøk')
 23+);
Index: trunk/extensions/LinkSearch/LinkSearch.php
@@ -16,6 +16,7 @@
1717 );
1818
1919 $wgExtensionMessagesFiles['LinkSearch'] = dirname(__FILE__) . '/LinkSearch.i18n.php';
 20+$wgExtensionAliasesFiles['LinkSearch'] = dirname(__FILE__) . '/LinkSearch.alias.php';
2021
2122 $wgSpecialPages['Linksearch'] = array( /*class*/ 'LinkSearchSpecialPage',
2223 /*name*/ 'Linksearch', /* permission */'', /*listed*/ true,
Index: trunk/extensions/SiteMatrix/SiteMatrix.php
@@ -18,6 +18,7 @@
1919 );
2020
2121 $wgExtensionMessagesFiles['SiteMatrix'] = dirname(__FILE__) . '/SiteMatrix.i18n.php';
 22+$wgExtensionAliasesFiles['SiteMatrix'] = dirname(__FILE__) . '/SiteMatrix.alias.php';
2223
2324 $wgSiteMatrixFile = '/home/wikipedia/common/langlist';
2425
Index: trunk/extensions/SiteMatrix/SiteMatrix.alias.php
@@ -0,0 +1,22 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:SiteMatrix
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$aliases = array();
 10+
 11+/** English
 12+ * @author Jon Harald Søby
 13+ */
 14+$aliases['en'] = array(
 15+ 'SiteMatrix' => array('SiteMatrix', 'WikimediaWikis')
 16+);
 17+
 18+/** Norwegian (Norsk (bokmål))
 19+ * @author Jon Harald Søby
 20+ */
 21+$aliases['no'] = array(
 22+ 'SiteMatrix' => array('Wikimedia-wikier')
 23+);

Status & tagging log