Most of the global references in DevelopmentSettings.php are at the top
A handful are scattered throughout the file
Can we standardise to having them all at the top?
Most of the global references in DevelopmentSettings.php are at the top
A handful are scattered throughout the file
Can we standardise to having them all at the top?
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| DevelopmentSettings: Make sure all currently used global have a `global` call | Reedy | mediawiki/core | master | +4 -5 |
Change 628874 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] DevelopmentSettings: Make sure all currently used global have a global call
Noting that patch doesn't actually do this... But at least standardises that all used globals have a global call...
Can we standardise to having them all at the top?
Or at least, in the section where they're used. Not some in lower sections, but globalised at the top...
The file is divided into separate sections. I placed globals intentionally in their own sections originally. +1 to cleaning up any drift from that.
Change 628874 merged by jenkins-bot:
[mediawiki/core@master] DevelopmentSettings: Make sure all currently used global have a global call