Jump to content

User:Magioladitis/AWB and CHECKWIKI

From Wikipedia, the free encyclopedia

AutoWikiBrowser can be used by editors and bots to fix common syntax errors. WP:CHECKWIKI (direct link) provides lists of syntax errors. The following list shows which errors can be fixed by WP:AWB. The column "Module or Regex" provides hints of how to create skip conditions in AWB. Those marked as "bot" need user attention.

  Yes   Partial   Alert   Manual

Error Description AWB Bot AWB
Module or Regex
Database Search Last Scan Whitelist WPC
1 Template contains useless word template: Yes Yobot & BG19bot 01/2017 Yes
2 Tag with incorrect syntax Yes[1] Yobot & BG19bot Regex:< *br\. *>|<\\ *br *>|< *br *\\ *>|< *br\. */>
|< *br */([a-z/0-9•]|br)>|< *br *\?>|</ *br */?>
02/2017 whitelist Yes
3 Reference list missing Partial[2] Xqbot AddMissingReflist Category:Pages with incorrect ref formatting
Category:Pages with missing references list
02/2017 whitelist Yes
4 HTML text style element <a> No 01/2017 whitelist Yes
5 Comment tag without correct end Alert Jan 2017 whitelist Yes
6 DEFAULTSORT with special characters Yes Yobot & BG19bot ChangeToDefaultSort 01/2017 whitelist
7 Headlines all start with three "=" Yes Yobot & BG19bot FixHeadings 01/2017 Yes
8 Headline should end with "=" Partial Yobot & BG19bot & Dexbot FixHeadings Jan 2017 Yes
9 Multiple categories on one line Yes Yobot & BG19bot N/A Yes
10 Square brackets without correct end Partial FixUnbalancedBrackets
FixSyntaxRedirects
Jan 2017 whitelist
12 HTML list elements No[3] Jan 2017
13 Math tag without correct match Alert N/A Yes
14 Source tag without correct match Alert N/A whitelist Yes
15 Code tag without correct match Alert Jan 2017 whitelist Yes
16 Unicode control characters Partial[4] Yobot & FrescoBot Regex: \u200E|\uFEFF|\u200B|\u2028|\u202A|
\u202C|\u202D|\u202E|\u00AD can be removed

Regex: \u2004|\u2005|\u2006|\u2007|\u2008 can be replaced by space
Additionally \u00A0 in most cases be replaced
by normal space or by nbsp.

