[Mediawiki-l] 1.5 underline option - browser setting problem

Tim Whitehouse whitehousetim at rgv.rr.com
Wed Oct 12 18:54:55 UTC 2005


I just installed 1.5 and notice the links were now underlined, 
overriding the browser settings. That was fixed by a user preference 
change. When trying to change the site default for new anonymous users I 
was able to set it to "Never" or "Always" but had a problem when setting 
it to "Browser Setting". It acted like the "Never" option instead.

To make the change I added the following line in LocalSettings.php:

$wgDefaultUserOptions['underline'] = 2;

I guessed by looking at some code that 0=Never, 1=Always, and 2=Browser 
Setting. Is this documented anywhere?

When using 2 as the setting and creating a new user the default did show 
as "Broswer Setting" in the Misc Preference but it still wouldn't 
underline the links even with the browser set to underline. I have tried 
multiple times by resetting the cache and with control-shift R (in 
Mozilla) but it still doesn't underline. It change from underline to 
non-underline fine when I changed between Never (0) and Always (0) so I 
don't think it is a cache problem.

Does anyone else have this problem or know a fix?

Tim




More information about the MediaWiki-l mailing list