User:Qwerfjkl/Fixing CheckWiki errors

This page contains instructions for fixing Check Wikipedia errors via Bandersnatch. To use Bandersnatch, paste the following in to your common.js page:

mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/search%2B%2B.js&action=raw&ctype=text/javascript'); //related
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/diff.js/core.js&action=raw&ctype=text/javascript'); mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/bandersnatch.js&action=raw&ctype=text/javascript');
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {   mw.util.addPortletLink(     'p-tb',     mw.util.getUrl('Special:Bandersnatch'),     'Bandersnatch',     't-bandersnatch',     'Run Bandersnatch'   );
});

To use Bandersnatch, click on the link in the toolbar. You can get the list of articles from clicking on the task number in the list, and then "List for bots!". Replace the code with the code provided, if avaliable. If not, You can try AWB or WPCLEANER. The ticks indicate whether the tool can handle it: green means yes, yellow means it can sometimes handle it, sometimes it just warns; and orange ticks mean the tool only warns.

# Priority Cosmetic Error WPC AWB AF Type Reason
03
(dump)
High No Reference list missing checkY checkY Display problem The article contains one or more <ref> tags, but is missing a {{Reflist}} or <references /> tag
04
(dump)
Mid No HTML text style element <a> checkY Display problems The article contains one or more <a> tags. <a> tags will not show up in the rendered article and should use normal wikilink code for external links.
05
(dump)
High No Comment tag with no correct end Display problem Missing closing comment tag. <!-- -->
06 Low No DEFAULTSORT with special characters checkY checkY checkY Syntax error Don't use special lettering in DEFAULTSORT
07
(dump)
Mid No Headlines all start with three "=" checkY checkY Accessibility First headline starts with "=== XY ===". It should be "== XY ==" header. This causes organisational and accessibility problems.
08
(dump)
High No Headline should end with "=" checkY checkY Display problem Headline should end with "=".
10 High No Square brackets with no correct end checkY checkY Display problem Found a "[[" brackets with no corresponding "]]" brackets.
13
(dump)
High No <math> tag without correct match Display problem Missing </math> or <math> tag.
14
(dump)
High No <source> tag without correct match Display problem Missing </source> or <source> tag.
15
(dump)
High No <code> tag without correct match Display problem Missing </code> or <code> tag.
19
(dump)
High No Headlines start with one "=" checkY Accessibility A heading section starts with just one "=". This causes organisational and accessibility problems
21 Off No Category: in English checkY checkY Incident detection [[Category: ]] found when the native language should be used
23
(dump)
High No <nowiki> without correct match Display problem Missing </nowiki> or <nowiki> tag.
24
(dump)
High No <pre> without correct match Display problem Missing </pre> or <pre> tag.
25
(dump)
Mid No Headline hierarchy checkY checkY Accessibility After a section headline "==", there should not be a headline of "====". This causes organisational and accessibility problems.
28
(dump)
High No Table with no correct end Display problem " tag, but no corresponding closing "|}" tag.
29
(dump)
High No <gallery> without correct match Display problem Missing </gallery> or <gallery> tag.
30 Off No Image without alternate description Accessibility
32 High No Double pipe in a link checkY checkY Display problem Article contains a wikilink like [[text|text2|text3]] (displays as text2|text3), [[text||text3]] or [[text|text2||]], or a broken wikilink inside a table.
34 High No Template programming element checkY Syntax error A template programming element, such as {{{1}}}, #if or #switch, was found. They are usually not needed or a regular template can be substituted instead.
35 Off No Image gallery without description checkY Accessibility
36 Low No Redirect with incorrect syntax checkY checkY Display problem Redirect will not work
37 Low No DEFAULTSORT missing for titles with special letters checkY checkY Display problem Don't use special lettering for sorting. DEFAULTSORT should be set without the special lettering.
39 Low No HTML text style element <p> checkY Accessibility Found a <p> tag. Usually should use wiki markup's blank line. Some tags, such as <ref> must use <p> due to a wikimedia bug.
43 High No Template with no correct end checkY checkY Display problem Found a "{{" brackets with no corresponding "}}" brackets.
44 (Bandersnatch) Low No Headlines with bold checkY checkY checkY Against convention A headline is all or partially bold. This should rarely be used and may or not be bold depending on the browser used.
45 Low No Interwiki duplication checkY checkY Display problem Duplicate entry. Now that interwiki links have been moved to wikidata, this error is possibly due to wikilinks that ought to be rendered that omits the leading : in pt:Jorge de Mascarenhas. Should often be converted to internal redlinks per WP:BUILD/WP:REDLINK.
46 High No Square brackets without correct beginning checkY checkY Display problem A broken wikilink was found.
47 High No Template without correct beginning Display problem Found a "}}" brackets with no corresponding "{{" brackets.
48
(dump) (Bandersnatch)
Low No Title linked in text checkY checkY Display problem A wikilink of the article's title was found. This creates an unnecessary circular wikilink per /WP:SELFREDIRECT and inappropriately bolds the linked word.
49 High No Headline with HTML checkY Accessibility
Source readability
Found a headline created with HTML tags <h1>, <h2>, etc. per and .
51 Mid No Interwiki before last headline checkY checkY Syntax error With interwikis no long used, this usually means a syntax problem with a interlanguage link, ie instead of de:foo
53 Mid No Interwiki before last category checkY checkY Syntax error With interwikis no long used, this usually means a syntax problem with a interlanguage link, ie instead of de:foo
54
(dump)
Low No Break in list checkY checkY checkY Accessibility WP:LISTGAP
55
(dump)
Low No Double <small> tags checkY checkY Accessibility Causes the text to be smaller than 85%. This goes against accessibility guidelines.
56 Off No Arrow as ASCII art checkY The article had an arrow like "<--" or "-->" or "<==" or "==>". Write better this arrow with the Unicode "←" or "→" or "⇐" or "⇒".
57 Low No Headlines end with a colon checkY checkY checkY Against convention Remove the :
58 Mid No Headline all CAPS checkY Against convention Headlines should normally use , unless referring to titles of works and all-caps acronyms.
59 Low No Template value ends with a <br> checkY checkY Syntax error Causes whitespace errors
60 High No Template parameter with a problem Syntax error Usually means a broken wikilink inside a template. Can also mean the '=' sign is missing and replaced with another character.
61 Low No Reference before punctuation checkY checkY checkY Display problem <ref> comes after not before various punctuation marks (.,?:;!); see WP:REFPUNC
62 High No URL without http:// checkY Syntax error A URL was found that contained no http://. Example: [en.wikipedia.org Wikipedia]
63 Low No <small> in a <ref>, <sub> or <sup> checkY checkY checkY Accessibility <ref> and <sub> tags already create smaller text. Adding a <small> would cause the text to be smaller than 85%. This goes against accessibility guidelines.
66 Low No Image description with full <small> checkY checkY Accessibility Image description text is already smaller. Adding a <small> would cause the text to be smaller than 85%. This goes against accessibility guidelines.
67 Off No Reference after punctuation (see 61 instead) checkY
68 Off No Link to other language checkY
69
(dump)
Mid No ISBN with incorrect syntax checkY checkY checkY Incorrect content Per WP:ISBN, the correct format is ISBN 978-2345-78383-1. Also finds ISBNs inside external links as Wikimagick doesn't work and ISBN template can cause problems.
70
(dump)
Mid No ISBN with wrong length Incorrect content ISBNs should have a length of 10 or 13 characters
71
(dump)
Mid No ISBN with wrong position of X Incorrect content X is only allowed in the last position of the ISBN
72
(dump)
Mid No ISBN-10 with wrong checksum Incorrect content ISBN checksum is wrong, verify the ISBN
73
(dump)
Mid No ISBN-13 with wrong checksum Incorrect content ISBN checksum is wrong, verify the ISBN
74 High No Link with no target checkY checkY Against convention
Incorrect content
foobar links to foobar. The pipe is either unneeded, someone forgot to give a target, or someone vandalized the article.
77 Off No Image description with partial <small> checkY
78 Low No Reference list duplication checkY Display problem Found two or more {{reflist}} or <references /> tags
79 Off No External link without description checkY
80 High No External link with a line break checkY checkY Display problem Found a newline character inside an external link or a missing closing bracket. A newline character causes the link not to work.
83
(dump)
Mid No Headlines start with three "=" and later with two "=" checkY Accessibility organisational and accessibility problems.
84 Off No Section without content checkY checkY
86 (Bandersnatch) High No External link with two brackets checkY checkY checkY Display problem Found an external link surrounded by double brackets.
Example: [Wikipedia]
87 Off No HTML named entities without semicolon checkY checkY Display problem
89 Low No DEFAULTSORT with no space after the comma checkY Syntax error The script found a DEFAULTSORT without a space after the comma . The causes the article to be sorted as the first DuBois article.
90 Mid No Internal link written as an external link checkY checkY Syntax error The script found an external link that should be replaced with a wikilink. An example would be on enwiki Larry Wall should be written as Larry Wall.
91 Mid No Interwiki link written as an external link checkY checkY Syntax error The script found an external link that should be replaced with an interwiki link. An example would be on enwiki Larry Wall should be written as fr:Larry Wall.
92
(dump)
Off No Headline double checkY Accessibility This causes navigation and accessibility issues
93 Mid No External link with double http:// checkY checkY Syntax error The script found an external link that had double http://. An example would be [http://http://www.google.com]
94 Mid No Reference tags with no correct match checkY Display problem A <ref> or </ref> tag was found without the corresponding beginning or ending tag.
95 Low No Editor's signature or link to user or draft space Syntax error See and WP:SIGNHERE
96 Mid No Table of Contents after first headline Accessibility TOC should be placed at the end of the lead section of the text, before the first section heading. Users of screen readers do not expect any text between the TOC and the first heading. See WP:TOC.
97 Mid No TOC has material after it and before the first headline Accessibility Screen readers don't process material that comes between the Table of Contents and first headline. See WP:TOC.
98
(dump)
High No <sub> with no correct end checkY checkY Display problem Missing </sub> tag. Can cause display problems in Visual Editor and mw:Html5Depurate
99
(dump)
High No <sup> with no correct end checkY checkY Display problem Missing </sup> tag. Can cause display problems in Visual Editor and mw:Html5Depurate
101
(dump)
Low No Ordinal number found inside tags checkY Against convention Ordinal numbers should be in regular text, not inside tags See .
102
(dump)
Mid No PMID with incorrect syntax checkY checkY checkY Incorrect content Per WP:PMID, the syntax should be PMID 4957203 Also checks if PMID is inside an external link as Magiclinks and {{PMID}} template won't work.
103
(dump)
Mid No Pipe Template inside a wikilink checkY Syntax error shouldn't be used inside a wikilink. | should be used instead.
104
(dump)
Mid No Unbalanced quotes in ref name checkY checkY checkY Syntax error The script found unbalanced quotes in a reference tag. For example <ref name="ref 1>
105
(dump)
High No Heading should begin with "=" Display problem A heading should begin with a "=".
106
(dump)
Mid No ISSN with incorrect syntax checkY checkY checkY Display problem The script found a problem with ISSN syntax. A normal ISSN looks like ISSN 3895-2372 or 3957-957X. There must be a - between the numbers (don't use dashes). Best if {{ISSN}} template is added. Also finds cases where the ISSN is inside an external linkss
107
(dump)
Mid No ISSN with wrong length Incorrect content The script checked the ISSN and found it not containing 8 characters. ISSN should have 8 characters.
108
(dump)
Mid No ISSN with wrong checksum Incorrect content The script checked the ISSN and found a problem with the checksum in the ISSN. Also see Category:Articles with invalid ISSNs.
109
(dump)
High No Include tag error Display problem The script found a problem with opening or closing tags for <includeonly>, <onlyinclude> or <noinclude> tags. This can cause transclusion problems.
110 Off No Include tag found Display problem The script found a <includeonly>, <onlyinclude> or <noinclude> tags.
111
(dump)
Off No Ref after last reference list Display problem There are <ref> tags, after the {{reflist}} or <references> tags.
113 Low No Newline inside a wikilink Display problem Found a newline character inside a wikilink. A newline character causes the wikilink not to work.
501 Bot No Spelling and typography checkY Proposals for fixing spelling and typography based on suggestions.
503 Off No Internal link in title
504
(dump)
Off No Reference in title
505 Off No Image without alternative description
506 Off No Reference with a numeric name
507 Off No Gallery without caption
508 Off No Missing template
510 Off No Non working pipe trick
511 Off No Internal link written as external link checkY Replaced by CW Error #90
512 Off No Interwiki link written as external link checkY Replaced by CW Error #91
513
(dump)
Off No Internal link inside external link An external links contains an internal link, see Special:LintErrors/wikilink-in-extlink
514 Off No Missing named reference