Index: trunk/extensions/UsernameBlacklist/UsernameBlacklist.i18n.php |
— | — | @@ -14,20 +14,14 @@ |
15 | 15 | 'en' => array( |
16 | 16 | 'blacklistedusername' => 'Blacklisted username', |
17 | 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: |
| 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. |
22 | 22 | # |
23 | 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>', |
| 24 | +# * [Bb]ar |
| 25 | +</pre>', |
32 | 26 | |
33 | 27 | ), |
34 | 28 | |
Index: trunk/extensions/UsernameBlacklist/README |
— | — | @@ -55,8 +55,8 @@ |
56 | 56 | * Foo |
57 | 57 | * [Bb]ar |
58 | 58 | |
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". |
61 | 61 | |
62 | 62 | Lines without the list token (*) will be ignored when constructing the |
63 | 63 | regular expression, which allows for adding comments or other explanations |