Template talk:Tool/text

From Wikidata
Jump to navigation Jump to search

importScript is deprecated

[edit]

Please update so it uses mw.loader.load. See mw:ResourceLoader/Legacy JavaScript. Thanks. —MarcoAurelio (talk) 14:41, 15 June 2017 (UTC)[reply]

✓ Done --Kaganer (talk) 14:45, 22 June 2017 (UTC)[reply]
@Kaganer: Thanks. However I think the syntax should be mw.loader.load('//www.wikidata.org/w/index.php?title={script_path}&action=raw&ctype=text/javascript');. —MarcoAurelio (talk) 09:18, 23 June 2017 (UTC)[reply]
Fixed again. --Kaganer (talk) 11:37, 23 June 2017 (UTC)[reply]