Jan 2017 Yes
17 Category duplication Yes[5] Yobot & BG19bot Sort Jan 2017 Yes
18 Category's first letter is small Yes Yobot & BG19bot Regex: \[\[[Cc]ategory:[a-z]
Case sensitive on
N/A
19 Headlines start with one "=" No BG19bot & Dexbot Jan 2017 whitelist Yes
20 The article had a &dagger; (not †) and &Dagger; (not ‡) Yes[6] Yobot Unicodify &dagger; N/A Yes
22 Category with space Yes Yobot & BG19bot FixCategories \[\[\s*Category:\s N/A
23 Nowiki tag without correct match Alert 01/2017 Yes
24 Pre tag without correct match Alert N/A whitelist Yes
25 Headline hierarchy Partial BG19bot & Dexbot FixHeadings Jan 2017 whitelist Yes
26 HTML text style element <b> (bold) Yes[7] Yobot & BG19bot FixSyntax Regex: <\s*[\\]?b[\\]?\s*> Jan 2017 whitelist Yes
28 Table without correct end No Jan 2017 whitelist Yes
29 Image gallery without correct match Alert Jan 2017 Yes
31 HTML table element No Jan 2017 whitelist
32 Double pipe in a link Partial[8] Yobot FixSyntax Jan 2017 whitelist
34 Template programming element[false 1] Partial[9] Jan 2017 whitelist
36 Redirect with incorrect syntax Yes FixSyntaxRedirects N/A
37 DEFAULTSORT missing for titles with special letters Yes[10] Yobot & BG19bot ChangeToDefaultSort Jan 2017 whitelist
38 HTML text style element <i> (italics) Yes[11] Yobot & BG19bot FixSyntax Regex: <\s*[\\]?i[\\]?\s*> Jan 2017 whitelist Yes
39 HTML text style element <p> Partial[12] FixDates </p> <b/>
Regex: <p(\s*|>)
Jan 2017 whitelist
40 HTML text style element <font> Partial[13] BG19bot Regex <font Jan 2017 whitelist
42 HTML text style element <strike> Yes Yobot & BG19bot <strike> N/A Yes
43 Template without correct end Partial FixUnbalancedBrackets Jan 2017 whitelist
44 Headlines with bold Partial[14] FixHeadings Jan 2017
45 Interwiki duplication Yes Yobot & BG19bot Sort N/A
46 Square brackets without correct beginning Partial FixUnbalancedBrackets
FixSyntaxRedirects
Jan 2017 whitelist
47 Template without correct beginning Partial Jan 2017 whitelist
48 Title linked in text Yes Yobot & BG19bot FixLinks Jan 2017 whitelist Yes
49 Headline with HTML No Jan 2017 whitelist
52 Category before last headline Yes Yobot & BG19bot SortMetaData N/A
54 Break in list Yes Yobot & BG19bot FixSyntax N/A whitelist Yes
55 HTML text style element <small> double Partial[15] FixSmallTags Jan 2017 Yes
57 Headlines end with a colon Yes Yobot & BG19bot FixHeadings N/A
58 Headline all CAPS No Jan 2017 whitelist
59 Template value ends with break Yes Yobot & BG19bot User:Yobot/Error 59 N/A
60 Template parameter with a problem No Jan 2017 whitelist
61 Reference before punctuation Yes Yobot & BG19bot RefsAfterPunctuation Jan 2017 whitelist
62 URL without http:// Yes Yobot & BG19bot Regex: (<ref\b[^<>]*>\s*\[?)
(www\w*\.)(?![^<>[\]{|}]*\[\w*:?\/\/)
Jan 2017 whitelist
63 HTML text style element <small> in ref, sub or sup Yes Yobot & BG19bot FixSmallTags Jan 2017
64 Link equal to linktext Partial Yobot & BG19bot & FrescoBot Regex Regex: \s+\[\[([^|:]*)\|\1\]\]\s+
"Case Sensitive" checked
Jan 2017 whitelist Yes
65 Image description ends with break Yes Yobot & BG19bot Jan 2017 whitelist
66 Image description with full <small> Yes Yobot & BG19bot FixSyntax N/A
69 ISBN with incorrect syntax Partial Jan 2017 whitelist Yes
70 ISBN with wrong length No Jan 2017 whitelist Yes
71 ISBN with wrong position of X No N/A whitelist Yes
72 ISBN-10 with wrong checksum[16] No Jan 2017 whitelist Yes
73 ISBN-13 with wrong checksum No Jan 2017 Yes
74 Link without target, for example [[|linktext]] Partial Yobot N/A
76 Link with encoded space Partial[17] Yobot N/A
78 Reference list duplication No Jan 2017
80 External link with a line break Partial FixSyntax Jan 2017
83 Headlines start with three "=" and later with level two No BG19bot & Dexbot Jan 2017 Yes
84 Section without content Partial[18] N/A
85 Tags without content Partial Jan 2017
86 External link with two brackets Yes[19] Yobot & BG19bot FixSyntax Regex: \[\[\s*https?:// N/A
88 DEFAULTSORT with a blank at first position Yes Yobot & BG19bot FixSyntax Regex: \{\{DEFAULTSORT:\s N/A
89 DEFAULTSORT without space after the comma Yes N/A whitelist
90 Internal link written as an external link No Jan 2017 whitelist
91 Interwiki link written as an external link No Jan 2017
93 External link with double http:// Yes Yobot & BG19bot FixSyntax Regex: https?:[\/]{0,2}https?: N/A
94 Reference tags without correct match Alert[20] Jan 2017
95 Editor's signature or link to user space Alert 01/2017 whitelist
96 Table of Contents after first headline No Jan 2017
97 TOC has material after it and before the first headline No User:Yobot/Error 97 Jan 2017
98 Subscript tag without correct match Alert Jan 2017 whitelist Yes
99 Superscript tag without correct match Alert Jan 2017 Yes
100 List tag without correct match Alert N/A whitelist Yes
101 Ordinal number found inside <sup> tags Yes Yobot & BG19bot N/A whitelist Yes
102 PMID with incorrect syntax Yes Yobot & BG19bot Jan 2017 Yes
103 Pipe magicword inside wikilink Yes Yobot & BG19bot Jan 2017 Yes
104 Unbalanced quotes in ref name or illegal character Yes Yobot & BG19bot Jan 2017 Yes
105 Headline should begin with "=" No Jan 2017 whitelist Yes
106 ISSN with incorrect syntax Partial Yobot Jan 2017 Yes
107 ISSN with wrong length No 01/2017 Yes
108 ISSN with wrong checksum No 01/2017 Yes
109 Include tag error No 01/2017 Yes
111 Ref after last reference list No N/A Yes
112 Invalid css No Jan 2017 whitelist

AWB Notes

  1. ^ It doesn't cover only some really rare cases
  2. ^ Inserts the section header and the reference tag if there are already other headers
  3. ^ Not always a replacement is possible. Check for instance bugzilla:44820
  4. ^ Use F&R to remove regex \u200E|\u200F|\uFEFF|\u200B|\u2028|\u202A|\u202B|\u202C|\u202D|\u202E|\uFFFC. And replace \u2004|\u2005|\u2006|\u2007|\u2008 with normal space. This won't work if "Skip if no changes" and this is the only change.
  5. ^ It won't fix same category with different keys.
  6. ^ It won't unicodify the page if it contains a math tag
  7. ^ It won't fix unbalanced tags
  8. ^ It fixes [[foo||bar]]>[[foo|bar]], [[foo|bar|]]>[[foo|bar]] and some more
  9. ^ AWB fixes all the magic words
  10. ^ It does not cover some weird non alphabet cases
  11. ^ It won't fix unbalanced tags
  12. ^ It won't fix tags inside blockquote etc.
  13. ^ It won't fix tags inside blockquote etc.
  14. ^ Corrects only cases where the whole title is bold
  15. ^ Does not handle 3 small tags in a row nor double </small></small> in a row.
  16. ^ Many in-use ISBNs have invalid checksums due to publisher errors. See ISBN#Errors_in_usage.
  17. ^ The CHECKWIKI regex is too greedy. %20 should not be replaced inside urls
  18. ^ Autotagging can only tag with {{Empty section}} empty sections with level 2 header
  19. ^ It won't fix double brackets to ftp
  20. ^ It fixes a small number of cases

CheckWiki False positives

  1. ^ {{{|}} is needed in infoboxes as some cannot identify {| as the start of a wikitable.

See also