Wikipedia talk:WPCleaner/Archive 2015
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Non-article pages showing up as having links to fix
There appears to be something strange going on. Pages outside of the Article space are showing up at the top of the list when looking at the links for disambiguation pages. Wikipedia:WikiProject California/San Francisco Bay Area task force/Article alerts/Archive, Wikipedia:WikiProject Pakistan/Article alerts/Archive and Book talk:Mercedes Benz all show up at the top of the list outside of their usual sort order. The last 2 articles are also being tagged by the DPL bot as having too many ambiguous links as well. I've asked at WT:DPL, but I figured I drop a note here as well to see if the watchers here have any insight as to what's going on with those three pages. -Niceguyedc Go Huskies! 10:35, 30 January 2015 (UTC)
- Just an update - The issue causing this is being discussed in this Phab ticket. It appears to be caused by a database error that shows these and other non-article pages in namespace 0 (articles). -Niceguyedc Go Huskies! 09:56, 15 February 2015 (UTC)
- Thanks for the update! --NicoV (Talk on frwiki) 10:15, 15 February 2015 (UTC)
Can't sign in
Resolved
Hi, I have Windows 7, Java v8, update 31. I've tried signing in several times, and I cleared the temp files out of Java. But the program keeps getting stuck at "retrieving suggestions for text replacements", and it doesn't get past that point, the circle keeps going around, and I've just closed down the program at that point. Need your help!! Funandtrvl (talk) 21:05, 21 February 2015 (UTC)
- Hi Funandtrvl, on which wiki do you have the problem? I have no problem signing in on enwiki or frwiki. If you still have the problem, can you display the Java Console to see if there's any error message in the console? --NicoV (Talk on frwiki) 22:06, 22 February 2015 (UTC)
- Today, it's working fine, go figure!! Funandtrvl (talk) 16:31, 23 February 2015 (UTC)
- Good to see that it's working again. Probably a problem with Wikipedia that was solved... --NicoV (Talk on frwiki) 17:05, 23 February 2015 (UTC)
- Today, it's working fine, go figure!! Funandtrvl (talk) 16:31, 23 February 2015 (UTC)
CHECKWIKI error #16
Resolved
Wikipedia_talk:WikiProject_Check_Wikipedia#Error_.2316. -- Magioladitis (talk) 09:34, 6 January 2015 (UTC)
- Magioladitis, not tested, but next release of WPC should detect soft hyphens in wikitext and suggest a removal or a replacement by a normal hyphen. My current internet connection prevents me from using FTP, so I can't make the release. --NicoV (Talk on frwiki) 14:11, 27 January 2015 (UTC)
- Magioladitis, released. If you know a page on which it could be tested... --NicoV (Talk on frwiki) 09:58, 28 January 2015 (UTC)
ISBN
CHECKWIKI correctly detects the value of |LicensedISBN=
of Template:Graphic novel list while WPCleaner does not. PS @Bgwhite: -- Magioladitis (talk) 23:02, 30 January 2015 (UTC)
- @Bgwhite and Magioladitis: I'm wondering what we should do about this. Currently, WPCleaner only detects parameters like
|ISBN=
,|ISBN1=
, ... but no complex parameter names. On frwiki, some templates have a|ISBN erroné=
parameter for truly invalid ISBN (so, not to be detected). How should I decide to detect|LicensedISBN=
and not|ISBN erroné=
? --NicoV (Talk on frwiki) 18:32, 23 February 2015 (UTC)- Hmmm, Checkwiki shouldn't detect
|LicensedISBN=
. For errors #70, #71 and #72, the beginning of the regex used is \b(?:ISBN Bgwhite (talk) 20:18, 23 February 2015 (UTC)- @Bgwhite and Magioladitis: Seems logical to me, I think that I have nothing to fix on my end. Magioladitis, are you sure that
|LicensedISBN=
is detected by CW ? --NicoV (Talk on frwiki) 10:18, 24 February 2015 (UTC)
- @Bgwhite and Magioladitis: Seems logical to me, I think that I have nothing to fix on my end. Magioladitis, are you sure that
- Hmmm, Checkwiki shouldn't detect
Wikimedia Commons usage
Resolved
Whenever I try to use WPCleaner for Wikimedia Commons, it returns an error: URL moved permanently. How do I fix this? EthicallyYours! 06:54, 14 February 2015 (UTC)
- Hi Ethically Yours, this was a bug in WPCleaner internal configuration. It should be fixed in the new release, but I can't upload it right now (network trouble). --NicoV (Talk on frwiki) 21:11, 14 February 2015 (UTC)
- Done. --NicoV (Talk on frwiki) 08:33, 15 February 2015 (UTC)
general_pipe_template
Resolved
Do we need general_pipe_template
? {{!}} is now a magic word. Matěj Suchánek (talk) 17:04, 22 February 2015 (UTC)
- Hi Matěj Suchánek, you're right, it shouldn't be necessary anymore (unless you want to use a different template on some wikis than the magic word one). I have to modify WPC so that this parameter will have {{!}} as its default value. --NicoV (Talk on frwiki) 14:19, 23 February 2015 (UTC)
- With the next release, the default value for the parameter will be "!", so no need to define it. --NicoV (Talk on frwiki) 17:08, 23 February 2015 (UTC)
CHECKWIKI error #102/103 (2015-03-22)
Resolved
These two errors still missing from the Bot tools list. -- Magioladitis (talk) 17:30, 22 February 2015 (UTC)
- Hi Magioladitis, I've coded the 2 errors, they should be available now. --NicoV (Talk on frwiki) 18:00, 26 February 2015 (UTC)
CHECKWIKI #2 (2015-02-23)
Resolved
@Bgwhite and NicoV: On simple:1992-93 NHL season is is detecting <br clear="all">
as a #2. I'm unure if this is a syntax-error, or an eror with CHECKWIKI/WPCleaer for detecting it as a syntax error, since I've never seen it shown as an error before. (This post should perhaps have been at WT:CHECKWIKI, but well-well... (t) Josve05a (c) 18:06, 23 February 2015 (UTC)
- Hi Josve05a, this is a recent addition to #2. The "clear" parameter of the "br" tag has been deprecated in HTML5, so it should be replaced by something else. By default, WPCleaner doesn't suggest any replacement, the configuration file has to be modified before. --NicoV (Talk on frwiki) 18:14, 23 February 2015 (UTC)
Josve05a AWB changes this to {{clear}}. -- Magioladitis (talk) 18:29, 23 February 2015 (UTC)
- I've modified the configuration on simplewiki, WPCleaner will suggest to use {{Clear}} as a replacement. --NicoV (Talk on frwiki) 10:23, 24 February 2015 (UTC)
In fact AWB does what is written in Wikipedia:HTML5#Other_obsolete_attributes. All three cases. I suggest that WPCleaner suggests these replacements too. -- Magioladitis (talk) 10:27, 24 February 2015 (UTC)
- The replacement for "clear" depends on the wiki since it's usually a template (I could use the div syntax by default in WPCleaner, but I'm not a big fan of having HTML in articles, so I decided not to do this). I could add the other detections (align becoming style, and the other attributes). --NicoV (Talk on frwiki) 10:40, 24 February 2015 (UTC)
Obsolete configuration
Resolved
WPCleaner still can use check_wiki_mark_both
and check_wiki_use_labs
. Matěj Suchánek (talk) 10:05, 25 February 2015 (UTC)
- Ok, WPCleaner ignores them now. --NicoV (Talk on frwiki) 18:50, 25 February 2015 (UTC)
Unnecessary regex checks
Resolved
When I use the feature to mark already fixed Checkwiki errors, WPCleaner also automatic spelling fixes. This is unnecessary . If a regex is too slow, it takes very long time. Similar to fr:Discussion Wikipédia:WPCleaner/Archives 2013#Automatic typos. Matěj Suchánek (talk) 19:31, 11 March 2015 (UTC)
- Matěj Suchánek Thanks for the report, it should be a lot better now. --NicoV (Talk on frwiki) 21:53, 11 March 2015 (UTC)
Error #73 inconsistency
@Bgwhite and NicoV: It turns that WPCleaner reports some pages of ID: 73 as fixed while they are not. Example: Ferhat Atik. The bad thing is that WPCleaner will remove this page from the to-do list. -- Magioladitis (talk) 08:42, 15 February 2015 (UTC)
- @Magioladitis: This is strange, when WPCleaner doesn't find an error that was expected, it asks CW if the error is still present to avoid removing pages from the to-do list. --NicoV (Talk on frwiki) 08:54, 15 February 2015 (UTC)
- @NicoV: this happens when the initial error is fixed but the page still has the same error in other places. -- Magioladitis (talk) 08:56, 15 February 2015 (UTC)
- @Magioladitis and Bgwhite: Yes, in this case WPCleaner will mark it fixed. The only way to prevent this would be to ask CW what errors are still present every time when a user save his modifications. It seems a lot of calls to prevent only a few mistakes (and those mistakes will be detected the following day by CW because the article will be scanned again as it has been modified). What do you think? --NicoV (Talk on frwiki) 10:45, 15 February 2015 (UTC)
- I think I won't do anything about this, unless someone thinks otherwise. --NicoV (Talk on frwiki) 13:04, 12 March 2015 (UTC)
- @Magioladitis and Bgwhite: Yes, in this case WPCleaner will mark it fixed. The only way to prevent this would be to ask CW what errors are still present every time when a user save his modifications. It seems a lot of calls to prevent only a few mistakes (and those mistakes will be detected the following day by CW because the article will be scanned again as it has been modified). What do you think? --NicoV (Talk on frwiki) 10:45, 15 February 2015 (UTC)
- @NicoV: this happens when the initial error is fixed but the page still has the same error in other places. -- Magioladitis (talk) 08:56, 15 February 2015 (UTC)
Bot mode on svwp
Resolved
These are a few bugs/errors/unforunate things that happened while running bot mode on svwp
- on sv:Anne McCaffrey: Replaced
» The Worlds
(» The Worlds) to»orlds
(»orlds). - on sv:Loop the Loop: Removed
<br clear="left">
, which broke the page.
(t) Josve05a (c) 14:04, 27 March 2015 (UTC)
- Hi Josve05a, what do you see when you open both articles in the full analysis window ? Is there any automatic modification done ? Do you have an updated version of WPCleaner ? For the moment, I don't understand what could have happened, WPCleaner is not supposed to do that.
- If you want WPCleaner to suggest a replacement for the br tags with the clear arguments, you can modify the configuration on svwiki (like what I did for enwiki) using your template Clear. --NicoV (Talk on frwiki) 19:56, 27 March 2015 (UTC)
- I used the latest version of WPCleaner (updated automaticly, right?) This was in bot mode, so I never saw any suggestions or the "edit" mode myself. Let me check what I see if I open them manually...(t) Josve05a (c) 19:58, 27 March 2015 (UTC)
- It should at least not remove these br-tags automaticly. (t) Josve05a (c) 19:59, 27 March 2015 (UTC)
- Nothing is done automaticly in full analysis-mode. And the replacement suggestion is "good". Don't know why that would have happened, but as you see in the edit history, it did. (t) Josve05a (c) 20:01, 27 March 2015 (UTC)
- Josve05a I found the explanation for "Loop the Loop", it's indeed happening in bot mode, it may be due to error #54 (br at the end of a list item) not checking if the br tag has attributes. I'm fixing it, and then I try to understand the other one. --NicoV (Talk on frwiki) 20:09, 27 March 2015 (UTC)
- Josve05a I've uploaded a new version that fixes the problem with the br at the end of a list item.
- I have no clue for the first issue yet... The page is not any more in CW list, but it should be added again during next scan (tonight probably). When it does, can you leave it there until I try on my end the bot tools on it ?
- Update is automatic if installation is made with Java Web Start, but some users install WPCleaner manually. --NicoV (Talk on frwiki) 20:32, 27 March 2015 (UTC)
- Josve05a Finally found the problem, tricky one due to "raquo" being listed twice (only this one) in the list of HTML characters managed by #11. --NicoV (Talk on frwiki) 20:26, 2 April 2015 (UTC)
- @NicoV: Intresting. So to sumize, bot this things has been fixed, right? Are there updates needed for WPCleaner in the future to avoid these issues, or are they already "pushed" to the latest version or are no program-updates needed? (= How long 'til I can run my bot again?) (t) Josve05a (c) 21:59, 2 April 2015 (UTC)
- @Josve05a: WPCleaner has been fixed for both problems, and the new version is released, so you just need to update to the latest version (should be automatic). To be sure, check that you have a new button "Load list from drive" on the bottom right of the main window (I just added this feature tonight). --NicoV (Talk on frwiki) 22:09, 2 April 2015 (UTC)
- @NicoV: Intresting. So to sumize, bot this things has been fixed, right? Are there updates needed for WPCleaner in the future to avoid these issues, or are they already "pushed" to the latest version or are no program-updates needed? (= How long 'til I can run my bot again?) (t) Josve05a (c) 21:59, 2 April 2015 (UTC)
- Josve05a Finally found the problem, tricky one due to "raquo" being listed twice (only this one) in the list of HTML characters managed by #11. --NicoV (Talk on frwiki) 20:26, 2 April 2015 (UTC)
- Nothing is done automaticly in full analysis-mode. And the replacement suggestion is "good". Don't know why that would have happened, but as you see in the edit history, it did. (t) Josve05a (c) 20:01, 27 March 2015 (UTC)
Java 8u40 and Mac
Resolved
If you're using WPCleaner on a Mac, avoid upgrading to Java 8u40 which has been recently released by Oracle. It seems that it contains a major bug preventing to run any Java Web Start application on a Mac (see here and here for examples). If you have upgraded to Java 8u40 and this bug shows up (you'll see it, you can't even type your username and/or password, and if the window loose focus it can't regain it...), I only see 2 options if you want to keep using WPCleaner:
- Use the -Xdebug option (see comments in this topic)
- Use an older Java version
- Install WPCleaner with the manual installation (no automatic update)
--NicoV (Talk on frwiki) 17:07, 10 March 2015 (UTC)
CHECKWIKI #2 (2015-04-04)
Resolved
Can you implement the same suggestions for the break vs br clear-problem on svwp as on enwp? I've recently created the Break template and module on sv.wikipedia. (t) Josve05a (c) 19:51, 4 April 2015 (UTC)
- @Josve05a:, yes, it's quite easy. Can you tell me what are the 3 syntaxes that are used on svwp to replace br with clear and which is which ? (one for clear left, one for clear right and one for clear both). After that, I just need to update sv:Wikipedia:Projekt_wikifiering/Syntaxfel/Translation.
- Suppose the 3 syntaxes are {{Clear}}, {{Clear|left}} and {{Clear|right}}, I would add the next 3 lines:
error_002_clear_all_svwiki={{Clear}} END
error_002_clear_left_svwiki={{Clear|left}} END
error_002_clear_right_svwiki={{Clear|right}} END
- --NicoV (Talk on frwiki) 21:12, 4 April 2015 (UTC)
- @NicoV: Since I just imported the template {{Break}} and the Module:Break directly into sv.wiki without changing anything, I would suppoe that it is the same parameters as on enwp. (The template has the same name) (t) Josve05a (c) 23:41, 5 April 2015 (UTC)
- @Josve05a:, I was asking because the documentation on svwiki shows 3 syntaxes ({{Clear}} {{Clear|vänster}} {{Clear|höger}}), and I'm not sure the code behind it works with the suggested arguments (it doesn't look like the code from enwiki)... I have modified the configuration, but left it as comment: you can uncomment it (remove the # at the beginning of each line) when you have sorted out if the template works as expected. --NicoV (Talk on frwiki) 07:18, 6 April 2015 (UTC)
- Oh didn't see that...vänster=left, höger=right. I'll do it. (t) Josve05a (c) 07:35, 6 April 2015 (UTC)
- @Josve05a:, I was asking because the documentation on svwiki shows 3 syntaxes ({{Clear}} {{Clear|vänster}} {{Clear|höger}}), and I'm not sure the code behind it works with the suggested arguments (it doesn't look like the code from enwiki)... I have modified the configuration, but left it as comment: you can uncomment it (remove the # at the beginning of each line) when you have sorted out if the template works as expected. --NicoV (Talk on frwiki) 07:18, 6 April 2015 (UTC)
- @NicoV: Since I just imported the template {{Break}} and the Module:Break directly into sv.wiki without changing anything, I would suppoe that it is the same parameters as on enwp. (The template has the same name) (t) Josve05a (c) 23:41, 5 April 2015 (UTC)
CHECKWIKI #69 (2015-04-03)
Resolved
Chewckwiki detects [[ISBN]]: 91-87064-43-X
as a #69, but not WPCleaner. (Same might be true with [[ISBN]] 91-87064-43-X
, but I'm usure.) (t) Josve05a (c) 23:06, 2 April 2015 (UTC)
- Ok, it will be in the next release. --NicoV (Talk on frwiki) 19:56, 5 April 2015 (UTC)
CHECKWIKI error #90 (2015-01-23)
Red link created. -- Magioladitis (talk) 09:03, 23 January 2015 (UTC)
- Magioladitis, sorry for the long delay in answering, I'm starting to catch up with things that piled up when I was travelling. For me, it's normal: the link was already to "Herodotus," (comma included), so the external link was replaced by an internal link to the same page. The big difference is only visual: previously, the link was blue only because it was an external link but it was already pointing to the wrong non existing page ; with an internal link, at least it's more obvious that the link is to the wrong page
. --NicoV (Talk on frwiki) 20:38, 2 April 2015 (UTC)
36
Resolved
36 is not shown in the list of errors. I checked Wikipedia:WikiProject_Check_Wikipedia/Translation and error_036_prio_enwiki=3. So this is not the problem. -- Magioladitis (talk) 12:59, 14 August 2014 (UTC)
- Hi Magioladitis. Yes, I've never taken the time to code the detection for #36... I didn't know what cases it would catch, so I didn't work on it... example. --NicoV (Talk on frwiki) 14:29, 14 August 2014 (UTC)
- AWB only removes carriage inside redirects i.e. what I did above. -- Magioladitis (talk) 14:32, 14 August 2014 (UTC)
- Ok Magioladitis, I've done a first version of the detection for #36. It detects every #REDIRECT not followed by a link (with optional white space in between). --NicoV (Talk on frwiki) 11:02, 20 September 2014 (UTC)
- AWB only removes carriage inside redirects i.e. what I did above. -- Magioladitis (talk) 14:32, 14 August 2014 (UTC)
Duplicate parameters bug?
[1]. -- Yobot (talk) 22:31, 19 April 2015 (UTC)
Found thanks to User:Asturkian. -- Yobot (talk) 22:31, 19 April 2015 (UTC)
- Hi Yobot, User:Asturkian: no, it's not a bug, it was an almost correct modification. As you can see in the diff, the
|draw_ENG=0
parameter is repeated on 4 lines, so it's totally unnecessary 3 of the 4 times... Of course, the good modification would have been to rename it to draw_ENG, draw_CZE, draw_FIN, and draw_NOR. Same situation for the others. As you can see also, SporkBot did the same modification again, and it's not based on WPCleaner. - The modification done by the bot is not incorrect, it doesn't change anything in the result at all (except for removing duplicate arguments). The bot is doing that because the value is the same in each parameter, and the parameter name doesn't contain a digit. --NicoV (Talk on frwiki) 05:36, 20 April 2015 (UTC)
2 Issues Suggestion
Resolved
Hi. I have 2 Issues. First I have to type the pagename. Why does´t work copy/paste? Second, running WPCleaner, it removed a picture without any remark. --Partynia (talk) 19:09, 21 February 2015 (UTC)
- Hi Partynia, could you give me more information? What's your OS and Java version (it seems that with Mac OS X there may be some trouble with Java and copy/paste)? Could you give me a link to the edit where a picture was removed? --NicoV (Talk on frwiki) 19:49, 21 February 2015 (UTC)
- Hi Nico, I work with Mac OS X Yosemite 10.10.2., Java 8, update 31. Here is the link: Wolf-Dietrich Beecken. --Partynia (talk) 07:41, 22 February 2015 (UTC)
- Hi Partynia, I don't see how WPCleaner could have removed this image by itself. Are you sure you didn't remove it by accident when editing the text around it ? I have no other reports of WPCleaner removing images. Seeing the comment, WPCleaner only saw things about the link the user namespace (error #95) and there's nothing automatic for this error.
- Regarding the copy/paste problem, I tried some time ago to make it work with Mac OS X but was unsuccessful. Does it happen also if you use the manual installation (not Java Web Start) of WPCleaner ? --NicoV (Talk on frwiki) 20:27, 2 April 2015 (UTC) (Partynia ?)
- Partynia for the copy/paste problem, could you try using the shortcuts Ctrl+C / Ctrl+V inside WPCleaner instead of the classic Command+C / ... ? --NicoV (Talk on frwiki) 21:17, 26 April 2015 (UTC)
- Thanks - this is the solution! --Partynia (talk) 09:39, 28 April 2015 (UTC)
- Partynia for the copy/paste problem, could you try using the shortcuts Ctrl+C / Ctrl+V inside WPCleaner instead of the classic Command+C / ... ? --NicoV (Talk on frwiki) 21:17, 26 April 2015 (UTC)
- Hi Nico, I work with Mac OS X Yosemite 10.10.2., Java 8, update 31. Here is the link: Wolf-Dietrich Beecken. --Partynia (talk) 07:41, 22 February 2015 (UTC)
List ISBN errors
Resolved
List ISBN errors seems to search to todo subpages in talk pages. If I remember correctly, there are no more too subpages in English Wikipedia. -- Magioladitis (talk) 20:43, 9 June 2015 (UTC)
- Thanks Magioladitis for the report. This behavior can be removed by commenting the
general_todo_subpage
parameter in User:NicoV/WikiCleanerConfiguration, but I want to also change my code to prevent looking at todo subpages or talk pages when no warning template has been defined. --NicoV (Talk on frwiki) 04:16, 10 June 2015 (UTC)
NicoV Does "isbn_errors_categories" accept multiple categories? I think we should include Category:Articles with invalid ISBNs. -- Magioladitis (talk) 14:58, 11 June 2015 (UTC)
- Magioladitis Yes, it works with multiple categories (one on each line). I've added it, and I'm currently testing if there's any problem. --NicoV (Talk on frwiki) 15:44, 11 June 2015 (UTC)
CHECKWIKI #70 (2014-11-23)
Resolved
These pages are reported by CHECKWIKI but not by WPCleaner:
-- Magioladitis (talk) 08:17, 23 November 2014 (UTC)
- Magioladitis Should be fixed now with the recent modifications (word after the ISBN without whitespace, OriginalISBN, ...) --NicoV (Talk on frwiki) 08:13, 17 June 2015 (UTC)
Things to check
Resolved
Erledigt New database dump
Erledigt 073 dump
Erledigt Slay the ISBN beast
Erledigt ISBN code update
Break vs Clear
Additional information needed
Currently on svwp it replaces bad <br> tags with the template "Clear", instead of "Break". This causes some huge problems. I don't know where the config/translation files are so...(t) Josve05a (c) 22:19, 1 June 2015 (UTC)
- Hi Josve05a, configuration for svwp is at sv:Användare:NicoV/WikiCleanerConfiguration and sv:Wikipedia:Projekt wikifiering/Syntaxfel/Translation. You will find in the second page (error 2), the configuration for replacing br tags by Clear template. The same principle is used on frwp and enwp, and I have no reports of it causing troubles. --NicoV (Talk on frwiki) 07:05, 2 June 2015 (UTC)
- NicoV Something is not right.
<br>
shouldn't be replace with {{clear}}.<br clear="all">
should be replaced by {{clear}}. Bgwhite (talk) 07:45, 2 June 2015 (UTC)- @Bgwhite and Josve05a: Do you have examples of problematic edits ? WPCleaner is supposed to replace:
- Incorrect br tags without parameters by correct br tags
- br tags with clear parameter by the text defined in the configuration (Clear template)
- --NicoV (Talk on frwiki) 08:17, 2 June 2015 (UTC)
- @NicoV: See [2]. (t) Josve05a (c) 14:36, 2 June 2015 (UTC)
- Bgwhite, (t) Josve05a Hum, it's not a problem with bad br tags, but with br tags having a clear parameter. WPCleaner behaves as expected: it has been configured to replace
<br clear=left>
by{{Clear|vänster}}
(error_002_clear_left_svwiki={{Clear|vänster}} END
), and that's exactly what it does. I thought they should behave the same, but apparently it's not the case: this is beyond my area of expertise, I don't know the subtleties of HTML/CSS/... Unless someone knows how to make the template behave exactly as the br tag, I suggest removing the configuration that triggers the replacement (at least for "left", eventually for "all" and "right" also if they demonstrate the same problem). - I replaced all the br tags with clear parameter by calls to the Clr template on frwiki a few months ago, and didn't get any notification of any problem with them. --NicoV (Talk on frwiki) 14:56, 2 June 2015 (UTC)
- Bgwhite, (t) Josve05a Hum, it's not a problem with bad br tags, but with br tags having a clear parameter. WPCleaner behaves as expected: it has been configured to replace
- @NicoV: See [2]. (t) Josve05a (c) 14:36, 2 June 2015 (UTC)
- @Bgwhite and Josve05a: Do you have examples of problematic edits ? WPCleaner is supposed to replace:
- NicoV Something is not right.
- Ok, I'm confused. My response was directed toward thinking
<br>
was being replaced by {{clear}}, which sounded like what was happening from Josve's first post. - On enwiki, in 99% of the cases,
<br clear="all">
should be replaced by {{clear}}. The other 1% should be replaced by {{-}}. The reason being<br clear="all">
is being used incorrectly. For that matter, {{-}} is being used incorrectly 99% of the time.- {{clear}} translates into
<div style="clear">
. Think of it as a "section break". This is usually used right before a section header or right after an image. What's before and after the clear are not "related". - {{-}} translates into
<br clear="both">
. This is mostly used in a section where you need a break from a floating element. {{Quote box}} is a floating element. If Quote box is used in the middle of a section (not end), then {{-}} should be used. This also creates a blank line. Alot of times, {{-}} is used just before navboxes to create extra space, which is wrong and should be removed. - "Of particular note is that the CSS spec indicates that the clear: property "applies to: block-level elements", and the
<br>
element is not block-level, but inline" Therefore, {{-}} is technically invalid html and shouldn't be used.
- {{clear}} translates into
- In the example Joeve gave, {{clear}} is the correct choice. In the first instance, {{clear}} goes between an image and a list. This is a clear "section break" as the two are unrelated. The second instance is between an image and section header, {{clear}} is always the choice before a section header. Bgwhite (talk) 21:43, 2 June 2015 (UTC)
- Ok, I'm confused. My response was directed toward thinking
Does not remove a page from a any list if the page has at least one CHECKWIKI error
Resolved
Per this discussion. in bot mode (and when using the "Automatic fixing) WPCleaner does not remove a page from a any list if the page has at least one CHECKWIKI error. This includes rhe "duplicated parameters" error. -- Magioladitis (talk) 09:34, 17 June 2015 (UTC)
NicoV problems occurs only in bot mode (bot tools/checkwiki). Via Project Check Wikipedia option where the pages open completely there is no problem. -- Magioladitis (talk) 09:51, 17 June 2015 (UTC)
- Magioladitis Do you mean that if you run WPC in bot mode to fix one error, the article won't be marked as fixed if there are other errors present? --NicoV (Talk on frwiki) 11:04, 17 June 2015 (UTC)
- NicoV yes. To be more specific, for example if a run in bot mode to check which pages still have error 28, WPC won't remove a page for the 28 list if it still has another error. -- Magioladitis (talk) 11:19, 17 June 2015 (UTC)
- Magioladitis Ok, I will check. Do you have an example that I can actually try ? --NicoV (Talk on frwiki) 12:19, 17 June 2015 (UTC)
- NicoV yes. To be more specific, for example if a run in bot mode to check which pages still have error 28, WPC won't remove a page for the 28 list if it still has another error. -- Magioladitis (talk) 11:19, 17 June 2015 (UTC)
NicoV, Canada men's national soccer team and error 85 perhaps? -- Magioladitis (talk) 15:24, 17 June 2015 (UTC)
- Magioladitis List 85 is empty. --NicoV (Talk on frwiki) 15:32, 17 June 2015 (UTC)
- NicoV same page at #34? -- Magioladitis (talk) 15:35, 17 June 2015 (UTC)
Magioladitis, OK I tried by selecting only #34 (both columns) in the bot tools and run the "mark articles already fixed" tool. Here's the log I get: WPC reads 8 articles and marks 2 of them as fixed (not Canada men's national soccer team). I checked Canada men's national soccer team in full analysis window and WPC still finds a #34 in the page, so it's normal that it's not marked as fixed.
POST http://tools.wmflabs.org/checkwiki/cgi-bin/checkwiki_bots.cgi?limit=10000&id=034&project=enwiki&action=list&offset=0
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=2014 Speedway World Cup Final&format=xml
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=2015 Speedway World Cup Final&format=xml
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=2015 Speedway World Cup Race-off&format=xml
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=2015–16 Bayernliga&format=xml
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=2015–16 Oberliga Baden-Württemberg&format=xml
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=Astrit Rama&format=xml
POST http://tools.wmflabs.org/checkwiki/cgi-bin/checkarticle.cgi?project=enwiki&article=Astrit Rama
POST http://tools.wmflabs.org/checkwiki/cgi-bin/checkwiki_bots.cgi?id=34&project=enwiki&title=Astrit Rama&action=mark
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=Bajaur Scouts&format=xml
POST http://tools.wmflabs.org/checkwiki/cgi-bin/checkarticle.cgi?project=enwiki&article=Bajaur Scouts
POST http://tools.wmflabs.org/checkwiki/cgi-bin/checkwiki_bots.cgi?id=34&project=enwiki&title=Bajaur Scouts&action=mark
GET https://en.wikipedia.org/w/api.php?rvprop=content|ids|timestamp&inprop=protection&continue=&prop=revisions|info&action=query&titles=Canada men's national soccer team&format=xml
--NicoV (Talk on frwiki) 16:43, 17 June 2015 (UTC)
- I'm currently running the same tool on all enwiki from #1 to #103. When it's finished, lists on labs should only contain pages where WPCleaner still finds a problem. Done: 41 pages marked as fixed. --NicoV (Talk on frwiki) 16:52, 17 June 2015 (UTC)
- NicoV I am sorry for the trouble. I'll try checking for an example tomorrow. Btw, where is the error in Canada men's national soccer team? -- Magioladitis (talk) 17:04, 17 June 2015 (UTC)
- Magioladitis, no problem. The error is detected in the line
|colspan=9|Withdrew from [[1998 CONCACAF Gold Cup]]<{{subst:void}}ref>Did {{subst:lc:Not Qualify}} through [[1998 FIFA World Cup]]</ref>
, the subst:lc programming element. --NicoV (Talk on frwiki) 17:31, 17 June 2015 (UTC)
- Magioladitis, no problem. The error is detected in the line
- NicoV I am sorry for the trouble. I'll try checking for an example tomorrow. Btw, where is the error in Canada men's national soccer team? -- Magioladitis (talk) 17:04, 17 June 2015 (UTC)
Magioladitis, I think I finally reproduced the problem and fixed it in WPCleaner 1.36. --NicoV (Talk on frwiki) 17:59, 14 July 2015 (UTC)
- NicoV Wow. Perfect. This means I am not crazy. What was the problem exactly? -- Magioladitis (talk) 18:01, 14 July 2015 (UTC)
- Magioladitis I managed to reproduce it when I switched my IDE to a more recent Java version (Java 7 minimum now for WPCleaner). I didn't try to understand why I wasn't able to reproduce the problem with an older Java (the code was bad, it didn't mark article fixed if there was an other error, but only among errors that could be fixed automatically...), I preferred to change to Java 7 or newer. --NicoV (Talk on frwiki) 18:07, 14 July 2015 (UTC)
Resolved
What's the point to replace standard space characters by its HTML entity on edits such Special:Diff/679838802???? I mean, other than increase edit counts. Lugusto 04:42, 22 September 2015 (UTC)
- Hi Lugusto. No clue, WPCleaner is not supposed to insert characters (usually, it rather replaces HTML entities by their respective characters), that's the first time someone reported such replacements. I'm notifying the user who did the edit, I dream of horses. --NicoV (Talk on frwiki) 07:32, 22 September 2015 (UTC)
- Lugusto The reason is in the edit summary (sortof). Also, Content Translator (surprise!!) was the real cause of the problem. There were Unicode hard space characters which were replaced by the equivalent HTML entity Bgwhite (talk) 08:13, 22 September 2015 (UTC)
- Thanks Bgwhite ! Lugusto, that explains WPCleaner behaviour: it replaced the Unicode hard space characters put by CX (or VE ?), which are very difficult to distinguish with regular space characters when editing, by their equivalent HTML entity. So, the edit made with WPCleaner didn't change the end result in the article, but just made it clear that there were hard space characters in the wikitext (by using the visible HTML entity syntax). Ideally, I dream of horses should then have fixed the by regular space characters ;-) --NicoV (Talk on frwiki) 09:38, 22 September 2015 (UTC)
- Oh, okay. Regular spaces for now on, Nico V and Bgwhite. ;-) I dream of horses (T) @ 16:15, 22 September 2015 (UTC)
- Thanks Bgwhite ! Lugusto, that explains WPCleaner behaviour: it replaced the Unicode hard space characters put by CX (or VE ?), which are very difficult to distinguish with regular space characters when editing, by their equivalent HTML entity. So, the edit made with WPCleaner didn't change the end result in the article, but just made it clear that there were hard space characters in the wikitext (by using the visible HTML entity syntax). Ideally, I dream of horses should then have fixed the by regular space characters ;-) --NicoV (Talk on frwiki) 09:38, 22 September 2015 (UTC)
- Lugusto The reason is in the edit summary (sortof). Also, Content Translator (surprise!!) was the real cause of the problem. There were Unicode hard space characters which were replaced by the equivalent HTML entity Bgwhite (talk) 08:13, 22 September 2015 (UTC)
Can I run WPCleaner on a non-WMF wiki?
Resolved
Hi,
is it possible to run WPCleaner at www.wikiskripta.eu? We focus on delivering free and open education materials for medical students and professionals speaking Czech language. We are interested in capabilities, that your program offers. Thank you for your kind answer. --Wesalius (talk) 04:26, 15 September 2015 (UTC)
- Hi Wesalius, it should be possible with little modifications, provided that you're using a recent enough MediaWiki version. If you're interested, you need to create a WPCleaner configuration page on www.wikiskripta.eu at User:NicoV/WikiCleanerConfiguration (see Wikipedia:WPCleaner/Configuration/Help), and add your wiki to the list at Wikipedia:WPCleaner/Wikis like Waze. Then, I will be able to add wikiskripta to the list of wikis supported by WPCleaner. --NicoV (Talk on frwiki) 05:23, 15 September 2015 (UTC)
- Alright, it is done. Next step for us is to wait for you to include our wiki into WPCleaner? Thank you so far. --Wesalius (talk) 05:49, 15 September 2015 (UTC)
- Wesalius, it should be working now, I've tested loading a page from WikiSkripta and it worked. WPCleaner behaviour can be configured through the configuration page you've created, syntax is described at Wikipedia:WPCleaner/Configuration/Help. --NicoV (Talk on frwiki) 21:50, 15 September 2015 (UTC)
- Alright, it is done. Next step for us is to wait for you to include our wiki into WPCleaner? Thank you so far. --Wesalius (talk) 05:49, 15 September 2015 (UTC)
Hi Nico, we gave WPC a test run on our wiki, there are some problems with writing changes to the articles (hookaborted errors), but there is an easy workaround for us in copypasting the changes into the browser. But mainly why I am writing is that I found out about WPC because of the bot tools it includes. I tried to run the "List ISBN errors". Could you give an estimate of how long it takes for WPC to get the list? I dont know if it is stuck or I shall just give it more time because I tried to run it for several hours multiple times and never got the results back, only the "WPCleaner is running" message. Thank you for your advice. --Wesalius (talk) 14:19, 28 September 2015 (UTC)
- User:Wesalius I'm not surprised there are some problems, as your wiki configuration is probably quite different than wikimedia wikis. My guess is a bug in WPC that happens only due to this difference. could you display the Java console and tell me if you see any error in it ? NicoV (Talk on frwiki) 16:42, 28 September 2015 (UTC)
- When running with List ISBN errors with java console I get
Exception in thread "Thread-18" java.lang.NullPointerException at org.wikipediacleaner.api.check.CheckWiki.retrievePages(Unknown Source) at org.wikipediacleaner.gui.swing.worker.UpdateWarningWorker.retrieveCheckWikiPages(Unknown Source) at org.wikipediacleaner.gui.swing.worker.UpdateISBNWarningWorker.listWarningPages(Unknown Source) at org.wikipediacleaner.gui.swing.worker.UpdateISBNWarningWorker.construct(Unknown Source) at org.wikipediacleaner.gui.swing.basic.SwingWorker$2.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
--Wesalius (talk) 17:03, 28 September 2015 (UTC)
- User:Wesalius I have released a new version where to fix this error. Be aware that currently "List ISBN errors" won't do much on Wikiskripta, as WPC doesn't check every article on the wiki, but uses external lists to know which articles need to be checked. Several configuration parameters let you define where the lists are :
isbn_warning_template
defines a template that can be used on talk pages to warn about a problem with ISBN => articles with this template on their talk page are checkedisbn_errors_categories
defines a list of categories for pages with ISBN problems => articles in one the categories are checkedisbn_errors_lists
defines a list of pages containing a list of pages with ISBN problems => articles listed in one of the pages are checked- If CheckWiki is configured and running on Labs, articles listed in errors 70, 71, 72 and 73 are checked
isbn_errors_page
defines a page where the result of the verification is stored => articles listed there are checked again
- --NicoV (Talk on frwiki) 19:10, 5 October 2015 (UTC)
- Thank you for working on it, I might just give the general category containing all pages as
isbn_errors_categories
so WPC would run through all of them :-) --Wesalius (talk) 19:26, 5 October 2015 (UTC) - Where do I find these parameters? I thought I would find them at the configuration template to copy them to our local config, but that was not a case. --Wesalius (talk) 19:39, 5 October 2015 (UTC)
- Wesalius. The template only contains some parameters, you can find the complete list with description in Wikipedia:WPCleaner/Configuration/Help. Most of them are used in the configuration for frwiki. --NicoV (Talk on frwiki) 20:19, 5 October 2015 (UTC)
- Thank you for working on it, I might just give the general category containing all pages as
- User:Wesalius I have released a new version where to fix this error. Be aware that currently "List ISBN errors" won't do much on Wikiskripta, as WPC doesn't check every article on the wiki, but uses external lists to know which articles need to be checked. Several configuration parameters let you define where the lists are :
CHECKWIKI error #2 (2015-01-27)
Resolved
Bgwhite extended the scope of error #2 to detect invalid <br>, <center> or <small> tags. -- Magioladitis (talk) 14:03, 27 January 2015 (UTC)
- @Bgwhite and Magioladitis: Is it still true ? When I look at #2 errors on enwiki or frwiki, I only see invalid
<br>
tags. I must say that I prefer for #2 to be only for<br>
tags, it allows to use a more descriptive comment (in French, we have "Syntaxe erronée de saut de ligne" which could be translated in "Incorrect line break syntax") that works both for simple invalid<br>
tags (to be replaced by a proper<br>
tag) or for<br clear=all>
tags (to be replaced by {{Clear}}). --NicoV (Talk on frwiki) 20:45, 2 April 2015 (UTC)
NicoV It's mainly bad syntax in break tags but it will also catch some incorrect center/small tags. -- Magioladitis (talk) 20:49, 2 April 2015 (UTC)
- @Bgwhite and Magioladitis: This is strange: I checked the first 2000 #2 errors on eswiki (around 6000 pages reported) and found exactly zero report about any tag different than br. I would have expected at least a few ones. I'm also fixing #2 almost daily on frwiki and never saw anything else than br tags. --NicoV (Talk on frwiki) 08:07, 3 April 2015 (UTC)
NicoV After we performed a database scan and fixed many old center tags in English Wikipedia I did not see any of those again. They were very rare. -- Magioladitis (talk) 08:23, 3 April 2015 (UTC)
- I understand, but nobody seems to fix #2 on eswiki, so I would have expected to find some at least. Same for frwiki, I don't think any one has fixed center tags. --NicoV (Talk on frwiki) 08:27, 3 April 2015 (UTC)
I sent an email to Bgwhite. There is a chance that the new script was never implemented or implemented only for en.wp. -- Magioladitis (talk) 08:34, 3 April 2015 (UTC)
- @Magioladitis and NicoV: It is being implemented for all languages. I'm currently only checking for <br clear and <[small|center]\s*\/\s*>. I need to add <small\> and <\small>. Bgwhite (talk) 22:19, 9 April 2015 (UTC)
CHECKWIKI #2 (2015-10-16)
Resolved
- Referring to sv:16 Lovers Lane.
WPCleaner should detect <small>(återutgåvan 2004)<small/>
and suggest the following edit: <small>(återutgåvan 2004)</small>
instead of removing the closing tag. This is causing
| Skivbolag = {{Flaggbild|Australien}} [[Mushroom Records]]<br/>{{Flaggbild|Storbritannien}} [[Beggars Banquet Records]]<br/>{{Flaggbild|USA}} [[Capitol Records]]<br/>{{Flaggbild|Storbritannien}} [[LO-MAX Records]] <small>(återutgåvan 2004)</small>
not being detected a CHECKWIKI #2 by WPCleaner. (t) Josve05a (c) 17:56, 16 October 2015 (UTC)
- Hi Josve05a, I've added the suggestion for the small tag, but I don't understand the part about #2 not begin detected (I don't see any #2 error). --NicoV (Talk on frwiki) 17:48, 20 October 2015 (UTC)
- Neither do I, but as soon as I fixed this, CHCKWIKI gae the message that the #2 was fixed, which checkwiki refused to say before I fixed this. Perhaps #2 has changed from only malformated br-tags, to al malformatted tags? (t) Josve05a (c) 19:40, 20 October 2015 (UTC)
- Josve05a, this is because the definition of #2 has been modified by Bgwhite (see the beginning of the english description, even if it's incoherent) and I haven't modified WPC to check that yet. I think it's a bit too much for #2, but that's the current situation. --NicoV (Talk on frwiki) 14:39, 21 October 2015 (UTC)
- I've just developed a first version that checks small and center tags in #2. --NicoV (Talk on frwiki) 16:34, 21 October 2015 (UTC)
- Josve05a, this is because the definition of #2 has been modified by Bgwhite (see the beginning of the english description, even if it's incoherent) and I haven't modified WPC to check that yet. I think it's a bit too much for #2, but that's the current situation. --NicoV (Talk on frwiki) 14:39, 21 October 2015 (UTC)
- Neither do I, but as soon as I fixed this, CHCKWIKI gae the message that the #2 was fixed, which checkwiki refused to say before I fixed this. Perhaps #2 has changed from only malformated br-tags, to al malformatted tags? (t) Josve05a (c) 19:40, 20 October 2015 (UTC)
WPCleaner Hebrew Translation
Hi, I've tried to utilize and use with the Builtin WPCleaner spell check within the he.wiipedia (Hebrew wikipedia) and unfortunately i do not know how to enable it or even if it is possible to spell check the Hebrew wikipedia pages i downloaded those files too src_org_wikipediacleaner_translation_WikiCleaner-he.po and he_LC_MESSAGES_WikiCleaner , but i do not know what to do with them or how to export (add) them to WPCleaner in order to enable and use the spell function in Hebrew , Thank you. --MxKittens (talk) 23:28, 11 July 2015 (UTC)
- Hi MxKittens
- Spell check in WPCleaner works with a list of regular expressions to find errors and suggest replacements, not an actual dictionary. This list of regular expressions has to be provided in the wiki. It requires some configuration.
- To use this feature, first you need to create the list of regular expressions, either
- Then do the configuration:
- activate error #501 in CW configuration
- tell WPCleaner where the regular expressions are:
general_suggestions
for lists in WPCleaner formatgeneral_suggestions_typo
for lists in AWB format
- Ping me if you need more help! --NicoV (Talk on frwiki) 09:18, 13 July 2015 (UTC)
- I forgot to explain what to do with the .po files: they are for translating WPCleaner itself in various languages. If you want to add Hebrew translation to WPCleaner, the best way is to do it through launchpad.net here (you need to create an account to be able to do the translation) and then notify me so that I include the translation in WPCleaner (I check from time to time, but not very often). --NicoV (Talk on frwiki) 10:06, 13 July 2015 (UTC)
Documentation of #521
Resolved
One more thing: could you please expand this part of documentation? I have added there a temporary link to the last year's archive but it is less convenient. Matěj Suchánek (talk) 15:01, 2 December 2015 (UTC)
- You're right... This is somehow still work in progress, but I should update the documentation... --NicoV (Talk on frwiki) 20:02, 2 December 2015 (UTC)
- Forget about this, it's well documented in the Specific parameters section. Matěj Suchánek (talk) 21:16, 2 December 2015 (UTC)
Obsolete configuration/documentation
Resolved
See the "Required" part in Wikipedia:WPCleaner/Configuration/Help#Prerequisites. Matěj Suchánek (talk) 14:59, 1 November 2015 (UTC)
- Hi Matěj Suchánek, thanks for the heads up. Does it seem correct now ? --NicoV (Talk on frwiki) 10:34, 13 November 2015 (UTC)
- Yes. Looking further, you can ask Stefan Kühn to add it seems also outdated. Matěj Suchánek (talk) 14:31, 13 November 2015 (UTC)
- Ah, yes :-) I changed a few things also with the project being managed on enwiki now. --NicoV (Talk on frwiki) 14:40, 13 November 2015 (UTC)
- Yes. Looking further, you can ask Stefan Kühn to add it seems also outdated. Matěj Suchánek (talk) 14:31, 13 November 2015 (UTC)
104 and 105
Resolved
It needs update to include errors 104 and 105 in the bot tools list. -- Magioladitis (talk) 04:36, 9 December 2015 (UTC)
- Magioladitis Yes, I have to code the detections for these 2 new errors... I've developed 105, but I haven't deployed this new version because I'm currently travelling with a bad internet connection. I'm not sure there will be bot fixing for them (I don't see how for 105). --NicoV (Talk on frwiki) 13:34, 9 December 2015 (UTC)
- We mainly need detection and check whether the error was fixed or not. Maybe Bgwhite has any better ideas? -- Magioladitis (talk) 13:58, 9 December 2015 (UTC)
- I also don't see how 105 can be fixed by a bot. It's to hard to know if it was an error or vandalism. Going by #8, majority will be vandalism. 104 is currently fixed by AWB. If that piece of (#@&? can fix 104, then WPCleaner can. "Travelling"... yea, ok. Why don't you say that your cruises and tropical beaches have bad internet connections. Bgwhite (talk) 19:28, 9 December 2015 (UTC)
- 105 should be available now. Unfortunately, this a work related travel this time, with a lot of work, snif... For 104, I will see when I have free time, maybe during the Christmas holidays. --NicoV (Talk on frwiki) 20:12, 9 December 2015 (UTC)
- @Magioladitis and Bgwhite: Both 104 and 105 are now available in WPC. --NicoV (Talk on frwiki) 04:45, 11 December 2015 (UTC)
- 105 should be available now. Unfortunately, this a work related travel this time, with a lot of work, snif... For 104, I will see when I have free time, maybe during the Christmas holidays. --NicoV (Talk on frwiki) 20:12, 9 December 2015 (UTC)
- I also don't see how 105 can be fixed by a bot. It's to hard to know if it was an error or vandalism. Going by #8, majority will be vandalism. 104 is currently fixed by AWB. If that piece of (#@&? can fix 104, then WPCleaner can. "Travelling"... yea, ok. Why don't you say that your cruises and tropical beaches have bad internet connections. Bgwhite (talk) 19:28, 9 December 2015 (UTC)
- We mainly need detection and check whether the error was fixed or not. Maybe Bgwhite has any better ideas? -- Magioladitis (talk) 13:58, 9 December 2015 (UTC)
bdquo
Resolved
Does WPCleaner ignore „
("
was replaced but the former wasn't): [3][4]? Matěj Suchánek (talk) 17:31, 13 December 2015 (UTC)
- Hi Matěj Suchánek, yes it was ignoring
„
. I've added it. If you want you can check what characters are taken into account for #11 by looking at the source code (list of HTML characters). I think the list comes from what CheckWiki is able to detect. Maybe there's something to do there also... Bgwhite ? --NicoV (Talk on frwiki) 04:16, 14 December 2015 (UTC)- I think you are correct Nico. CheckWiki has
"
, but not„
. I've added it to CheckWiki's source code and it will be live when I update it next. Bgwhite (talk) 05:30, 14 December 2015 (UTC)
- I think you are correct Nico. CheckWiki has
No ISBN
Resolved
Since you're fixing ISBN related issues, please look at it:Napoli: itwiki uses ISBN=no
to tell the reader that the ISBN doesn't exist for that book, while WPCleaner thinks it's an error. See it:Template:Cita libro. Thanks. --95.252.172.138 (talk) 18:05, 24 December 2015 (UTC)
- Thanks for the report, I will look into how I can handle such cases. --NicoV (Talk on frwiki) 18:22, 24 December 2015 (UTC)
- Done ! Program modified, and configuration changed. --NicoV (Talk on frwiki) 01:31, 27 December 2015 (UTC)
Preview error?
Resolved
Extended content
|
---|
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException at org.wikipediacleaner.gui.swing.component.HTMLPane.hyperLink(Unknown Source) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.reflect.misc.Trampoline.invoke(Unknown Source) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.reflect.misc.MethodUtil.invoke(Unknown Source) at java.beans.EventHandler.invokeInternal(Unknown Source) at java.beans.EventHandler.access$000(Unknown Source) at java.beans.EventHandler$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.beans.EventHandler.invoke(Unknown Source) at com.sun.proxy.$Proxy2.hyperlinkUpdate(Unknown Source) at javax.swing.JEditorPane.fireHyperlinkUpdate(Unknown Source) at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(Unknown Source) at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) |
Propably reported when I asked for preview on Franz Kafka. Matěj Suchánek (talk) 19:57, 25 December 2015 (UTC)
- Thanks Matěj Suchánek, I managed to reproduce it, it happens in preview mode, when clicking on a link that is defined by a target like
//...
(without http or https in front). I've released a fix, it should be working now. --NicoV (Talk on frwiki) 09:35, 26 December 2015 (UTC)
CHECKWIKI error #34
Wikipedia_talk:WikiProject_Check_Wikipedia/Archive 6#Error_.2334. -- Magioladitis (talk) 09:02, 4 January 2015 (UTC)
- Magioladitis, WPC already detects the other magic words. I should probably add some code to give some suggestions to the user for BASEPAGENAME, FULLPAGENAME and SUBPAGENAME. --NicoV (Talk on frwiki) 13:56, 27 January 2015 (UTC)
Running Full Analysis on a list of articles without opening windows
Is there a way to run Full Analysis on a list of pages (let's say, of Internal Links) without it opening all the windows? What if I just want to find out which of the pages in the list have links to disambiguation pages so I can then select them from the list to work on? Can WPCleaner help me work in this way? Stevie is the man! Talk • Work 15:04, 1 February 2015 (UTC)
- Hi Stevie is the man!. Currently, it's not possible to do that with WPCleaner. Maybe I can add a feature for that, but I don't know when I will have time to do this. --NicoV (Talk on frwiki) 03:41, 9 February 2015 (UTC)
CHECKWIKI #10 (2015-04-03)
Suggest to replace vid [[Södertörns högskola][ med
with vid [[Södertörns högskola]] med
instead of vid [[Södertörns högskola]][ med
. (t) Josve05a (c) 22:32, 2 April 2015 (UTC)
Suggest to replace [[[Väsby IK]] (assisterande)
with [[Väsby IK]] (assisterande)
instead of [Väsby IK]] (assisterande)
. (t) Josve05a (c) 22:42, 2 April 2015 (UTC)
My WPCleaner wish list
I didn't see these capabilities on Wikipedia:WPCleaner/Options or NicoV/WikiCleanerConfiguration; if I missed them, please guide me.
Here's my wish list:
Full analysis
- I wish that I could specify a limited set of Checkwiki errors to process.
- My absolute dream: a separate dialog box full of checkboxes--one checkbox per Checkwiki error. By default, every checkbox is checked (i.e. Full analysis). The dialog box would include a button "Uncheck all"; I could press it, then select only the errors that I wanted to process. The dialog box would include a button "Full analysis"; I could press it to select all checkboxes. (...or one button that toggles between None / All)
- When I exit WPCleaner, it should remember my last settings in this dialog box.
- Additional note: I thought that I had found what I needed in the "Project Check Wikipedia" button on the main window. Unfortunately, that function only works with the CheckWiki error listings. I'm currently working with the Wikipedia:CHECKWIKI dump files. At this moment, when I tell WPCleaner to "Load errors 69-73", it returns only 4 articles; that's correct according to the CheckWiki error listings. However, the Wikipedia:CHECKWIKI/070 dump file, at this moment, contains 707 errors. I don't understand the disconnect between the CheckWiki error listings and the dump files.
- In any case, what I need is...specify an article to process in the "Page" text box on the main window and run "(Full) Analysis" against that article for a limited set of CheckWiki errors.
- Knife-in-the-drawer Currently, the only way to do that is not ergonomic at all, but I will see what I can do... Current way (not really tested, may not work as expected): create User:Knife-in-the-drawer/WikiCleanerConfiguration and add configuration in it to disable the errors you don't want to use (see fr:Utilisateur:WikiCleanerBot/WikiCleanerConfiguration#Configuration correction syntaxique for the opposite example: activating errors that are by default deactivated on frwiki). --NicoV (Talk on frwiki) 23:03, 29 May 2015 (UTC)
- BUG Here's the scenario: Enter "Article A" in the "Page" text box on the main window. Press the "Full Analysis" button. The "Full Analysis" runs to completion. [a passage of some time] Kill the "Analysis" window. Enter "Article B" in the "Page" text box on the main window. Press the "Full Analysis" button. WPCleaner runs the full analysis on Article A.
- From a user perspective, once I enter "Article B" in the "Page" text box, I expect WPCleaner to process "Article B"; I don't know where WPCleaner digs up the name of the previous article that it processed.
- This bug occurs infrequently. During a full day of work yesterday, the bug occurred four or five times.
- The bug occurs randomly. At present, I have no idea what provokes the bug. Knife-in-the-drawer (talk) 00:56, 29 May 2015 (UTC)
- Knife-in-the-drawer I'm aware of this bug, but I don't know yet how to fix it. It normally happens if you type text in the "Page" text box and then click on a button without pressing Return. Pressing Return in the text box (or maybe exiting the text box with tab, ...) should work as a workaround. --NicoV (Talk on frwiki) 19:56, 29 May 2015 (UTC)
- In fact, I think it only happens if you don't press Return in the text box and start an action with a shortcut (not by clicking on a button). I opened a question at stackoverflow. --NicoV (Talk on frwiki) 15:32, 12 June 2015 (UTC)
- Knife-in-the-drawer I'm aware of this bug, but I don't know yet how to fix it. It normally happens if you type text in the "Page" text box and then click on a button without pressing Return. Pressing Return in the text box (or maybe exiting the text box with tab, ...) should work as a workaround. --NicoV (Talk on frwiki) 19:56, 29 May 2015 (UTC)
Main window
- When I click in the "Page" text box, I wish its contents were selected automatically. (By analogy, in Chrome, when I click in the address text box, Chrome automatically selects its contents.)
- oder
- I wish the "Page" text box were much wider.
"Analysis" window
- It's not possible to adjust the width of the left column that includes the "Check Wikipedia" panel. I can grab the right edge with the cursor and the double-arrowhead appears, but when I try to slide the edge, it won't budge.
- When I exit WPCleaner, it should remember the layout of my "Analysis" window
- Let's suppose that I run a full analysis, and the "Check Wikipedia" panel includes an error:
- Internal link written as an external link (5)
- On my computer, I can only see "Internal link written as an ext" because the right edge of the panel isn't wide enough.
- When I select an error in the "Check Wikipedia" panel, I wish the "Analysis" window would show something like "1 of 5" or "1/5". By analogy, in Chrome or Adobe Acrobat, when I use ctrl-f to perform a search, they both nicely show "current item of x items".
- Where should "1/5" be located in the "Analysis" window? How about right smack dab in the middle between the "Previous occurrence" and "Next occurrence" buttons in the toolbar?
Knife-in-the-drawer (talk) 06:48, 26 May 2015 (UTC)
CHECKWIKI #34 (2015-06-02)
- Found on sv:Decimaltid.
On svwp it detects {{tid}}
as a CHECKWIKI #34-error, even though this is a normal template on svwp. (Tid is a navbox-template; Tid in Swedish means time in English). (t) Josve05a (c) 19:09, 2 June 2015 (UTC)
Edit Summary
Am i missing something, or has something changed? I used to be able to uncheck the Automatic Comment and add to or replace the edit summary; now that will not happen ~ i can uncheck, but i cannot get the cursor to appear in the box, so i can't modify my comment. Am i particularly silly, or is this correct? Cheers, LindsayHello 17:01, 13 July 2015 (UTC)
- Hi Lindsay, very strange, I haven't changed anything in this part... What OS, java, ... are you using? --NicoV (Talk on frwiki) 17:04, 13 July 2015 (UTC)
- Hi NicoV Windows 7, Java i don't know (not sure here to look), but Java keeps itself updated, so presumably the latest. WPCleaner is v. 1.35 (April 13, 2015). Probably something i've done or not done, if it's nothing you know about. Cheers, LindsayHello 17:40, 13 July 2015 (UTC)
- Hi Lindsay, I just released v1.36, maybe it will change the behavior ? --NicoV (Talk on frwiki) 18:00, 14 July 2015 (UTC)
- Oh good, NicoV. I just did this test edit; i made the change, then pressed "ALT-V", then unchecked the Automatic Comment box, then tried to put the cursor in the box but it wouldn't go; i pressed "f" four times, then "ALT-S", and in the edit summary you can see the result ~ (WPCleaner v1.36 - WP:WCWffff project (Duplicate arguments in template calls)) ~ the "ffff" appears in an odd position. Anyway, thank you for v1.36; i look forward to using it. Cheers, LindsayHello 20:01, 14 July 2015 (UTC)
- Hi Lindsay, I just released v1.36, maybe it will change the behavior ? --NicoV (Talk on frwiki) 18:00, 14 July 2015 (UTC)
- Hi NicoV Windows 7, Java i don't know (not sure here to look), but Java keeps itself updated, so presumably the latest. WPCleaner is v. 1.35 (April 13, 2015). Probably something i've done or not done, if it's nothing you know about. Cheers, LindsayHello 17:40, 13 July 2015 (UTC)
- Instant update! I just tried it on a Full Analysis page (the other was on the Project Check Wikipedia page), and it worked perfectly. Yesterday i tried the same thing and it didn't, so maybe something has changed. Anyway, i can use Full Analysis instead of PCW, for sure. Thanks! Cheers, LindsayHello 20:10, 14 July 2015 (UTC)
Request to expand checking for Date format in templates
In Wikipedia:WikiProject Check Wikipedia/Translation, is it possible to change error 521 to highlight more Date format in template errors, such as:
- five-digit years (e.g. Amer (film) reference 4, Armando Rodríguez (journalist) reference 6)
- accessdate < 2001 (e.g. Alfred Cox (politician) reference 27)
- day of the month > 31 (e.g. Armenian diaspora reference 94)
- year > 2016 (e.g. Atropa belladonna reference 1)
- month > 12 (e.g. Bedrock Gardens reference 6)
- accessdate > today (e.g. Bilbao Airport reference 5)
Thanks! GoingBatty (talk) 02:19, 27 July 2015 (UTC)
Maximizing
Whenever I maximize the window with full analysis, two "frozen" text fields occur under the main toolbar (they look similar to the "content" manager). There is no indication of what they are for and no easy way to hide them (you can close them by opening and closing the content manager). Could you please have a look at it? (Windows 7, Java 8.) Matěj Suchánek (talk) 14:36, 30 October 2015 (UTC)
- Matěj Suchánek Can I see a screenshot to be sure to understand ? I will try to reproduce this at home, but I never saw this. --NicoV (Talk on frwiki) 16:05, 30 October 2015 (UTC)
- No problem: before, after maximizing. Matěj Suchánek (talk) 17:12, 30 October 2015 (UTC)
- Ah yes, that's a problem I know of. It's the "content" manager that indeed gets displayed in cases like that (it happens also on the CW window). I have to find a fix. --NicoV (Talk on frwiki) 12:21, 31 October 2015 (UTC)
- No problem: before, after maximizing. Matěj Suchánek (talk) 17:12, 30 October 2015 (UTC)
Unable to load #524
When I'm in Check Wiki menu and want to load #524 (Duplicate arguments), it's grayed out and disabled on Czech Wikipedia. On English Wikipedia, I am able to load it where even the category title is not provided, though. As the configuration falls back to MediaWiki:Duplicate-args-category, I tried to force reading the category directly from the translation page but it didn't work either. Moreover, I am able to load #527 (Same ref name but different content) which has no fallback and uses the translation file. Could you please look at it? I personally think WPC has problem with either ":", or the Czech chars in the title. Matěj Suchánek (talk) 14:49, 2 December 2015 (UTC)
- Matěj Suchánek Try configuring the priority to something different than 0. WPC probably has a bug with priority set to 0 even if "bot" is activated. I don't have much time right now to fix it. --NicoV (Talk on frwiki) 20:00, 2 December 2015 (UTC)
- I knew I had missed something. No matter you resolve the bug now or later, thanks! Matěj Suchánek (talk) 21:11, 2 December 2015 (UTC)d
New error ideas
Hi, I got two ideas about categories:
- Checking superfluous keys in categories. Superfluous means it is same as the current DEFAULTSORT or the pagename if the former is not present. Example: [5]
- Migrating sortkeys used several times to DEFAULTSORT. If there are more same sortkeys that are used more than times, they could be merged into one DEFAULTSORT and deleted according to the previous idea. Then either the other categories would be updated with the previous sortkey (ie. pagename), or the new sortkey would be applied to them as well. Example: [6]
@Bgwhite and Magioladitis: Are these anything AWB/Check Wiki could benefit from? Matěj Suchánek (talk) 18:13, 20 December 2015 (UTC)
Matěj Suchánek AWB already does the second one and partly the first one. -- Magioladitis (talk) 19:23, 20 December 2015 (UTC)