jenkins-bot has submitted this change and it was merged.

Change subject: Enable IP user page creation on fawiki's Draft ns
......................................................................


Enable IP user page creation on fawiki's Draft ns

Bug: T105118
Change-Id: I284e12b2da4c03e71917f03b8790d718c598b904
---
M wmf-config/CommonSettings.php
1 file changed, 7 insertions(+), 5 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  Odder: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 6d4970c..f7aebe1 100755
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1527,13 +1527,15 @@
                }
                return true;
        };
+}
 
-       // T59569
+if ( $wgDBname == 'enwiki' || $wgDBname == 'fawiki' ) {
+       // T59569, T105118
        //
-       // If it's an anonymous user creating a page in the English Wikipedia 
Draft
-       // namespace, tell TitleQuickPermissions to abort the normal 
checkQuickPermissions
-       // checks.  This lets anonymous users create a page in this namespace, 
even though
-       // they don't have the general 'createpage' right.
+       // If it's an anonymous user creating a page in the English and Persian 
Wikipedia
+       // Draft namespace, tell TitleQuickPermissions to abort the normal
+       // checkQuickPermissions checks.  This lets anonymous users create a 
page in this
+       // namespace, even though they don't have the general 'createpage' 
right.
        //
        // It does not affect other checks from getUserPermissionsErrorsInternal
        // (e.g. protection and blocking).

-- 
To view, visit https://gerrit.wikimedia.org/r/223497
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I284e12b2da4c03e71917f03b8790d718c598b904
Gerrit-PatchSet: 4
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ebrahim <ebra...@gnu.org>
Gerrit-Reviewer: Alex Monk <kren...@gmail.com>
Gerrit-Reviewer: Glaisher <glaisher.w...@gmail.com>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Odder <tom...@twkozlowski.com>
Gerrit-Reviewer: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to