Add "Unknown user" to $wgReservedUsernames
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 18 Feb 2017 17:34:56 +0000 (18:34 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 18 Feb 2017 17:41:57 +0000 (17:41 +0000)
Used in WikiImporter when importing revisions with no author
(e.g. when the author of the exported edit was revision-deleted).
Follow-up to changes related to T121338.

Bug: T158474
Change-Id: I49f3d5b9a23a0535c51a733d8837a681f6e51959

RELEASE-NOTES-1.29
includes/DefaultSettings.php

index 58cc84b..13406d6 100644 (file)
@@ -31,6 +31,7 @@ production.
 * A temporary feature flag, $wgDisableUserGroupExpiry, is provided to disable
   new features that rely on the schema changes to the user_groups table. This
   feature flag will likely be removed before 1.29 is released.
+* (T158474) "Unknown user" has been added to $wgReservedUsernames.
 
 === New features in 1.29 ===
 * (T5233) A cookie can now be set when a user is autoblocked, to track that user
index c483366..791d024 100644 (file)
@@ -4786,6 +4786,7 @@ $wgReservedUsernames = [
        'Maintenance script', // Maintenance scripts which perform editing, image import script
        'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
        'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
+       'Unknown user', // Used in WikiImporter when importing revisions with no author
        'msg:double-redirect-fixer', // Automatic double redirect fix
        'msg:usermessage-editor', // Default user for leaving user messages
        'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)