Page MenuHomePhabricator

Wikimedia Canada's Wiki : text strings for robot policy
Closed, ResolvedPublic

Description

Good day,

WMCA would like to add the appropriate text strings for the the default robot policy for all pages on our wiki.

$wgDefaultRobotPolicy = 'noindex,nofollow';
$wgNamespaceRobotPolicies = array( NS_MAIN => 'noindex,nofollow' );
$wgArticleRobotPolicies = array( 'Main Page' => 'noindex,nofollow' );

See extensions $wgDefaultRobotPolicy and $wgArticleRobotPolicies

Thank you. Best regards.

Event Timeline

revi subscribed.

Can you confirm this is about https://ca.wikimedia.org or somewhere else?

@revi : that is correct.

ca.wikimedia.org

Thanks

Change 659379 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] robots: cawikimedia: Set wgDefaultRobotPolicy to noindex,nofollow

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

Urbanecm triaged this task as Medium priority.

Change 659379 merged by jenkins-bot:
[operations/mediawiki-config@master] robots: cawikimedia: Set wgDefaultRobotPolicy to noindex,nofollow

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

Mentioned in SAL (#wikimedia-operations) [2021-01-28T19:14:46Z] <urbanecm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: e914f1e65adfdf2f41af97363501b0ba3c40d5b8: robots: cawikimedia: Set wgDefaultRobotPolicy to noindex,nofollow (T272871) (duration: 01m 08s)

ca.wikimedia.org has noindex,nofollow on all pages, including in pages NS_MAIN and the mainpage itself. Feel free to re-open if it doesn't work somewhere after purging cache.

Thank you Martin! We really appreciate.

Benoit.