r59448 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59447‎ | r59448 | r59449 >
Date:13:57, 26 November 2009
Author:raymond
Status:ok
Tags:
Comment:
* Add i18n file for description message
* Add extension to translatewiki
Modified paths:
  • /trunk/extensions/LdapAuthentication/LdapAuthentication.i18n.php (added) (history)
  • /trunk/extensions/LdapAuthentication/LdapAuthentication.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/LdapAuthentication/LdapAuthentication.i18n.php
@@ -0,0 +1,16 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for extension LdapAuthentication.
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$messages = array();
 10+
 11+/** English
 12+ * @author Ryan Lane
 13+ */
 14+$messages['en'] = array(
 15+ 'ldapauthentication-desc' => 'LDAP authentication plugin with support for multiple LDAP authentication methods',
 16+);
 17+
Property changes on: trunk/extensions/LdapAuthentication/LdapAuthentication.i18n.php
___________________________________________________________________
Name: svn:eol-style
118 + native
Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php
@@ -45,13 +45,18 @@
4646 * Add extension information to Special:Version
4747 */
4848 $wgExtensionCredits['other'][] = array(
 49+ 'path' => __FILE__,
4950 'name' => 'LDAP Authentication Plugin',
5051 'version' => '1.2b (alpha)',
5152 'author' => 'Ryan Lane',
5253 'description' => 'LDAP Authentication plugin with support for multiple LDAP authentication methods',
 54+ 'descriptionmsg' => 'ldapauthentication-desc',
5355 'url' => 'http://www.mediawiki.org/wiki/Extension:LDAP_Authentication',
54 - );
 56+);
5557
 58+$dir = dirname(__FILE__) . '/';
 59+$wgExtensionMessagesFiles['LdapAuthentication'] = $dir . 'LdapAuthentication.i18n.php';
 60+
5661 //constants for search base
5762 define("GROUPDN", 0);
5863 define("USERDN", 1);
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -569,6 +569,8 @@
570570
571571 Latex Doc
572572
 573+LDAP authentication
 574+
573575 Link OpenID
574576 optional = linkopenid-prefs, linkopenid-prefstext-xrdsurl
575577

Status & tagging log