r85730 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85729‎ | r85730 | r85731 >
Date:17:58, 9 April 2011
Author:siebrand
Status:deferred
Tags:
Comment:
Follow-up r85729: standard naming for file with special page aliases and register special page aliases file.
Modified paths:
  • /trunk/extensions/SemanticGlossary/SemanticGlossary.alias.php (added) (history)
  • /trunk/extensions/SemanticGlossary/SemanticGlossary.php (modified) (history)
  • /trunk/extensions/SemanticGlossary/SemanticGlossaryAliases.php (deleted) (history)

Diff [purge]

Index: trunk/extensions/SemanticGlossary/SemanticGlossaryAliases.php
@@ -1,20 +0,0 @@
2 -<?php
3 -/**
4 - * Special page aliases for Semantic Glossary
5 - */
6 -
7 -$specialPageAliases = array();
8 -
9 -/** English
10 - * @author F.trott
11 - */
12 -$specialPageAliases['en'] = array(
13 - 'SemanticGlossaryBrowser' => array( 'Glossary' ),
14 -);
15 -
16 -/** German (Deutsch)
17 - * @author F.trott
18 - */
19 -$specialPageAliases['de'] = array(
20 - 'SemanticGlossaryBrowser' => array( 'Glossar' ),
21 -);
Index: trunk/extensions/SemanticGlossary/SemanticGlossary.alias.php
@@ -0,0 +1,20 @@
 2+<?php
 3+/**
 4+ * Special page aliases for Semantic Glossary
 5+ */
 6+
 7+$specialPageAliases = array();
 8+
 9+/** English
 10+ * @author F.trott
 11+ */
 12+$specialPageAliases['en'] = array(
 13+ 'SemanticGlossaryBrowser' => array( 'Glossary' ),
 14+);
 15+
 16+/** German (Deutsch)
 17+ * @author F.trott
 18+ */
 19+$specialPageAliases['de'] = array(
 20+ 'SemanticGlossaryBrowser' => array( 'Glossar' ),
 21+);
Property changes on: trunk/extensions/SemanticGlossary/SemanticGlossary.alias.php
___________________________________________________________________
Added: svn:eol-style
122 + native
Index: trunk/extensions/SemanticGlossary/SemanticGlossary.php
@@ -48,6 +48,7 @@
4949
5050 // register message file
5151 $wgExtensionMessagesFiles[ 'SemanticGlossary' ] = $dir . '/SemanticGlossary.i18n.php';
 52+$wgExtensionMessagesFiles[ 'SemanticGlossaryAlias' ] = $dir . '/SemanticGlossary.alias.php';
5253
5354
5455 // register class files with the Autoloader

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85729followup r85719: separated messages and special page aliases to enable i18nfoxtrott17:51, 9 April 2011

Status & tagging log