Page MenuHomePhabricator

Disable search engine indexing in specific namespaces of Bangla Wikipedia
Closed, ResolvedPublic

Description

There was a consensus at the bnwiki village pump and we want "User" and the "User talk" namespaces to opt out of being indexed by search engines by default.

For deployment: Please add following under 'wgNamespaceRobotPolicies' => [ (similar to this)

	'bnwiki' => [
		NS_USER => 'noindex,follow', // T286152
		NS_USER_TALK => 'noindex,follow',
	],

Event Timeline

@Ahmad_Kanik: If you (or someone else) are curious and want to try making this configuration change yourself, please follow "Remove a namespace from being indexed by internet search engines" on https://wikitech.wikimedia.org/wiki/Wikimedia_site_requests and give it a try!

@Aklapper Thanks for the link. I have never used gerrit and don't have developer account yet. I will read the docs later and will submit if I clearly understand the steps. but it will be helpful, if anyone experienced make the change.

Change 703884 had a related patch set uploaded (by R4356thwiki; author: R4356thwiki):

[operations/mediawiki-config@master] Disable indexing in NS_USER and NS_USER_TALK on bnwiki

https://gerrit.wikimedia.org/r/703884

Change 703884 merged by jenkins-bot:

[operations/mediawiki-config@master] Disable indexing in NS_USER and NS_USER_TALK on bnwiki

https://gerrit.wikimedia.org/r/703884

Mentioned in SAL (#wikimedia-operations) [2021-07-14T11:10:27Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 72027e136f10867f5db02043b7505390e49130d1: Disable indexing in NS_USER and NS_USER_TALK on bnwiki (T286152) (duration: 02m 07s)

Urbanecm added a subscriber: Urbanecm.

Deployed. Enjoy!