Wikipedia talk:WikiProject Check Wikipedia

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
 Check Wikipedia  WMFLabs   List of Errors   Discussion

Unicode control characters[edit]

There has been at least one bot, Josvebot, that has come along and cleaned up articles that I have worked on and removed Unicode control characters. It's not happening as often as it used to, but I would like to stop doing whatever I am doing so that someone doesn't need to clean up after me.

Could this be happening if I copy and modify categories from another article?

Or, if I search for nested subcategories, find the right one, and copy and paste the name of the subcategory into HotCat?

Or, something else?

Thanks so much!!!–CaroleHenson (talk) 13:36, 7 July 2018 (UTC)

If you copy paste something there is a likelihood of such characters are included. I'm not sure why HotCat is so prevalent in causing these, but I'm guessing that the UI of HotCat includes such characters in the category names when displayed as to not break the names into multiple rows (or something like that). See e.g. User talk:Josvebot#Unicode control characters as well. (tJosve05a (c) 14:53, 7 July 2018 (UTC)
Ok, thanks, Josve05a. I'll stop copy-pasting.–CaroleHenson (talk) 15:01, 7 July 2018 (UTC)

Hewiki dump[edit]

Hi. Just to be sure. You do not need to fix something in the code? It was published that hewiki is a big wiki now, for dumping purposes. IKhitron (talk) 12:59, 25 July 2018 (UTC)

@IKhitron: Fix not needed. --Bamyers99 (talk) 01:40, 26 July 2018 (UTC)
Thank you. IKhitron (talk) 10:37, 26 July 2018 (UTC)

Interface for wikis without translations[edit]

@Bamyers99:: if you see the web interface for simplewiki, some of the errors, like #113 and #110, don't match en.wiki, and the description is empty. Both should be retrieved from en.wiki. For other wikis that don't have a translation page or don't have all the errors translated yet, at least the titles should be retrieved from en.wiki. Thanks. --Usgix (talk) 22:15, 1 August 2018 (UTC)

@Usgix: Checkwiki has been pointed to the existing simplewiki translation page. Programmatically fixing incomplete configurations is outside the scope of my involvement with Checkwiki, which is bug fixes and keeping it running. --Bamyers99 (talk) 12:59, 4 August 2018 (UTC)

WPCleaner : new installation procedure[edit]

Hi, I've finally managed to resume releases on WPCleaner, but with a change of release process, see announcement. In addition, this version includes a lot of additions to help fixing Special:LintErrors. I'm looking for testers for this new release procedure. --NicoV (Talk on frwiki) 16:48, 4 August 2018 (UTC)

Adding Wikivoyage in French[edit]

Hello. I'm trying to add Wikivoyage in French on WPCleaner. Apparently, it is not managed by Check Wiki and I need to ask here to add it. So here I am. Thanks. — Antimuonium U wanna talk? 20:12, 4 August 2018 (UTC)

@Antimuonium: Here ya go: frwikivoyage Configuration is at: Correction_syntaxique/Traduction --Bamyers99 (talk) 03:27, 5 August 2018 (UTC)
@Bamyers99: Thank you! — Antimuonium U wanna talk? 06:51, 5 August 2018 (UTC)

Didn't check new[edit]

Moin Moin together, for the german Wikipedia there where no new entries, so I think the job didn't run. Could anybody check and fix this? Regards --Crazy1880 (talk) 04:49, 16 August 2018 (UTC)

@Crazy1880: Thanks for reporting. Caused by a bug that got introduced coding support for mw:Requests for comment/Multi-Content Revisions. The bug has been fixed and the jobs have been re-run. --Bamyers99 (talk) 17:50, 16 August 2018 (UTC)

No recent entries for Simple English Wikipedia[edit]

Hello. There seem to be no new entries for simplewiki since 2018-08-03. Is there something we need to do? --Auntof6 (talk) 07:15, 17 August 2018 (UTC)

