Page MenuHomePhabricator

Add "Resolution" namespace to wikimediafoundation.org
Closed, ResolvedPublic

Description

Board resolutions on the Wikimedia Foundation Wiki begin with "Resolution". Can we configure a custom namespace for resolutions?

Event Timeline

Krenair subscribed.

Yes but you should probably put such requests in Wikimedia-Site-requests in future :)

Thanks. I poked around, but couldn't find instructions for that anywhere.

It's all on https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes - #2 can be skipped in this case
We'll need to get a patch against mediawiki-config.git (someone helpful usually comes along and does this quickly) and then it can be scheduled for deployment... Unfortunately everything is cancelled next week due to the datacentre master change, so it's likely to go out in the week of the 25th.
The namespaceDupes script will have to be run immediately after the deployment to fix the existing Resolution: pages.

Urbanecm triaged this task as Medium priority.
Urbanecm subscribed.

Ok, I'll prepare a patch.

Reminder: Namsespacedups will also need to be run when its deployed since the "namespace" is currently in use .

Change 283643 had a related patch set uploaded (by Urbanecm):
Add Resolution: namespace to foundationwiki

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

Scheduled for April 25 for Morning SWAT (15:00 - 16:00 UTC).

Change 283643 merged by jenkins-bot:
Add Resolution: namespace to foundationwiki

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

Mentioned in SAL [2016-04-25T15:26:39Z] <jzerebecki@tin> Synchronized wmf-config/InitialiseSettings.php: config 70ee0fd97c26da02ed8ea511b2e21b47f374101b T132746 : Add Resolution: namespace to foundationwiki (duration: 00m 31s)

Mentioned in SAL [2016-04-25T15:28:41Z] <jzerebecki> T132746 @tin:/srv/mediawiki-staging (master=)$ mwscript namespaceDupes.php foundationwiki --move-talk

Mentioned in SAL [2016-04-25T15:35:47Z] <jzerebecki> err T132746 instead of T132868

Mentioned in SAL [2016-04-25T15:40:17Z] <jzerebecki> T132746 @tin:/srv/mediawiki-staging (master %=)$ mwscript namespaceDupes.php foundationwiki --move-talk --merge --fix >try2-out-fix.txt

Mentioned in SAL [2016-04-25T15:42:10Z] <jzerebecki> T132746 another run needed @tin:/srv/mediawiki-staging (master %=)$ mwscript namespaceDupes.php foundationwiki --move-talk --merge --fix >try2-out-fix2.txt

These won't go away:

jzerebecki@tin:/srv/mediawiki-staging (master %=)$ mwscript namespaceDupes.php foundationwiki --move-talk --merge
0 pages to fix, 0 were resolvable.

pagelinks from=6118 ns=0 dbk=Resolution:_Bylaws_amendments_and_board_structure -> Resolution:Bylaws_amendments_and_board_structure DRY RUN
pagelinks from=6137 ns=0 dbk=Resolution:_Bylaws_amendments_and_board_structure -> Resolution:Bylaws_amendments_and_board_structure DRY RUN
templatelinks from=6315 ns=0 dbk=Resolution:new_trustee_appointment_April_2008 -> Resolution:New_trustee_appointment_April_2008 DRY RUN
templatelinks from=6315 ns=0 dbk=Resolution:privacy_policy_update_April_2008 -> Resolution:Privacy_policy_update_April_2008 DRY RUN
4 links to fix, 4 were resolvable.

Looks good!

< Dereckson> jzerebecki: tested on Terbium, I confirm they don't go away. Page link table could be updated when these pages will be edited in the future I guess.

Luke081515 renamed this task from Add Resolution: namespace to wikimediafoundation.org to Add "Resolution" namespace to wikimediafoundation.org.Apr 25 2016, 4:23 PM
Dereckson added subscribers: gpaumier, Dereckson.

@gpaumier fixed the links on wiki

After diff 105718, we've confirmed it solves the issue:

terbium
$ mwscript namespaceDupes.php foundationwiki
[...]
pagelinks from=6118 ns=0 dbk=Resolution:_Bylaws_amendments_and_board_structure -> Resolution:Bylaws_amendments_and_board_structure DRY RUN
pagelinks from=6137 ns=0 dbk=Resolution:_Bylaws_amendments_and_board_structure -> Resolution:Bylaws_amendments_and_board_structure DRY RUN
2 links to fix, 2 were resolvable.
[...

It was resolved after diff 105719:

terbium
$ mwscript namespaceDupes.php foundationwiki
0 pages to fix, 0 were resolvable.

0 links to fix, 0 were resolvable.

Looks good!