Template talk:Js
From Wikipedia, the free encyclopedia
Interwiki:
[edit] </script>
Could someone please change </script> to </s'+'cript>? It's breaking 'show preview' on monobook.js, because when the browser comes across the </script> in the string it assumes it's the end of the script and prints an error message. --ais523 09:54, 1 November 2006 (UTC)
[edit] importScript
{{editprotected}} There is now a way of accomplishing this using site-wide JS, which simplifies and shortens the template. Could the whole template, apart from the noinclude section, be changed to this:
importScript('{{{1}}}'); //[[{{{1}}}]]
Thanks. --ais523 09:09, 20 February 2007 (UTC)
- I've mentioned this at Wikipedia talk:WikiProject User scripts in the hopes of getting more eyes on this (especially eyes who know Javascript a lot better than I do). – Luna Santin (talk) 22:27, 21 February 2007 (UTC)
-
-
-
- Please remove the first line (// Script from [[{{{1}}}]]). When the import code was three lines, it made sense to have that on a fourth, but now it should be on the same line, and already is. — Randall Bart 16:34, 9 March 2007 (UTC)
-
-
Also most of the decription can be replaced with link Wikipedia:Monobook. — Alex Smotrov 16:55, 9 March 2007 (UTC)
[edit] Documentation
Please use {{documentation}} 16@r (talk) 15:27, 16 May 2008 (UTC)