r24478 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24477‎ | r24478 | r24479 >
Date:05:59, 31 July 2007
Author:raymond
Status:old
Tags:
Comment:
* Add an explanation to 'usernamerblacklist' and make it available to the i18n file and thereby to Special:Allmessages like all other config messages.
Modified paths:
  • /trunk/extensions/UsernameBlacklist/UsernameBlacklist.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsernameBlacklist/UsernameBlacklist.i18n.php
@@ -12,9 +12,23 @@
1313
1414 /* English (Rob Church) */
1515 'en' => array(
16 -'blacklistedusername' => 'Blacklisted username',
17 -'blacklistedusernametext' => 'The user name you have chosen matches the [[MediaWiki:Usernameblacklist|
18 -list of blacklisted usernames]]. Please choose another name.',
 16+'blacklistedusername' => 'Blacklisted username',
 17+'blacklistedusernametext' => 'The user name you have chosen matches the [[MediaWiki:Usernameblacklist|list of blacklisted usernames]]. Please choose another name.',
 18+'usernameblacklist' => ' <pre>
 19+# Format
 20+# As a bulleted list with each blocked username or regular expression as a new
 21+# list item. For example:
 22+#
 23+# * Foo
 24+# * ((B|b)ar)
 25+#
 26+# The example above would prevent creation of the user account "Foo", and any
 27+# account where the username contains "Bar" or "bar".
 28+#
 29+# You can comment out lines with #; this is useful for adding explanation as to
 30+# what a complicated regular expression will block, or for providing reasons.
 31+ </pre>',
 32+
1933 ),
2034
2135 /* Arabic (Meno25) */

Status & tagging log