Jump to content

User:Magioladitis/AWB and CHECKWIKI: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
expanded #2
Add new errors #1 and #62
Line 15: Line 15:
! width:50px | Last Scan
! width:50px | Last Scan
! width:50px | Whitelist
! width:50px | Whitelist
|-
| style="background-color:white; text-align:center;" | <span class="plainlinks">{{CWerror|1}}</span>
| style="background-color:white;" | Template containing the word template
| style="background-color:white;" |
|
|
|
| style="text-align:center;" | [[Wikipedia:CHECKWIKI/001 dump | ]]
|
|-
|-
| style="background-color:lightgreen; text-align:center;" | <span class="plainlinks">{{CWerror|2}}</span>
| style="background-color:lightgreen; text-align:center;" | <span class="plainlinks">{{CWerror|2}}</span>
Line 456: Line 465:
| style="text-align:center;" | [[Wikipedia:CHECKWIKI/061 dump | Rechecked ]]
| style="text-align:center;" | [[Wikipedia:CHECKWIKI/061 dump | Rechecked ]]
|
|
|-
|-
| style="background-color:white; text-align:center;" | <span class="plainlinks">{{CWerror|62}}</span>
| style="background-color:white;" | URL not containing http://
| style="background-color:white;" |
|
|
|
| style="text-align:center;" | [[Wikipedia:CHECKWIKI/062 dump | ]]
|
|-
|-
| style="background-color:lightgreen; text-align:center;" | <span class="plainlinks">{{CWerror|63}}</span>
| style="background-color:lightgreen; text-align:center;" | <span class="plainlinks">{{CWerror|63}}</span>

Revision as of 22:15, 31 December 2013

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.

  Yes   Partial   Alert   Manual

