Re: Get a configuration variable at runtime

Brian Wolff <[email protected]>
Newsgroups gmane.science.linguistics.wikipedia.technical
Message-ID <CA+oo+DWn=4_LFxZp+5u0A+Kw188Q4aG2FYop9qgvScQo36eVtw@mail.gmail.com>
It should be defined at
https://gerrit.wikimedia.org/g/operations/mediawiki-config/+/df0f99e231a682f63f82e4b4a00ecce52bd22ed9/wmf-config/CommonSettings.php#1324
. As far as i can tell its not set dynamiclly so should have the same value
at all wikimedia wikis.

--
Bawolff

On Wednesday, 17 December 2025, יגאל חיטרון <[email protected]> wrote:

> I've made a Gerrit change for a Phabricator task that uses the
> $wgSiteMatrixSites variable, which is created at runtime. How can I view
> its value on Meta?
>
> The issue is that this variable seems to have a different structure on
> each site, depending on the available data. I’ve written traversal code
> designed to handle any possible structure, but I can’t confirm if it works
> correctly for Meta.
>
> If I could get the Meta value—or even just the first few pages—it would be
> very helpful.
>
> Thank you in advance.
> Igal (User:Ikhitron)
>

_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.