MediaWiki talk:Wdsearch-autodesc.js: Difference between revisions

Content deleted Content added
jslint warnings: new section
Line 93:
[[User:SPage (WMF)|SPage (WMF)]] ([[User talk:SPage (WMF)|talk]]) 22:29, 20 August 2015 (UTC)
:{{done}}. Thanks, [[User:Nakon|<span style="color:#C50;">'''Nakon'''</span>]] 23:35, 20 August 2015 (UTC)
 
== jslint warnings ==
 
If I copy {{ARTICLEPAGENAME}} and edit it, the jslint in the code editor (extension CodeEditor I think) warns about various coding issues, as does standalone JSHint. Some of them have uncontroversial fixes, I made them in [https://www.wikidata.org/w/index.php?title=User%3ASPage_%28WMF%29%2FWdsearch-autodesc.js&type=revision&diff=244393005&oldid=244389496 this diff]. With these fixes I'm down to no warnings and one error, but the latter is "Too many errors. (34% scanned)."
Other warnings involving tests for null and falsy require more consideration.