Last modified: 2012-08-25 13:00:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20958, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18958 - reuse $wgDisableLangConversion to be able to disable the conversion entirely
reuse $wgDisableLangConversion to be able to disable the conversion entirely
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Language converter (Other open bugs)
1.16.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://zh.wikipedia.org/wiki/Special:...
: i18n
Depends on: 18870
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 18:06 UTC by Shinjiman
Modified: 2012-08-25 13:00 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Shinjiman 2009-05-27 18:06:15 UTC
The initial introduction of the $wgDisableLangConversion value was implemented on r6569, and this value has been abandoned on r6817. I think this value should be useful to disable the conversion entirely.

see also bug 18870.
Comment 1 Brion Vibber 2009-05-27 18:19:18 UTC
Negative settings like this are confusing; if it's necessary at all as a site setting it should be something like $wgEnableLangConversion (or $wgEnableLangVariants?). This was false means off and true means on, which is easier to remember. :)
Comment 2 Shinjiman 2009-05-28 18:17:07 UTC
Hopefully this could be fixed on r51128.

The variabled is changed from $wgDisableLangConversion to $wgEnableVariants 
to make this more clear. :)
Comment 3 Shinjiman 2009-06-03 08:24:10 UTC
A type check has been applied on r51390 to check whether is is 0 (disabled) or null (not set, by default).
Comment 4 Shinjiman 2009-06-04 09:54:03 UTC
Reverted in r51460 by Werdna, per issues pointed out on Code Review.
Comment 5 Helder 2010-08-15 21:49:53 UTC
I'm not sure if it is related to this bug, but if I add

$wgDisableLangConversion = true;

to LocalSettings.php and create a page with <math>a+b</math>, it is displayed -{R|a + b}- (and if I remove the setting, the formula works as expected).

Should this be reported as a new bug or is it a consequence of this one?
Comment 6 Liangent 2012-08-25 13:00:01 UTC
Current state:

1. $wgDisableLangConversion is still there as a working conf setting.
2. User pref setting hadn't been used for years, and was removed in I92e8de7d. *

* No good reason to make this working, as this user will not be able to view pages written by others with any conversion syntax. It's more usable to set user variant to the main language code.

The issue reported by mybugs.mail:

Have to be fixed after I90965346 is merged or there'll be a conflict (not merging conflict but designing conflict), but I90965346 depends on Iec98e472 which is pending review.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links