Template talk:User SUL Box

From Wikidata
Jump to navigation Jump to search

RTL

[edit]

@Thomas Linard: May I ask why you took the RTL adjustments out of this template? StevenJ81 (talk) 17:12, 3 December 2018 (UTC)[reply]

Hi @StevenJ81:, see for yourself the effect of these adjustments: https://www.wikidata.org/w/index.php?title=Template:User_SUL_Box&oldid=610125798 : "LangSwitch Error: no default"
Thomas Linard (talk) 20:47, 3 December 2018 (UTC)[reply]
OK. It used to default anyway. I can fix that easily enough ... StevenJ81 (talk) 21:25, 3 December 2018 (UTC)[reply]
@Thomas Linard: Fixed. When the core of {{LangSwitch}} was changed to a module, the change broke some of the default behavior. (I really wish people would check existing usage cases first.) I can't quite figure out how the current module works, but for now I changed the template to use #ifeq, and it works again. If someone writes an Arabic (say) version, we can use #switch, and that should be fine. StevenJ81 (talk) 21:39, 3 December 2018 (UTC)[reply]
@StevenJ81:, perfect! The template isn't broken anymore. Thanks! Thomas Linard (talk) 07:10, 4 December 2018 (UTC)[reply]