@Auntof6: simplewiki is only updated twice a month, a couple of days after the 1st and the 20th. --Bamyers99 (talk) 19:12, 17 August 2018 (UTC)
OK, thanks. I thought I'd seen it updated more often, or on the same schedule as others. I'll let our folks know. --Auntof6 (talk) 20:17, 17 August 2018 (UTC)

Structural errors[edit]

Hi, would it be possible for someone to compile a sub-list of CheckWiki errors which represent "structural" errors (wrt to the underlying generated HTML), and thus are more likely to cause Lint error detections? Thanks. ShakespeareFan00 (talk) 07:09, 9 September 2018 (UTC)

#22 false positives[edit]

Hi. The list [1] has 62 problematic articles and 963 false positives, hasn't it? IKhitron (talk) 13:20, 14 September 2018 (UTC)

@IKhitron: Error #22 (Category with space) did not support right-to-left text. This has been fixed. The list will get updated after the Sept. 20th database dump. --Bamyers99 (talk) 20:25, 14 September 2018 (UTC)
Thanks a lot! IKhitron (talk) 20:50, 14 September 2018 (UTC)
Hello again, Bamyers99. It's much better now. There was 24 articles. I fixed 9, but another 15 still look like false positive. Thank you. IKhitron (talk) 18:22, 24 September 2018 (UTC)
@IKhitron: I misdiagnosed the problem as a right-to-left issue. It was really the program not handling colon's (:) in the category name properly. I undid the bad rtl fix and fixed the colon issue. --Bamyers99 (talk) 22:16, 24 September 2018 (UTC)
I see. Thank you again. IKhitron (talk) 22:57, 24 September 2018 (UTC)
Hello again, Bamyers99. There are many false positives now. IKhitron (talk) 12:08, 4 October 2018 (UTC)
@IKhitron: I don't see any false positives. This check looks for 4 things: 1) space before the ]]. 2) space after the [[. 3) space before the |. 4) space on either side of the first :. --Bamyers99 (talk) 13:44, 4 October 2018 (UTC)
@Bamyers99: Did not know that. So what about [[קטגוריה:הקונסרבטוריון למוזיקה של ניו אינגלנד|*]]? IKhitron (talk) 13:53, 4 October 2018 (UTC)
@IKhitron: In that case there is a newline before the ]]. A space sometimes means whitespace which includes space, tab, newline. --Bamyers99 (talk) 18:41, 4 October 2018 (UTC)
I see. Thank you very much. IKhitron (talk) 18:42, 4 October 2018 (UTC)

Code template needs whitelisting[edit]

Here on en the page HTML has several errors that are caused by things in the code template and are meant to be that way. Jerod Lycett (talk) 17:12, 20 September 2018 (UTC)

@Jerodlycett: The {{code}} templates contents and its redirect {{inline syntax}} are now excluded from error checks. --Bamyers99 (talk) 22:18, 21 September 2018 (UTC)

Error 3 False positives[edit]

{{ref list}} isn't being recognized. Dan Thomas (sportscaster) is an example. Jerod Lycett (talk) 02:22, 21 September 2018 (UTC)

{{RE}} is another one. Jerod Lycett (talk) 03:19, 21 September 2018 (UTC)

{{reference}} is yet another one. Jerod Lycett (talk) 03:31, 21 September 2018 (UTC)

@Jerodlycett: These 3 templates have now been added to the list of reference list templates. --Bamyers99 (talk) 18:36, 21 September 2018 (UTC)

A script to download page titles[edit]

Hi people, I wrote a script: hu:user:BinBot/checkwiki.py It works under Python 2 and Python 3. Itt will download the title list for a given error id to a file. I see 3 ways of use by bot:

  • Get the titles from the file (-file in Pywikibot).
  • Upload the contents of the file to a wikipage, and get the titles from there (-links in Pywikibot).
  • Use it as a pagegenerator (better to say a title generator) in a Python bot, such as Pywikibot. Needs some knowledge of programming.

