r113006 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/extensions/SemanticTitle/SemanticTitle.i18n.php
@@ -1,4 +1,4 @@
2 -<?php // SemanticTitle.i18n.php //
 2+<?php
33
44 /*
55 ------------------------------------------------------------------------------------------------
@@ -19,27 +19,19 @@
2020 ------------------------------------------------------------------------------------------------
2121 */
2222
23 -$aliases = array();
2423 $messages = array();
2524
26 -/*
27 - ------------------------------------------------------------------------------------------------
28 - English
29 - ------------------------------------------------------------------------------------------------
30 -*/
 25+/** English
 26+ * @author Van de Bugger
 27+ */
3128 $messages[ 'en' ] = array(
32 - 'semantic-title-description'
33 - => 'Sets visible page title to value of a semantic property.',
 29+ 'semantictitle-desc' => 'Sets visible page title to value of a semantic property',
3430 );
3531
36 -/*
37 - ------------------------------------------------------------------------------------------------
38 - Russian
39 - ------------------------------------------------------------------------------------------------
40 -*/
 32+/** Russian (Русский)
 33+ * @author Van de Bugger
 34+ */
4135 $messages[ 'ru' ] = array(
42 - 'semantic-title-description'
43 - => 'Изменяет видимое имя страницы на значение семантического свойства.',
 36+ 'semantictitle-desc' => 'Изменяет видимое имя страницы на значение семантического свойства.',
4437 );
4538
46 -// end of file //
Index: trunk/extensions/SemanticTitle/SemanticTitle.php
@@ -46,7 +46,7 @@
4747 'version' => '0.0.1',
4848 'author' => array( '[https://www.mediawiki.org/wiki/User:Van_de_Bugger Van de Bugger]' ),
4949 'url' => 'https://www.mediawiki.org/wiki/Extension:SemanticTitle',
50 - 'descriptionmsg' => 'semantic-title-description',
 50+ 'descriptionmsg' => 'semantictitle-desc',
5151 );
5252
5353 // end of file //

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112940Initial revision of SemanticTitle.van-de-bugger11:50, 3 March 2012

Status & tagging log