Page MenuHomePhabricator

Create Inari Sámi Wikipedia
Closed, ResolvedPublic

Description

The language committee has approved the creation of the Inari Sámi Wikipedia.

  • Shard: s5
  • Local file uploads: disabled

Takkâ!


Pre-install automatic checklist:

The Wiki is ready to be created.


Post install automatic checklist:


Step by step commands:
On deploy1001:
cd /srv/mediawiki-staging/
git fetch
git log -p HEAD..@{u}
git rebase
On mwmaint1002:
scap pull
mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=muswiki smn wikipedia smnwiki smn.wikipedia.org
mwscript extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php --wiki=smnwiki --cluster=all
On deploy1001:
scap sync-file wmf-config/db-eqiad.php "Creating smnwiki (T264859)"
scap sync-file wmf-config/db-codfw.php "Creating smnwiki (T264859)"
scap sync-file dblists "Creating smnwiki (T264859)"
scap sync-wikiversions "Creating smnwiki (T264859)"
scap sync-file static/images/project-logos/ "Creating smnwiki (T264859)"
scap sync-file wmf-config/InitialiseSettings.php "Creating smnwiki (T264859)"
scap sync-file langlist "Creating smnwiki (T264859)"
scap update-interwiki-cache

End of automatic output

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Restricted Application added a subscriber: alaa. · View Herald TranscriptOct 7 2020, 1:39 PM

Change 632742 had a related patch set uploaded (by Gerrit maintenance bot; owner: Gerrit maintenance bot):
[mediawiki/extensions/WikimediaMessages@master] Add messages for Inari Sami Wikipedia (smnwiki)

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

Change 632743 had a related patch set uploaded (by Gerrit maintenance bot; owner: Gerrit maintenance bot):
[mediawiki/services/cxserver@master] Add smn to languages

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

Change 632747 had a related patch set uploaded (by Gerrit maintenance bot; owner: Gerrit maintenance bot):
[operations/dns@master] Add smn to langlist helper

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

Change 632743 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Add smn to languages

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

Change 632742 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMessages@master] Add messages for Inari Sami Wikipedia (smnwiki)

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

Change 632747 merged by Dzahn:
[operations/dns@master] Add Inari Sami (smn) language to langlist helper

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

