r31849 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31848‎ | r31849 | r31850 >
Date:07:22, 12 March 2008
Author:raymond
Status:old
Tags:
Comment:
* Add description message for [[Special:Version]]
Modified paths:
  • /trunk/extensions/DidYouMean/DidYouMean.i18n.php (added) (history)
  • /trunk/extensions/DidYouMean/DidYouMean.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DidYouMean/DidYouMean.i18n.php
@@ -0,0 +1,19 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for DidYouMean extension.
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$messages = array();
 10+
 11+$messages['en'] = array(
 12+ 'didyoumean-desc' => 'Adds links to pages with "similar" titles',
 13+);
 14+
 15+/** German (Deutsch)
 16+ * @author Raimond Spekking
 17+ */
 18+$messages['de'] = array(
 19+ 'didyoumean-desc' => 'Ergänzt Seiten um Links zu ähnlichen Titeln',
 20+);
Property changes on: trunk/extensions/DidYouMean/DidYouMean.i18n.php
___________________________________________________________________
Added: svn:eol-style
121 + native
Index: trunk/extensions/DidYouMean/DidYouMean.php
@@ -6,7 +6,14 @@
77
88 require_once( 'DYMNorm.php' );
99
10 -$wgExtensionCredits['other'][] = array( 'name' => 'DidYouMean', 'author' => 'hippietrail (Andrew Dunbar)' );
 10+$wgExtensionCredits['other'][] = array(
 11+ 'name' => 'DidYouMean',
 12+ 'author' => 'hippietrail (Andrew Dunbar)',
 13+ 'version' => preg_replace('/^.* (\d\d\d\d-\d\d-\d\d) .*$/', '\1', '$LastChangedDate$'), #just the date of the last change
 14+ 'url' => 'http://www.mediawiki.org/wiki/Extension:DidYouMean',
 15+ 'descriptionmsg' => 'didyoumean-desc',
 16+);
 17+$wgExtensionMessagesFiles['DidYouMean'] = dirname(__FILE__) . '/DidYouMean.i18n.php';
1118
1219 # do database lookup from these
1320 $wgHooks['ArticleNoArticleText'][] = 'wfDymArticleNoArticleText';
@@ -389,5 +396,3 @@
390397
391398 }
392399 }
393 -
394 -
Property changes on: trunk/extensions/DidYouMean/DidYouMean.php
___________________________________________________________________
Added: svn:keywords
395400 + LastChangedDate

Status & tagging log