I wrote:
[...]
However, all my creativity regarding parameters to
getAll()
only returned an empty array.
What would be the parameters needed for example to get
the
settings for de.wikipedia.org?
Some further debugging showed that $wgConf->settings didn't
get set. This code works with "php dumpSettings.php
zhwikivoyage":
| <?php
| $IP = 'wmf-config';
| $cluster = 'pmtpa';
| $wmfConfigDir = $IP;
| require ('/home/tim/public_html/w/includes/SiteConfiguration.php');
| require ('multiversion/MWRealm.php');
| require ('wmf-config/wgConf.php');
| require ('/home/tim/public_html/w/includes/Defines.php');
| require ('wmf-config/InitialiseSettings.php');
| var_dump ($argv [1], $wgConf->getAll ($argv [1]));
Testing it for example on
https://gerrit.wikimedia.org/r/109076/ shows changes in
wgAddGroups/sysop and wgRemoveGroups/sysop as expected.
Tim