r113008 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113007‎ | r113008 | r113009 >
Date:10:02, 5 March 2012
Author:raymond
Status:ok
Tags:
Comment:
r112932: Consistency tweaks in preparation for adding extension to translatewiki.net
* Fix description message key
* Fix headers
* Remove unused $aliase array
Modified paths:
  • /trunk/extensions/HidePrefix/HidePrefix.i18n.php (modified) (history)
  • /trunk/extensions/HidePrefix/HidePrefix.php (modified) (history)

Diff [purge]

Index: trunk/extensions/HidePrefix/HidePrefix.i18n.php
@@ -1,5 +1,4 @@
2 -<?php // HidePrefix.i18n.php //
3 -
 2+<?php
43 /*
54 ------------------------------------------------------------------------------------------------
65 HidePrefix, a MediaWiki extension for hiding prefix in links and page titles.
@@ -18,27 +17,19 @@
1918 ------------------------------------------------------------------------------------------------
2019 */
2120
22 -$aliases = array();
2321 $messages = array();
2422
25 -/*
26 - ------------------------------------------------------------------------------------------------
27 - English
28 - ------------------------------------------------------------------------------------------------
29 -*/
 23+/** English
 24+ * @author Van de Bugger
 25+ */
3026 $messages[ 'en' ] = array(
31 - 'hide-prefix-description'
32 - => 'Hides prefix (namespace name) in links and page titles.',
 27+ 'hideprefix-desc' => 'Hides prefix (namespace name) in links and page titles',
3328 );
3429
35 -/*
36 - ------------------------------------------------------------------------------------------------
37 - Russian
38 - ------------------------------------------------------------------------------------------------
39 -*/
 30+/** Russian (Русский)
 31+ * @author Van de Bugger
 32+ */
4033 $messages[ 'ru' ] = array(
41 - 'hide-prefix-description'
42 - => 'Убирает префикс из ссылок и заголовков страниц.',
 34+ 'hideprefix-desc' => 'Убирает префикс из ссылок и заголовков страниц',
4335 );
4436
45 -// end of file //
Index: trunk/extensions/HidePrefix/HidePrefix.php
@@ -40,7 +40,7 @@
4141 'version' => '0.0.1',
4242 'author' => array( '[https://www.mediawiki.org/wiki/User:Van_de_Bugger Van de Bugger]' ),
4343 'url' => 'https://www.mediawiki.org/wiki/Extension:HidePrefix',
44 - 'descriptionmsg' => 'hide-prefix-description',
 44+ 'descriptionmsg' => 'hideprefix-desc',
4545 );
4646
4747 // end of file //

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112932Initial revision of HidePrefix extension.van-de-bugger09:08, 3 March 2012

Status & tagging log