Board Thread:Support Requests - Getting Started/@comment-13231684-20140308123927/@comment-24682754-20140312040914

There may be some errors in that script...

Main.java:1: error: class, interface, or enum expected if (mw.config.get("wgPageName") == "Special:PatrolArticleComments") { ^ Main.java:5: error: class, interface, or enum expected for (var i = 0; i < a.length; i++) { ^ Main.java:5: error: class, interface, or enum expected for (var i = 0; i < a.length; i++) { ^ Main.java:5: error: class, interface, or enum expected for (var i = 0; i < a.length; i++) { ^ Main.java:7: error: unclosed character literal '' +				^ Main.java:9: error: unclosed character literal				'" title="' + a[i].title + '">' + ^ Main.java:11: error: unclosed character literal ' by  by ' +				^ Main.java:13: error: unclosed character literal				'">' + ^ Main.java:16: error: class, interface, or enum expected return "&" + ltgt[e] + ";"; ^ Main.java:17: error: class, interface, or enum expected }) +				^ Main.java:18: error: unclosed character literal				''				^ Main.java:18: error: illegal line end in character literal				''				         ^ Main.java:20: error: class, interface, or enum expected			if (i + 1 == a.length) {			^ Main.java:21: error: unclosed character literal				$("#mw-content-text").html('\n' + b.join("\n") + '\n');				                           ^ Main.java:21: error: illegal character: \92				$("#mw-content-text").html('\n' + b.join("\n") + '\n');				                                ^ Main.java:21: error: unclosed character literal				$("#mw-content-text").html('\n' + b.join("\n") + '\n');				                                  ^ Main.java:21: error: unclosed character literal				$("#mw-content-text").html('\n' + b.join("\n") + '\n</ul>');				                                                     ^ Main.java:21: error: unclosed character literal $("#mw-content-text").html('\n' + b.join("\n") + '\n</ul>'); ^ Main.java:22: error: class, interface, or enum expected }			^ Main.java:25: error: class, interface, or enum expected } else { ^ Main.java:26: error: unclosed character literal $(".tools").last.append('<a href="/wiki/Special:PatrolArticleComments">Patrol Comments</a></li>'); ^ Main.java:26: error: unclosed character literal $(".tools").last.append('<a href="/wiki/Special:PatrolArticleComments">Patrol Comments</a></li>'); ^ Main.java:27: error: class, interface, or enum expected } ^ 29 errors