The first two do not require Pywikibot, the script is pure Python and the list may be used by any bot. Bináris (talk) 07:37, 27 September 2018 (UTC)

False positives for #28[edit]

https://tools.wmflabs.org/checkwiki/cgi-bin/checkwiki.cgi?project=huwiki&view=only&id=28https://hu.wikipedia.org/w/index.php?title=1966%E2%80%931967-es%20nyugatn%C3%A9met%20labdar%C3%BAg%C3%B3-bajnoks%C3%A1g%20(els%C5%91%20oszt%C3%A1ly)&action=edithttps://hu.wikipedia.org/w/index.php?title=Sablon:Fb_cl_footer&action=edit

It is tricky and hard to solve. A lot of sport tables consist of rows which come from templates. Under the last row there is a footer template (3rd link) which begins with |}. This is not a nice solution, but works. That's why we have 508 todos in the list, but I think, 500 of them are of this type. Bináris (talk) 15:17, 27 September 2018 (UTC)

@Bináris: I have added {{Fb cl footer to the huwiki Translation page to handle this situation. For ideas on other templates that huwiki may be using in the same way, look at the enwiki Translation page and search for error_028_templates. --Bamyers99 (talk) 18:01, 27 September 2018 (UTC)
Thank you. I dind't know this opportunity. Bináris (talk) 18:12, 27 September 2018 (UTC)

Colon not found (#57)[edit]

Colon is not found when it is not literally at the end of a section title, but semantically yes.

  • The colon is followed by bolding. After correcting error #44 (bold title), I went through the list of #44 with the fix of #57. It is still unrecognized when title ends with <small>.
  • Here I removed <u> tags together with bolding, but two apostrophes for italic legally remained. The colon was detected by eyes, it is not in the list of #44. I modified the fix to disregard trailing apostrophes when looking for colon (see the next edit).

You may say this is not in the scope of check, I just mentioned as a possible enhancement. Bináris (talk) 18:20, 27 September 2018 (UTC)

False positives for #90[edit]

Should be a list of DEFAULTSORT errors, but seems to belong to another error (a lot of file URLs pointing to the home wiki). Bináris (talk) 13:12, 28 September 2018 (UTC)

There is some problem in your translation page. #90 detects wikilinks in http protocols format. IKhitron (talk) 13:17, 28 September 2018 (UTC)
Thx, I will check it. The original English text is the same there. Bináris (talk) 13:47, 28 September 2018 (UTC)
 error_090_prio_enwiki=2 END
 error_090_head_enwiki=Internal link written as an external link END
 error_090_whitelistpage_enwiki=Wikipedia:WikiProject_Check_Wikipedia/Error_090_whitelist END
 error_090_desc_enwiki=The script finds an external link that should be replaced with a wikilink.  An example would be on enwiki [http://en.wikipedia.org/wiki/Larry_Wall Larry Wall] should be written as [[Larry Wall]]. Script also finds references that use Wikipedia as a source.<br>
<br>
Following tools can correct the problem:
<ul>
<li><a href="https://meta.wikimedia.org/wiki/User:TMg/autoFormatter">Auto-Formatter</a></li>
</ul> END
IKhitron (talk) 13:51, 28 September 2018 (UTC)
@Bináris: #89, #90, #91, etc. were changed back in December 2013 per these edits. The official error list is here. --Bamyers99 (talk) 15:45, 28 September 2018 (UTC)

Than our tranlsation page is simply outdated. Badly, badly outdated. Thank you! Bináris (talk) 07:22, 29 September 2018 (UTC)

Math tags and false positives for #43 and #47[edit]

Hi, I suggest to adapt the codes for #43 and #47 in order to avoid considering uses of double accolades between math tags as begin or end of templates. Currently, checkwiki reports false positives for codes such as

v_s^2=c^2\Xi\Leftrightarrow{v_s=c\sqrt{\Xi}}
(correct code for )

LeFit (talk) 15:40, 3 October 2018 (UTC)

@LeFit: Thanks for reporting. This was caused by a bug that I introduced while implementing the feature to ignore the contents of specific templates (ie. {{code}}). I have just fixed this. --Bamyers99 (talk) 22:04, 3 October 2018 (UTC)

Newer dump for german Wikipedia[edit]

Moin Moin together, the last dump from german Wikipedia is from 1st septembre 2015. Is it possible to get a newer version? I'm well aware that the dump has a big size. Regards --Crazy1880 (talk)

Moin Magioladitis, sorry for writing to you directly, but could you do this? Or could you tell me, how I could do that? Regards --Crazy1880 (talk) 18:31, 17 October 2018 (UTC)
Or Bamyers99 could you help? Regards --Crazy1880 (talk) 19:14, 6 November 2018 (UTC)
@Crazy1880: This has been run. It took over 22 hours to run. I am not going to add it to the dump scan list. dewiki gets daily checkwiki updates of edited articles. Since the dump was asof the 1st, it is going to report again some that have been fixed between the 1st and 7th. --Bamyers99 (talk) 23:31, 7 November 2018 (UTC)
@Bamyers99: morning, that looks great. Yes, at that time Bgwhite and I also had the topic. Even then we had left it at the daily, because a new dump was so big and took a lot of time. So big thanks, now it is newer and we could scan the daily better. King regards --Crazy1880 (talk) 05:52, 8 November 2018 (UTC)

A suggestion for a new bug[edit]

Hi. How about a bug with [[<Some date>|<Another date>]]? Thank you. IKhitron (talk) 17:57, 11 October 2018 (UTC)

Hi IKhitron. WPCleaner can detect this as error #526, you can activate it on Wikipedia:WikiProject Check Wikipedia/Translation, and I can include this error in the dump analysis I'm doing twice a month (like fr:Projet:Correction syntaxique/Analyse 526) if you're interested. On frwiki, it's activated and configured to also use an abuse filter (#241) and to add a template after it to show that the link needs fixing. --NicoV (Talk on frwiki) 18:02, 11 October 2018 (UTC)
A pity. I can't use WPCleaner, so I asked about the checkwiki. This analysis exists for frwiki only? Thank you. IKhitron (talk) 18:05, 11 October 2018 (UTC)
Hi IKhitron. I'm already doing a dump analysis for enwiki twice a month, but I haven't included #526 in it. I can if you're interested in working on it. --NicoV (Talk on frwiki) 18:10, 11 October 2018 (UTC)
I see. But I was talking about two other wikisites. As I understand, there are no such things over there. IKhitron (talk) 18:11, 11 October 2018 (UTC)
IKhitron, why can't you use WPCleaner? I can always include other wikisites if needed, but probably not twice a month. --NicoV (Talk on frwiki) 18:14, 11 October 2018 (UTC)
I tried once to install, it did not work. It does work now, but I can;t find in manual how to display a specific error more than 120. IKhitron (talk) 18:25, 11 October 2018 (UTC)
Ok. There are no lists above #500, because they are not managed by CW. You can activate errors above #500 in the CW translation page, but you won't have lists. But you can generate lists with WPCleaner by analyzing a dump file. I can guide you if you're interested in doing so for another wiki. --NicoV (Talk on frwiki) 18:54, 11 October 2018 (UTC)
I see. I'll be glad if you can do it. Thank you. IKhitron (talk) 18:55, 11 October 2018 (UTC)
IKhitron, for which wiki do you want to use it? --NicoV (Talk on frwiki) 19:01, 11 October 2018 (UTC)

─────────────────────────

IKhitron, steps for activating error #526 and generating a list:
Need to go, will continue on the explanation on how to run the analysis later... --NicoV (Talk on frwiki) 19:34, 11 October 2018 (UTC)
IKhitron, next steps to run the analysis (I suggest running it with the command line, it's a bit more work to set it up at first, but after that it's a just a command to run:
  • Create a task file with what you want to do: take a look for example at enwiki task for updating the analysis for a bunch of errors (1, 2, 3..., 111), and then listing the problems with ISBN or ISSN. I suggest for the moment a 1 line file with something like:
    ListCheckWiki [Path]\[XX]wiki-$-pages-articles.xml.bz2 wiki:Wikipedia:CHECKWIKI/WPC_{0}_dump 526
    hewiki: for example he_ListCheckWiki.txt: ListCheckWiki [Path]\hewiki-$-pages-articles.xml.bz2 wiki:ויקיפדיה:Check_Wikipedia/WPC_{0}_dump 526
    ruwiki: for example ru_ListCheckWiki.txt: ListCheckWiki [Path]\ruwiki-$-pages-articles.xml.bz2 wiki:Проект:Check Wikipedia/WPC_{0}_dump 526
  • Create a credentials.txt file in the same folder as WPCleaner with your username and password:
    username=IKhitron
    password=...
  • Open a command line prompt in the folder where WPCleaner is installed and run a command like Bot.bat -credentials credentials.txt [XX] DoTasks [TaskFile] (if on Windows): WPCleaner will start in the background and perform the analysis on XX wiki.
    hewiki: for example Bot.bat -credentials credentials.txt he DoTasks he_ListCheckWiki.txt
    ruwiki: for example Bot.bat -credentials credentials.txt ru DoTasks ru_ListCheckWiki.txt
--NicoV (Talk on frwiki) 09:55, 15 October 2018 (UTC)
Thank you for your help and for your time, NicoV. I'll read it carefully. I'm talking about hewiki and ruwiki. About the filter - I do not understand, how can it locate the local months names? IKhitron (talk) 16:31, 15 October 2018 (UTC)
IKhitron Argh, I misread your first post: #526 will only work for years, not full dates (too complex to parse reliably), but it's a start: see fr:Projet:Correction syntaxique/Analyse 526 for an example of what can be detected with this error. The filter on frwiki is even simpler: it only detects simple cases where the link is 3 or 4 digits and the text is also 3 or 4 digits but different. --NicoV (Talk on frwiki) 16:40, 15 October 2018 (UTC)
IKhitron Don't hesitate if you need help. I've added more instructions based on the wikis you're working on. --NicoV (Talk on frwiki) 16:53, 15 October 2018 (UTC)
Much better. Thank you very much. IKhitron (talk) 17:30, 15 October 2018 (UTC)

Thanks[edit]

Just wanted to show my appreciation of this tool. Very handy. --Palosirkka (talk) 13:18, 26 October 2018 (UTC)

Page title character immediately following a colon gets capitalized on page listing for #81 (and possibly other ID)[edit]

In the Article column of the list of faulty pages for svwiki ID: 81, the character immediately following a colon in page titles incorrectly gets capitalized. Example of such incorrect page titles are

  • Gustav III:S kröning, it should be Gustav III:s kröning
  • Karl XI:S kröning, it should be Karl XI:s kröning
  • Karl XIII:S staty, it should be Karl XIII:s staty
  • Karl XV:S staty, it should be Karl XV:s staty
  • KFUK-KFUM:S studieförbund, it should be KFUK-KFUM:s studieförbund

The effect is that the edit link on the listing page doesn't work. The fault also propagates to the List for bots. --Larske (talk) 09:56, 27 October 2018 (UTC)

@Larske: This bug has just been fixed. Removed some unnecessary code that was attempting to capitalize the first character after a namespace. Not needed since checkwiki only looks at article (main) namespace. The next dump scan will have correct article titles. --Bamyers99 (talk) 20:02, 27 October 2018 (UTC)
👍 Like --Larske (talk) 03:50, 28 October 2018 (UTC)

False positives for #64 (Link equal to linktext)[edit]

Links with link texts ending with "special characters" are incorrectly reported as faulty with ID:64 (Link equal to linktext). See this list.

Here are the links in wikitext:

[[Malmö|Malmö Ö]]
[[Â|ÂÂ]]
[[Drottninghög|Drottninghög Ö]]
[[Ö|ÖÖ]]
[[Mölndal|Mölndal Ö]]
[[Â|ÂÂ]]
[[Â|Â,Â]]
[[Â|ÂÂ]]
[[Ö|ÖÖ]]
[[Malmö|Malmö Ö]]

--Larske (talk) 14:24, 29 October 2018 (UTC)

@Larske: This bug has just been fixed. There was a problem with the dump scanner not handling Unicode characters properly. --Bamyers99 (talk) 18:48, 30 October 2018 (UTC)

Priority[edit]

I originally though that the priority (e.g. on this page) somehow referred to how important the affected articles are instead of the severity of the found error. Maybe reword that? It would be also nice to be able to search for errors in high value articles. --Palosirkka (talk) 10:42, 31 October 2018 (UTC)

False positive with pre tags[edit]

Hi! Using CW I found a tiny bug. I'd like to send a pull request directly on github, but since I'm not really familiar with python I'm just reporting here. The regex used to find unclosed pre tags ("Pre tag without correct match") is flaky, and instead of /<pre/ it should be something like /<pre[ >]/. Right now, false positives may happen for instance with a preview tag (see here). Although they're less error prone, you may want to do the same for every other tag, just to be sure. Thanks, --Daimona Eaytoy (Talk) 18:15, 5 November 2018 (UTC)

@Daimona Eaytoy: This has been fixed for all HTML tags. --Bamyers99 (talk) 23:20, 7 November 2018 (UTC)

#2 Closing line-break markup[edit]

Chiswick Chap told on my talk page, that the invalid tag </br> should not be fixed. If this invalid tag is necessary because of some bugs in the wikimedia software, you should not list it as Tag with incorrect syntax. If you think, this tag should be fixed, could you explain Chiswick Chap a way to handle his Wiki-markup problem? --GünniX (talk) 10:45, 13 November 2018 (UTC)

@GünniX and Chiswick Chap: I don't know what editor is showing purple text. I checked the VisualEditor with the Jellyfish#Life history and behavior image caption, no purple text there. The HTML standard does not allow a closing tag for <br>. In the Jellyfish article image caption, I noticed a <br> that was missing the trailing slash <br/>. Maybe that is causing the problem with the editor. --Bamyers99 (talk) 15:17, 13 November 2018 (UTC)

Pseudo headings[edit]

is it possible to watch for pseudo headings with abusing of the semicolon markup instead of bold text? The definitionlist-tag is difficult for people with screenreaders --Janui (talk) 10:48, 13 November 2018 (UTC)

fr.wiktionary could benefit of this tool[edit]

Resolved

Hi, could fr.wiktionary be added to the list of projects supported by this tool? Best, --Automatik (talk) 13:14, 20 November 2018 (UTC)

@Automatik: frwiktionary is now supported. Configuration is at Correction_syntaxique/Traduction. --Bamyers99 (talk) 02:26, 21 November 2018 (UTC)
@Automatik: And I've configured WPCleaner to use it if you're interested. --NicoV (Talk on frwiki) 07:06, 21 November 2018 (UTC)
Thanks to both of you! I'll check WPCleaner to see if it can help. --Automatik (talk) 15:01, 21 November 2018 (UTC)
@Bamyers99: there is a bug, see the first entry in [2], which does not have an article name. --Automatik (talk) 17:12, 21 November 2018 (UTC)
@Automatik: This has been fixed. The title (𡥵) is a 4 byte Unicode character. The database only supported 3 byte Unicode characters. I have upgraded the database to support 4 bytes. --Bamyers99 (talk) 03:14, 22 November 2018 (UTC)