r75920 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75919‎ | r75920 | r75921 >
Date:12:45, 3 November 2010
Author:raymond
Status:ok
Tags:
Comment:
LandingCheck: Add alias file, tweak description message
Add extension to Translatewiki
Add this to the Wikimedia group and remove Geolite as outdated
Modified paths:
  • /trunk/extensions/LandingCheck/LandingCheck.alias.php (added) (history)
  • /trunk/extensions/LandingCheck/LandingCheck.i18n.php (modified) (history)
  • /trunk/extensions/LandingCheck/LandingCheck.php (modified) (history)
  • /trunk/extensions/Translate/groups/MediaWiki/WikimediaAgg.yaml (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/LandingCheck/LandingCheck.php
@@ -13,7 +13,7 @@
1414 $wgExtensionCredits['specialpage'][] = array(
1515 'path' => __FILE__,
1616 'name' => 'LandingCheck',
17 - 'version' => '1.1',
 17+ 'version' => '1.1.1',
1818 'url' => 'http://www.mediawiki.org/wiki/Extension:LandingCheck',
1919 'author' => 'Ryan Kaldari',
2020 'descriptionmsg' => 'landingcheck-desc',
@@ -23,5 +23,6 @@
2424
2525 $wgAutoloadClasses['SpecialLandingCheck'] = $dir . 'SpecialLandingCheck.php';
2626 $wgExtensionMessagesFiles['LandingCheck'] = $dir . 'LandingCheck.i18n.php';
 27+$wgExtensionAliasesFiles['LandingCheck'] = $dir . 'LandingCheck.alias.php';
2728 $wgSpecialPages['LandingCheck'] = 'SpecialLandingCheck';
2829 $wgSpecialPageGroups['LandingCheck'] = 'contribution';
Index: trunk/extensions/LandingCheck/LandingCheck.alias.php
@@ -0,0 +1,21 @@
 2+<?php
 3+/**
 4+ * Aliases for Special:LandingCheck
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$specialPageAliases = array();
 11+
 12+/** English
 13+ * @author Ryan Kaldari
 14+ */
 15+$specialPageAliases['en'] = array(
 16+ 'LandingCheck' => array( 'LandingCheck' ),
 17+);
 18+
 19+/**
 20+ * For backwards compatibility with MediaWiki 1.15 and earlier.
 21+ */
 22+$aliases =& $specialPageAliases;
\ No newline at end of file
Property changes on: trunk/extensions/LandingCheck/LandingCheck.alias.php
___________________________________________________________________
Added: svn:eol-style
123 + native
Index: trunk/extensions/LandingCheck/LandingCheck.i18n.php
@@ -12,6 +12,7 @@
1313 * @author Ryan Kaldari
1414 */
1515 $messages['en'] = array(
16 - 'landingcheck-desc' => 'This extension facilitates the use of geotargeted localized landing pages. It is a replacement for GeoLite.',
 16+ 'landingcheck-desc' => 'Facilitates the use of geotargeted localized landing pages',
1717 'landingcheck' => 'LandingCheck',
1818 );
 19+
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -630,6 +630,9 @@
631631 file = LabeledSectionTransclusion/lst.i18n.php
632632 descmsg = lst-desc
633633
 634+Landing Check
 635+aliasfile = LandingCheck/LandingCheck.alias.php
 636+
634637 Language Selector
635638
636639 Last User Login
Index: trunk/extensions/Translate/groups/MediaWiki/WikimediaAgg.yaml
@@ -54,7 +54,6 @@
5555 - ext-flaggedrevs-validationstatistics
5656 - ext-fundraiserportal # 2009-10-08: test.wikipedia.org
5757 - ext-gadgets
58 - - ext-geolite # 2009-11-13: meta.wikimedia.org
5958 - ext-globalblocking
6059 - ext-globalusage # 2009-11-11: commons.wikimedia.org
6160 - ext-honeypotintegration # 2009-08-13: test.wikipedia.org
@@ -62,6 +61,7 @@
6362 - ext-inputbox
6463 - ext-intersection
6564 - ext-labeledsectiontransclusion # Wikisource
 65+ - ext-landingcheck
6666 - ext-liquidthreads # 2009-11-11: MediaWiki.org and some *.labs.wikimedia.org
6767 - ext-mwsearch
6868 - ext-newusermessage

Status & tagging log