r107401 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107400‎ | r107401 | r107402 >
Date:18:12, 27 December 2011
Author:reedy
Status:ok
Tags:
Comment:
Add wgExtensionCredits for AntiSpoof for Central Auth
Modified paths:
  • /trunk/extensions/AntiSpoof/AntiSpoof.php (modified) (history)
  • /trunk/extensions/CentralAuth/CentralAuth.i18n.php (modified) (history)
  • /trunk/extensions/CentralAuth/CentralAuth.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/CentralAuth.php
@@ -270,6 +270,13 @@
271271 // Though, doing it this way, AntiSpoof has to be loaded/included first
272272 // I guess this is bug 30234
273273 if ( MWInit::classExists( 'AntiSpoof' ) ) {
 274+ $wgExtensionCredits['antispam'][] = array(
 275+ 'path' => __FILE__,
 276+ 'name' => 'AntiSpoof for CentralAuth',
 277+ 'url' => 'https://www.mediawiki.org/wiki/Extension:AntiSpoof',
 278+ 'author' => 'Sam Reed',
 279+ 'descriptionmsg' => 'centralauth-antispoof-desc',
 280+ );
274281 $wgAutoloadClasses['CentralAuthSpoofUser'] = "$caBase/AntiSpoof/CentralAuthSpoofUser.php";
275282 $wgAutoloadClasses['CentralAuthAntiSpoofHooks'] = "$caBase/AntiSpoof/CentralAuthAntiSpoofHooks.php";
276283
Index: trunk/extensions/CentralAuth/CentralAuth.i18n.php
@@ -16,6 +16,7 @@
1717 'mergeaccount' => 'Login unification status',
1818 'centralauth-groupname' => 'the Wikimedia Foundation',
1919 'centralauth-desc' => '[[Special:MergeAccount|Merge account]] across wikis of {{int:Centralauth-groupname}}',
 20+ 'centralauth-antispoof-desc' => 'Adds AntiSpoof technology to CentralAuth',
2021 'centralauth-mergeaccount-desc' => '[[Special:MergeAccount|Merges multiple accounts]] for Single User Login',
2122 'centralauth-merge-denied' => 'Sorry, you do not have permission to access this page.',
2223 'centralauth-merge-notlogged' => 'Please <span class="plainlinks">[$1 log in]</span> to check if your accounts have been fully merged.',
@@ -405,6 +406,7 @@
406407 'mergeaccount' => 'Title of special page "MergeAccount".',
407408 'centralauth-groupname' => 'Used within {{msg-mw|centralauth-incomplete-text}} and {{msg-mw|centralauth-login-progress}}.',
408409 'centralauth-desc' => '{{desc}}',
 410+ 'centralauth-desc' => '{{desc}}',
409411 'centralauth-mergeaccount-desc' => 'Description of the special page [[Special:MergeAccount]]',
410412 'centralauth-merge-step1-submit' => "Submit button for 'Begin Login Unification', first step for creating a global user account.",
411413 'centralauth-complete' => 'Title of special page "MergeAccount"',
Index: trunk/extensions/AntiSpoof/AntiSpoof.php
@@ -3,7 +3,7 @@
44 exit( 1 );
55 }
66
7 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 7+$wgExtensionCredits['antispam'][] = array(
88 'path' => __FILE__,
99 'name' => 'AntiSpoof',
1010 'url' => 'https://www.mediawiki.org/wiki/Extension:AntiSpoof',

Follow-up revisions

RevisionCommit summaryAuthorDate
r107408Fix cp error from r107401raymond19:49, 27 December 2011

Status & tagging log