r24482 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24481‎ | r24482 | r24483 >
Date:11:11, 31 July 2007
Author:robchurch
Status:old
Tags:
Comment:
Update documentation and use a less verbose explanation in the default message
Modified paths:
  • /trunk/extensions/UsernameBlacklist/README (modified) (history)
  • /trunk/extensions/UsernameBlacklist/UsernameBlacklist.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsernameBlacklist/UsernameBlacklist.i18n.php
@@ -14,20 +14,14 @@
1515 'en' => array(
1616 'blacklistedusername' => 'Blacklisted username',
1717 '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:
 18+'usernameblacklist' => '<pre>
 19+# Entries in this list will be used as part of a regular expression when
 20+# blacklisting usernames from registration. Each item should be part of
 21+# a bulleted list, e.g.
2222 #
2323 # * 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>',
 24+# * [Bb]ar
 25+</pre>',
3226
3327 ),
3428
Index: trunk/extensions/UsernameBlacklist/README
@@ -55,8 +55,8 @@
5656 * Foo
5757 * [Bb]ar
5858
59 -The example above would prevent creation of the user account "Foo", and any
60 -account where the username contains "Bar" or "bar".
 59+The example above would prevent creation of usernames containing "Foo",
 60+"Bar" or "bar".
6161
6262 Lines without the list token (*) will be ignored when constructing the
6363 regular expression, which allows for adding comments or other explanations

Status & tagging log