Error Description AWB Bot AWB
Module or Regex
Database Search Last Scan Whitelist
1 Template containing the word template
2 Article with false <br/> Yes[1] Yobot & BG19bot Regex:< *br\. *>|<\\ *br *>|< *br *\\ *>|< *br\. */>|< *br */([a-z/0-9•]|br)>|< *br *\?>|</ *br */?> 12/2013
3 Article with <ref> and no <references /> Partial[2] Xqbot AddMissingReflist Category:Pages with incorrect ref formatting and Category:Pages with missing references list contain these cases. 12/2013
4 HTML text style element <a> whitelist
5 Comment not correct end Alert Dec dump
6 DEFAULTSORT with special characters Yes Yobot & BG19bot ChangeToDefaultSort Rechecked whitelist
7 Headlines start with three "=" Yes Yobot & BG19bot FixHeadings 12/2013
8 Headline should end with "=" Partial Yobot & BG19bot FixHeadings 12/2013
9 Categories more at one line Yes Yobot & BG19bot 12/2013
10 Square brackets not correct end Partial FixUnbalancedBrackets
FixSyntaxRedirects
12/2013 whitelist
12 HTML list elements No[3] Dec dump
13 Math not correct end Alert 12/2013 whitelist
14 Source not correct end Alert 0 whitelist
15 Code not correct end Alert 12/2013
16 Article with Unicode control characters No[4] Yobot & FrescoBot Regex: \u200E|\uFEFF|\u200B|\u2028 12/2013
17 Category double Yes[5] Yobot & BG19bot Sort 12/2013
18 Category first letter small Yes Yobot & BG19bot Regex: \[\[[Cc]ategory:[a-z]
Case sensitive on
12/2013
19 Headlines start with one "=" No BG19bot 12/2013
20 The article had a &dagger; (not †) and &Dagger; (not ‡) Yes[6] Unicodify &dagger; 12/2013
22 Category with space Yes Yobot & BG19bot FixCategories \[\[\s*Category:\s 0
23 Nowiki not correct end Alert
24 Pre not correct end Alert 0 whitelist
25 Headline hierarchy Partial BG19bot FixHeadings 12/2013 whitelist
26 HTML text style element <b> Yes[7] Yobot & BG19bot FixSyntax Regex: <\s*[\\]?b[\\]?\s*> 12/2013
28 Table not correct end No Dec dump
29 Gallery not correct end Alert 12/2013
31 HTML table element No
32 Double pipe in one link Partial[8] FixSyntax Rechecked
34 Template programming element[false 1] No 12/2013 whitelist
36 Redirect with incorrect syntax Yes FixSyntaxRedirects 0
37 Title with special letters and no DEFAULTSORT Yes[9] Yobot & BG19bot ChangeToDefaultSort Rechecked whitelist
38 HTML text style element <i> Yes[10] Yobot & BG19bot FixSyntax Regex: <\s*[\\]?i[\\]?\s*> 12/2013 whitelist
39 HTML text style element <p> Partial[11] FixDates </p> <b/>
Regex: <p(\s*|>)
Rechecked
40 HTML text style element <font> Partial[12] BG19bot Regex <font 12/2013
42 HTML text style element <strike> Yes Yobot & BG19bot 12/2013
43 Template not correct end Partial FixUnbalancedBrackets 12/2013 whitelist
44 Headlines with bold Partial[13] FixHeadings 12/2013
45 Interwiki double Yes Yobot & BG19bot Sort 12/2013
46 Square brackets not correct begin Partial FixUnbalancedBrackets
FixSyntaxRedirects
12/2013 whitelist
47 Template not correct begin Alert 12/2013 whitelist
48 Title linked in text Yes Yobot & BG19bot FixLinks 12/2013 whitelist
49 Headline with HTML No 12/2013 whitelist
52 Category before last headline Yes Yobot & BG19bot SortMetaData 12/2013
54 Break in list Yes Yobot & BG19bot FixSyntax 12/2013 whitelist
55 HTML text style element <small> double Partial[14] FixSmallTags 12/2013
57 Headlines end with colon Yes Yobot & BG19bot FixHeadings 12/2013
58 Headlines ALL CAPS No 12/2013 whitelist
59 Template value ends with break Yes Yobot & BG19bot User:Yobot/Error 59 Rechecked
60 Template parameter with problem No 12/2013 whitelist
61 Reference before punctuation Yes Yobot & BG19bot RefsAfterPunctuation Rechecked
62 URL not containing http://
63 HTML text style element <small> in ref, sub or sup Yes Yobot & BG19bot FixSmallTags Rechecked
64 Link equal to linktext Yes Yobot & BG19bot Regex Regex: \s+\[\[([^|:]*)\|\1\]\]\s+
"Case Sensitive" checked
Rechecked whitelist
65 Image description with break Yes Yobot & BG19bot Rechecked whitelist
66 Image description with full <small> Yes Yobot & BG19bot FixSyntax 0
69 ISBN wrong syntax Partial[15] 12/2013 whitelist
70 ISBN wrong length No
71 ISBN wrong position of X No 0 whitelist
72 ISBN wrong checksum in ISBN-10[16] No
73 ISBN wrong checksum in ISBN-13 No
74 Link with no target, for example [[|linktext]]. Alert 12/2013
76 Link with no space Partial[17] 0
78 Reference list duplication No 12/2013
80 External link with line break Partial FixSyntax Rechecked
83 Headlines start with three "=" and later with level two No BG19bot 12/2013
84 Section without content Alert[18] 12/2013
85 Template coding tags without content No 12/2013
86 Link with two brackets to external source Yes[19] Yobot & BG19bot FixSyntax Regex: \[\[\s*https?:// 12/2013
87 HTML named entities without semicolon No 12/2013 whitelist
88 DEFAULTSORT with blank at first position Yes Yobot & BG19bot FixSyntax Regex: \{\{DEFAULTSORT:\s 12/2013
89 DEFAULTSORT with no space after the comma
90 Internal link written as an external link
91 Interwiki link written as an external link

AWB Notes

  1. ^ It doesn't cover only some really rare cases
  2. ^ Inserts the section header and the reference tag if there already other headers
  3. ^ Not always a replacement is possible. Check for instance bugzilla:44820
  4. ^ Use F&R to remove regex \u200E|\uFEFF|\u200B|\u2028. 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]] and [[foo|bar|]]→[[foo|bar]]
  9. ^ It does not cover some weird non alphabet cases
  10. ^ It won't fix unbalanced tags
  11. ^ It won't fix tags inside blockquote etc.
  12. ^ It won't fix tags inside blockquote etc.
  13. ^ Corrects only cases where the whole title is bold
  14. ^ Does not handle 3 small tags in a row nor double </small></small> in a row.
  15. ^ It won't cover some edge cases
  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

CheckWiki False positives

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

See also