Hoo man has uploaded a new change for review.
https://gerrit.wikimedia.org/r/274506
Change subject: Set $wgWikimediaBadgesCommonsCategoryProperty to null on commons
......................................................................
Set $wgWikimediaBadgesCommonsCategoryProperty to null on commons
We don't want the commons category in the other projects
sidebar on commons.
Bug: T128661
Change-Id: I975229a31adffd5e44cd218e44848b79c173903c
---
M wmf-config/Wikibase-production.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/06/274506/1
diff --git a/wmf-config/Wikibase-production.php
b/wmf-config/Wikibase-production.php
index 7f0e60e..c23ea6c 100644
--- a/wmf-config/Wikibase-production.php
+++ b/wmf-config/Wikibase-production.php
@@ -101,6 +101,6 @@
'Q20748093' => 'badge-validated'
);
- // Overwrite commons links in the "other projects sidebar" with the
"commons category" (P373), per T126960
- $wgWikimediaBadgesCommonsCategoryProperty = 'P373';
+ // Overwrite or add commons links in the "other projects sidebar" with
the "commons category" (P373), per T126960
+ $wgWikimediaBadgesCommonsCategoryProperty = $wgDBname === 'commonswiki'
? null : 'P373';
}
--
To view, visit https://gerrit.wikimedia.org/r/274506
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I975229a31adffd5e44cd218e44848b79c173903c
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits