Commons:User scripts/users namespace/reports/User:Fox/omnitag.js
Jump to navigation
Jump to search
This is the report page for User:Fox/omnitag.js. It is bot-maintained. All manual changes might be overwritten.
jshint[edit]
- ISSUE:
line 8 character 17
: ['action'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopetag"] == 1) {
- ISSUE:
line 8 character 54
: ['projectscopetag'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopetag"] == 1) {
- ISSUE:
line 13 character 20
: eval can be harmful. - Evidence:var text = eval("(" + req.responseText + ")").query.pages;
- ISSUE:
line 18 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpTextbox1.value = '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}' + "\n" + document.forms["editform"].wpTextbox1.value;
- ISSUE:
line 18 character 57
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value = '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}' + "\n" + document.forms["editform"].wpTextbox1.value;
- ISSUE:
line 18 character 59
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value = '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}' + "\n" + document.forms["editform"].wpTextbox1.value;
- ISSUE:
line 18 character 109
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value = '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}' + "\n" + document.forms["editform"].wpTextbox1.value;
- ISSUE:
line 18 character 111
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value = '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}' + "\n" + document.forms["editform"].wpTextbox1.value;
- ISSUE:
line 18 character 137
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpTextbox1.value = '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}' + "\n" + document.forms["editform"].wpTextbox1.value;
- ISSUE:
line 19 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpSummary.value = 'Tagging as outside of the [[Commons:Project scope|project scope]] (using [[User:Garden/omnitag.js|omnitag]] script)';
- ISSUE:
line 20 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpMinoredit.checked = true;
- ISSUE:
line 21 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].submit();
- ISSUE:
line 22 character 19
: 'user' used out of scope. - Evidence:if(typeof(user) != 'undefined') window.setTimeout(function() { location.href = wgScript + "?title=User_talk:" + user + "&action=edit&projectscopenotify=1&projectscope=" + wgPageName; }, 1000);
- ISSUE:
line 26 character 17
: ['action'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopenotify"] == 1 && UrlParameters["projectscope"].length > 0 && wgNamespaceNumber == 3) {
- ISSUE:
line 26 character 54
: ['projectscopenotify'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopenotify"] == 1 && UrlParameters["projectscope"].length > 0 && wgNamespaceNumber == 3) {
- ISSUE:
line 26 character 98
: ['projectscope'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopenotify"] == 1 && UrlParameters["projectscope"].length > 0 && wgNamespaceNumber == 3) {
- ISSUE:
line 28 character 60
: ['projectscope'] is better written in dot notation. - Evidence:var projectscope = decodeURIComponent(UrlParameters["projectscope"].replace(/_/g, " "));
- ISSUE:
line 29 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 58
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 60
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 102
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 104
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 107
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 109
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 111
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 29 character 113
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscope + "\}\} \~\~\~\~";
- ISSUE:
line 30 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpSummary.value = 'Notification - [[' + projectscope+ ']] is outside of the [[Commons:Project scope|project scope]] (using [[User:Garden/omnitag.js|omnitag]] script)';
- ISSUE:
line 31 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpMinoredit.checked = true;
- ISSUE:
line 32 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].submit();
- ISSUE:
line 37 character 26
: Use '===' to compare with '0'. - Evidence:if(wgNamespaceNumber == 0 && !UrlParameters["projectscopetag"]) mw.util.addPortletLink("p-cactions", wgScript + "?title=" + wgPageName + "&action=edit&projectscopetag=1", "scope", "ca-scope");
- ISSUE:
line 37 character 48
: ['projectscopetag'] is better written in dot notation. - Evidence:if(wgNamespaceNumber == 0 && !UrlParameters["projectscopetag"]) mw.util.addPortletLink("p-cactions", wgScript + "?title=" + wgPageName + "&action=edit&projectscopetag=1", "scope", "ca-scope");
- ISSUE:
line 47 character 17
: ['action'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopeimgtag"] == 1) {
- ISSUE:
line 47 character 54
: ['projectscopeimgtag'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopeimgtag"] == 1) {
- ISSUE:
line 52 character 20
: eval can be harmful. - Evidence:var text = eval("(" + req.responseText + ")").query.pages;
- ISSUE:
line 57 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpTextbox1.value += '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}'
- ISSUE:
line 57 character 58
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}'
- ISSUE:
line 57 character 60
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}'
- ISSUE:
line 57 character 110
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}'
- ISSUE:
line 57 character 112
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}'
- ISSUE:
line 57 character 114
: Missing semicolon. - Evidence:document.forms["editform"].wpTextbox1.value += '\{\{speedydelete|outside of [[COM:PS|project scope]]\}\}'
- ISSUE:
line 58 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpSummary.value = 'Tagging as outside of the [[Commons:Project scope|project scope]] (using [[User:Garden/omnitag.js|omnitag]] script)';
- ISSUE:
line 59 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpMinoredit.checked = true;
- ISSUE:
line 60 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].submit();
- ISSUE:
line 61 character 19
: 'user' used out of scope. - Evidence:if(typeof(user) != 'undefined') window.setTimeout(function() { location.href = wgScript + "?title=User_talk:" + user + "&action=edit&projectscopeimgnotify=1&projectscopeimg=" + wgPageName; }, 1000);
- ISSUE:
line 65 character 17
: ['action'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopeimgnotify"] == 1 && UrlParameters["projectscopeimg"].length > 0 && wgNamespaceNumber == 3) {
- ISSUE:
line 65 character 54
: ['projectscopeimgnotify'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopeimgnotify"] == 1 && UrlParameters["projectscopeimg"].length > 0 && wgNamespaceNumber == 3) {
- ISSUE:
line 65 character 101
: ['projectscopeimg'] is better written in dot notation. - Evidence:if(UrlParameters["action"] == "edit" && UrlParameters["projectscopeimgnotify"] == 1 && UrlParameters["projectscopeimg"].length > 0 && wgNamespaceNumber == 3) {
- ISSUE:
line 67 character 63
: ['projectscopeimg'] is better written in dot notation. - Evidence:var projectscopeimg = decodeURIComponent(UrlParameters["projectscopeimg"].replace(/_/g, " "));
- ISSUE:
line 68 character 23
: ['editform'] is better written in dot notation. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscopeimg + "\}\} \~\~\~\~";
- ISSUE:
line 68 character 58
: Bad or unnecessary escaping. - Evidence:document.forms["editform"].wpTextbox1.value += "\{\{subst:Project scope|" + projectscopeimg + "\}\} \~\~\~\~";
- ISSUE:
line 68 character 58
: Too many errors. (61% scanned). - Evidence:undefined