Page MenuHomePhabricator

APISite.fromDBName wiki recognition issues
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Save all WMF wikis db names
  2. Remove private WMF wikis from the list
  3. Run APISite.fromDBName for each

Expected behavior
All should go well.

Current behavior
The following wikis produce an error:
['advisorywiki', 'donatewiki', 'etwikimedia', 'gewikimedia', 'grwikimedia', 'hiwikimedia', 'labtestwiki', 'loginwiki', 'ngwikimedia', 'nostalgiawiki', 'punjabiwikimedia', 'qualitywiki', 'romdwikimedia', 'strategywiki', 'testcommonswiki', 'usabilitywiki', 'votewiki']

I am not sure if everything can be fixed, but at least we should try to fix as much as possible.

Event Timeline

Dvorapa renamed this task from APISite.fromDBName issues to APISite.fromDBName wiki recognition issues.Apr 21 2020, 1:49 PM

Change 591372 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[pywikibot/core@master] Update wikimediachapter_family

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

donatewiki, loginwiki, nostalgiawiki are service wikis (memorial in case of nostalgiawiki) and aren't touched by humans, except highly specific cases.

labtestwiki is Wikitech test wiki, and again is highly special and doesn't need to be in Pywikibot.

testcommonswiki was created solely due to suggested edits thing - it may or may not stay in WMF prod.

etwikimedia is be-tarask #1323, the wiki has old dbname, but new URL etc. It's at ee.wikimedia.org.

votewiki is a single purpose wiki used for some major elections (enwiki arbcom and board of trustees at least). No need to edit, you just vote there :-).

Rest is closed/obscure working wikis, and they're not worth adding to PWB IMO.

labtestwiki is Wikitech test wiki, and again is highly special and doesn't need to be in Pywikibot.
testcommonswiki was created solely due to suggested edits thing - it may or may not stay in WMF prod.

We usually support test wikis as they server specifically for testing things (like Pywikibot).

Change 591372 merged by jenkins-bot:
[pywikibot/core@master] Update wikimediachapter_family

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

Change 591379 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[pywikibot/core@master] Add ngwikimedia to PWB

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

Change 591380 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[pywikibot/core@master] Add testcommonswiki to PWB

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

Change 591379 merged by jenkins-bot:
[pywikibot/core@master] Add ngwikimedia to PWB

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

Change 591380 merged by jenkins-bot:
[pywikibot/core@master] Add testcommonswiki to PWB

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

Dvorapa assigned this task to Urbanecm.
Dvorapa triaged this task as Medium priority.
Dvorapa removed a project: Patch-For-Review.

Seems the important were added, other are closed or not appropriate for bot edits. Many thanks!