-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
shinjiman@svn.wikimedia.org wrote:
- Added $wgDisableTitleConversion to disabling the conversion for all
pages on the wiki (this one is useful for some wikis that do not need the title conversion for the entire wiki like Wiktionary)
As a general note, it's easier and more consistent to conceptualize "positive" configuration settings.
That is, these is easier to understand:
$wgEnableTitleConversion = true; $wgEnableTitleConversion = false;
than these:
$wgDisableTitleConversion = false; $wgDisableTitleConversion = true;
We switched from $wgDisableUploads to $wgEnableUploads a few versions ago and I think it's definitely easier to understand. :)
I'd recommend switching these new ones too.
- -- brion
As a general note, it's easier and more consistent to conceptualize "positive" configuration settings.
The downside is that it requires people to memorise or look up the defaults. If everything defaults to false, it's much easier in that respect.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thomas Dalton wrote:
As a general note, it's easier and more consistent to conceptualize "positive" configuration settings.
The downside is that it requires people to memorise or look up the defaults. If everything defaults to false, it's much easier in that respect.
Given that defaults can and do evolve over time, and that many settings are not booleans to begin with, that wouldn't seem very easy to me.
- -- brion
Given that defaults can and do evolve over time, and that many settings are not booleans to begin with, that wouldn't seem very easy to me.
Well, neither my idea or yours are relevant for non-boolean settings, so we can ignore that argument. The fact that defaults change over time is a good one, though, it's easier to change the default than the name of the setting!
wikitech-l@lists.wikimedia.org