In https://gerrit.wikimedia.org/r/#/c/244142/ a wrong wiki name was added to InitialiseSettings.php - "nbwiki" instead of "nowiki".
It would be useful to catch this before it gets deployed using some kind of a test.
In https://gerrit.wikimedia.org/r/#/c/244142/ a wrong wiki name was added to InitialiseSettings.php - "nbwiki" instead of "nowiki".
It would be useful to catch this before it gets deployed using some kind of a test.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[tests] Ensure only existing wikis are referenced from IS.php | operations/mediawiki-config | master | +30 -0 |
A test has been introduced recently that loads InitialiseSettings.php. So one can no easily write a test that verify that keys of each of our settings are valid dblist filename | wiki database | 'default'.
Change 467448 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] [tests] Ensure only existing wikis are referenced from IS.php
Change 467448 merged by jenkins-bot:
[operations/mediawiki-config@master] [tests] Ensure only existing wikis are referenced from IS.php