Mentioned in SAL (#wikimedia-operations) [2020-10-07T19:36:13Z] <mutante> blog post: The latest addition to our family of Wikimedia languages is "Inari Sami" with language code "smn". It is a Sami language spoken by the Inari Sami of Finland and has about 400 native speakers. It's in the Uralic language family. Wikipedia will be created in T264859. https://en.wikipedia.org/wiki/Inari_Sami | https://iso639-3.sil.org/code/smn |

added to DNS:

[authdns1001:~] $ host smn.wikipedia.org
smn.wikipedia.org is an alias for dyna.wikimedia.org.
dyna.wikimedia.org has address 208.80.154.224
dyna.wikimedia.org has IPv6 address 2620:0:861:ed1a::1

Change 632829 had a related patch set uploaded (by Gerrit maintenance bot; owner: Gerrit maintenance bot):
[analytics/refinery@master] Add smn.wikipedia to pageview whitelist

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

Change 632838 had a related patch set uploaded (by KartikMistry; owner: KartikMistry):
[operations/deployment-charts@master] Update cxserver to 2020-10-08-053343-production

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

Change 632829 merged by Joal:
[analytics/refinery@master] Add smn.wikipedia to pageview whitelist

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

Change 632838 merged by jenkins-bot:
[operations/deployment-charts@master] Update cxserver to 2020-10-08-053343-production

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

Mentioned in SAL (#wikimedia-operations) [2020-10-08T12:29:30Z] <kart_> Updated cxserver to 2020-10-08-053343-production (T264407, T264859)

Xqt updated the task description. (Show Details)

@Ladsgroup I'm not sure why bot removes "Wikistats step", can you add it to the bot?

@Kizule Because the bot overrides the steps (in another words, it generates them from scratch). Any pull requests are welcomed, source code is at https://github.com/Ladsgroup/Phabricator-maintenance-bot/blob/master/new_wikis_handler.py.

@Ladsgroup I'm not sure why bot removes "Wikistats step", can you add it to the bot?

How do you want the bot to run the check? Where is the codebase? Is it easy to make the patch (so we could automate it)? See how other checkmarks work.

@Ladsgroup I'm not sure why bot removes "Wikistats step", can you add it to the bot?

How do you want the bot to run the check? Where is the codebase? Is it easy to make the patch (so we could automate it)? See how other checkmarks work.

I'm not sure. In T260554: Add lldwiki to Wikistats I saw that wiki is added in database via manual query, not via patch.

I think that bot should create subtask and have step included in description, and if subtask is closed (as resolved), then bot should mark it as done.

@Ladsgroup I'm not sure why bot removes "Wikistats step", can you add it to the bot?

How do you want the bot to run the check? Where is the codebase? Is it easy to make the patch (so we could automate it)? See how other checkmarks work.

I'm not sure. In T260554: Add lldwiki to Wikistats I saw that wiki is added in database via manual query, not via patch.

I think that bot should create subtask and have step included in description, and if subtask is closed (as resolved), then bot should mark it as done.

It should be a parent ticket: https://www.mediawiki.org/wiki/Phabricator/Help#Parent_tasks_and_subtasks

If Task A cannot be solved until Task B is solved, then Task A is the parent task and Task B is the subtask.

I'd say copy-paste what is being done for wikidata or restbase on the code, How can it check if it's in the wikistats? Is there an API?

How can it check if it's in the wikistats? Is there an API?

Currently the closest thing would be like:

curl "https://wikistats.wmcloud.org/api.php?action=dump&table=wikipedias&format=csv" | grep <language code>

But I could make something better some time.

For now I am watching creations of new wikis anyways so the extra task is not super high prio.. i should notice it either way.

Change 634774 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Initial configuration for smnwiki

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

The wiki creation was scheduled for Monday Oct 19, 12:00-13:00 UTC.

Change 634774 merged by jenkins-bot:
[operations/mediawiki-config@master] Initial configuration for smnwiki

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

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:10:28Z] <urbanecm@deploy1001> Synchronized wmf-config/db-eqiad.php: Creating smnwiki (T264859) (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:11:33Z] <urbanecm@deploy1001> Synchronized wmf-config/db-codfw.php: Creating smnwiki (T264859) (duration: 00m 55s)

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:12:37Z] <urbanecm@deploy1001> Synchronized dblists: Creating smnwiki (T264859) (duration: 00m 55s)

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:14:13Z] <urbanecm@deploy1001> rebuilt and synchronized wikiversions files: Creating smnwiki (T264859)

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:15:45Z] <urbanecm@deploy1001> Synchronized static/images/project-logos/: Creating smnwiki (T264859) (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:16:51Z] <urbanecm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Creating smnwiki (T264859) (duration: 00m 55s)

Change 634949 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Add smn to langlist

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

Change 634949 merged by jenkins-bot:
[operations/mediawiki-config@master] Add smn to langlist

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

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:22:12Z] <urbanecm@deploy1001> Synchronized langlist: Creating smnwiki (T264859) (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2020-10-19T12:26:28Z] <Urbanecm> Creation of smnwiki is done (T264859)

Urbanecm claimed this task.

Wiki has been created.

Although the wiki has been added to the sitematrix, it has not shown up in the interwiki map yet (i.e., [[:smn:]] doesn't work). Isn't that usually done as part of the wiki-creation task?

In T264859#6562670, I said:

it has not shown up in the interwiki map yet (i.e., [[:smn:]] doesn't work).

Now works. Not sure what the delay was about.

Although the wiki has been added to the sitematrix, it has not shown up in the interwiki map yet (i.e., [[:smn:]] doesn't work). Isn't that usually done as part of the wiki-creation task?

Seems to be a weird cache issue - I always update the interwiki cache when I create a wiki.

Article previews doesn't work because RESTBase config is broken? This is a visible problem because the article preview is toggled on by default in the settings.

{"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route","title":"Not found.","method":"get","uri":"/smn.wikipedia.org/v1/page/summary/Aanaar"}

Article previews doesn't work because RESTBase config is broken? This is a visible problem because the article preview is toggled on by default in the settings.

{"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route","title":"Not found.","method":"get","uri":"/smn.wikipedia.org/v1/page/summary/Aanaar"}

T264961: Add smnwiki to RESTBase

For now I am watching creations of new wikis anyways so the extra task is not super high prio.. i should notice it either way.

I will be offline for a bit. Meanwhile @-jem- can help with adding new wikis to wikistats