Wikipedia talk:WPCleaner/Archive 2010
This is an archive of past discussions on Wikipedia:WPCleaner. 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. |
Bad translation
Done In Czech there is text "Deteckce nástrojem Wikipedie:WCW". Correct is "Detekce nástrojem Wikipedie:WCW". --Ragimiri (talk) 17:29, 19 April 2010 (UTC)
- Thanks, I am fixing it. If you want, you can help me with the CS translation here. --NicoV (talk) 17:47, 19 April 2010 (UTC)
Done Hello, I made some translations in Czech, so please build new version. Thanks. :) --Ragimiri (talk) 15:54, 14 May 2010 (UTC)
- Released. --NicoV (talk) 21:25, 17 May 2010 (UTC)
A suggestion
Would it be possible to add a note to the automatic comment for disam links that reads that this is not a bot edit? I get comments constantly telling me to "fix" my "bot". I know it doesn't seem like a big deal but its highly annoying. I've tried adding a banner to my talk page and userpage stating that its not a bot but to no avail. I don't know if this is an issue over at the French version or not. I tried to find a spot where you can alter the automatic edit summary but I couldn't. --User:Woohookitty Disamming fool! 11:40, 28 April 2010 (UTC)
- You can remove the first part of the comment if you want (the link to WikiCleaner with the version) in the options window. Is it enough ? --NicoV (talk) 20:39, 28 April 2010 (UTC)
- Yes. :) Thanks. --User:Woohookitty Disamming fool! 11:54, 16 May 2010 (UTC)
Uninstall
How do I completly wipe this from my computer?--intraining Jack In 05:59, 29 May 2010 (UTC)
- If you're on Windows, in the configuration panel, either "add/remove programs" or "Java". --NicoV (talk) 10:57, 29 May 2010 (UTC)
Adding to wikipedia watchlist
Done 0.99 I like to add any page I edit to my wikipedia watchlist, so if someone reverts my edits I can know about it. Could you add this feature? Thanks for a great tool. --Muhandes (talk) 13:18, 5 July 2010 (UTC)
- You can try the new feature in the options. --NicoV (talk) 18:53, 7 July 2010 (UTC)
- Fantastic. I'm back to using Wikipedia Cleaner full force. Now all I need is a userbox. --Muhandes (talk) 20:03, 7 July 2010 (UTC)
Bug?
Done 0.99 layer 3 is reported as having one link in the main namespace. It has none I can see. Also, when trying to remove links to it they showed in blue and I couldn't use right click. Is something wrong with that page? --Muhandes (talk) 19:06, 5 July 2010 (UTC)
- For the link in the main namespace, I think it's layer 3 (disambiguation) which is a redirect to layer 3. I count them as links.
- An other user reported a similar problem (links in blue) in the French wikipedia a few days ago, but in both situations, it's working correctly for me. I don't know what's wrong for the moment. Can you give me more informations : is it only for layer 3, for some dab pages, for all dab pages ? is it still happening ? what is your configuration (OS, Java, ..., WikiCleaner options) ? Edit : are there any errors in the Java console ? (it can be displayed through Java configuration panel)
- --NicoV (talk) 19:34, 5 July 2010 (UTC)
- It's only layer 3. It's on all pages that layer 3 appears on. It is still happening, I just checked. It is happening on two different machines. OS is winXP and Vista64. Java 6 update 7. I don't use any special options I know of. There are no errors on the console. This might be helpful - it only happens when I use "Full Analysis" from the Disambiguation file. If I open full analysis from the main window, it works OK. --Muhandes (talk) 22:27, 5 July 2010 (UTC)
- It also happens with per se --Muhandes (talk) 00:21, 6 July 2010 (UTC)
- Can you try with Layer 3 and Per se (with an uppercase first letter) ? --NicoV (talk) 19:23, 6 July 2010 (UTC)
- You got it - it happens with all pages if I use small case for the first letter. It works OK if the first letter is capitalized. The reason I didn't caught it earlier is that up till today all the pages I used it for were abbreviations - all capital case. I'm very happy it works again now. --Muhandes (talk) 22:40, 6 July 2010 (UTC)
- Good, I will fix it so that lowercase letter will also work. --NicoV (talk) 06:39, 7 July 2010 (UTC)
- I see it was fixed in the newest version. Awesome. --Muhandes (talk) 20:04, 7 July 2010 (UTC)
- Good, I will fix it so that lowercase letter will also work. --NicoV (talk) 06:39, 7 July 2010 (UTC)
- You got it - it happens with all pages if I use small case for the first letter. It works OK if the first letter is capitalized. The reason I didn't caught it earlier is that up till today all the pages I used it for were abbreviations - all capital case. I'm very happy it works again now. --Muhandes (talk) 22:40, 6 July 2010 (UTC)
- Can you try with Layer 3 and Per se (with an uppercase first letter) ? --NicoV (talk) 19:23, 6 July 2010 (UTC)
- It also happens with per se --Muhandes (talk) 00:21, 6 July 2010 (UTC)
Mass remove
Done Hi. I see, that in error 16 is possible to remove all control character at once. Will you consider to add this "mass remove" feature to more errors, e. g. 42, 54, 80…? Also would be nice to add "mass replace" feature, e. g. for errors 11, 50… --Ragimiri (talk) 11:18, 27 June 2010 (UTC)
- Yes, I plan adding the same kind of features (remove or other actions) for other errors, I will have to check what I can do for each error. If you want to make suggestions for mass actions (not limited to simple remove or replace), you can come and comment on the French talk page for Check Wiki, I watch this page more often and other users will probably participate in the suggestions. --NicoV (talk) 08:41, 28 June 2010 (UTC)
- I have added "Replace all" for errors 11, 20 and 50, and also there's now the icon in front of errors with such features. --NicoV (talk) 19:59, 7 July 2010 (UTC)
- I keep an updated list of errors in the French Wiki, that shows for each error if WikiCleaner can detect it and also if a "mass" correction function is available (WPC column). --NicoV (talk) 07:21, 9 July 2010 (UTC)
A very useful feature {{linktext}}
Done 0.99 In many case the correct action is to use {{linktext}} instead of the word. For example, I started doing per se and so far all the cases I encounters are handled this way. It would be very useful as a right click. --Muhandes (talk) 00:23, 6 July 2010 (UTC)
- Done 0.99 Or alternatively, an option to replace per se with per se. --Muhandes (talk) 00:36, 6 July 2010 (UTC)
- You can now configure here the list of templates that can be used on a disambiguation page to add a link to wiktionary (like {{wiktionary}}). It's used by WikiCleaner to propose replacements to wikt:. I will also have a look at {{linktext}}. --NicoV (talk) 09:49, 10 July 2010 (UTC)
- I added Wiktionarypar to the config page and it works great for that, but it still doesn't work on Wiktionary from some reason. For example, trying to work on A House of Pomegranates, I don't get a wikt link for "Ague", although I added {{Wiktionary}} to Ague. --Muhandes (talk) 19:31, 10 July 2010 (UTC)
- Thanks for the example, there was a bug when several calls are needed to retrieve the list of templates used in the disambiguation pages. It should work now. --NicoV (talk) 22:46, 10 July 2010 (UTC)
- Works great now. If I may ask another question, why does it use ":wikt:name" rather than "wikt:name"? It seems to work both ways, is there a difference? --Muhandes (talk) 23:32, 10 July 2010 (UTC)
- I don't remember if there was a reason, it has been done a long time ago. --NicoV (talk) 07:25, 11 July 2010 (UTC)
- Works great now. If I may ask another question, why does it use ":wikt:name" rather than "wikt:name"? It seems to work both ways, is there a difference? --Muhandes (talk) 23:32, 10 July 2010 (UTC)
- Thanks for the example, there was a bug when several calls are needed to retrieve the list of templates used in the disambiguation pages. It should work now. --NicoV (talk) 22:46, 10 July 2010 (UTC)
- I added Wiktionarypar to the config page and it works great for that, but it still doesn't work on Wiktionary from some reason. For example, trying to work on A House of Pomegranates, I don't get a wikt link for "Ague", although I added {{Wiktionary}} to Ague. --Muhandes (talk) 19:31, 10 July 2010 (UTC)
- You can now configure here the list of templates that can be used on a disambiguation page to add a link to wiktionary (like {{wiktionary}}). It's used by WikiCleaner to propose replacements to wikt:. I will also have a look at {{linktext}}. --NicoV (talk) 09:49, 10 July 2010 (UTC)
- {{linktext}} is added also and it's configurable. --NicoV (talk) 11:12, 11 July 2010 (UTC)
Broken
Done 0.99 I've been unable to launch the application for the last several days. Error message I'm receiving is that there's a bad version number in the .class file. Any idea what's going on? Mlaffs (talk) 23:09, 6 July 2010 (UTC)
- What Java version do you have ? I will check if my build still works with Java 1.5. --NicoV (talk) 06:38, 7 July 2010 (UTC)
- Also, what operation system ? --NicoV (talk) 18:32, 7 July 2010 (UTC)
- Looks like it's Java 1.5, and I'm running Mac OS X 10.5.8. Mlaffs (talk) 23:17, 7 July 2010 (UTC)
- I changed the build process recently to take advantage of some Java 6 features. The latest version has been built to be binary compatible with Java 1.5, I hope it's enough for making it work again with Java 1.5. Can you tell me if it works again ? --NicoV (talk) 20:10, 8 July 2010 (UTC)
- Yeah, looks like it's working - thanks! Mlaffs (talk) 23:21, 8 July 2010 (UTC)
- I changed the build process recently to take advantage of some Java 6 features. The latest version has been built to be binary compatible with Java 1.5, I hope it's enough for making it work again with Java 1.5. Can you tell me if it works again ? --NicoV (talk) 20:10, 8 July 2010 (UTC)
- Looks like it's Java 1.5, and I'm running Mac OS X 10.5.8. Mlaffs (talk) 23:17, 7 July 2010 (UTC)
Cannot access any disam lists
Done 0.99 Just tonight started receiving the following error when I click on the Disambiguation button for any page: "Any error occured: Error reported: internal_api_error_MWException - Exception Caught: Internal error in ApiResult::setElement: Attempting to add element backlinks=5000, existing value is 5000". When I click OK, I get "An error occured: null-java.lang.NullPointerException" Also getting it when trying to click on the disambiguation link on the Current Disambiguation List. Help! :) --User:Woohookitty Disamming fool! 05:47, 28 July 2010 (UTC)
- Hi, it seems that the error is thrown by MediaWiki API itself, so probably not a problem directly in WikiCleaner. In the Java console (if it's not displayed by default, you can add it through the Java Control Panel), you should see the URLs that WikiCleaner is calling to retrieve the informations in Wikipedia. Can you try them in a browser (probably starting by the last of them) to see which one is causing the error ? I can't test anything myself during the day. --NicoV (talk) 06:54, 28 July 2010 (UTC)
- You know more about this than I do. :) But this is what I got for "American":
http://en.wikipedia.org/w/api.php?gbllimit=max&gbltitle=American&prop=info&action=query&generator=backlinks&format=xml http://en.wikipedia.org/w/api.php?intoken=edit&rvprop=content%7Cids%7Ctimestamp&prop=revisions%7Cinfo&action=query&titles=American&format=xml Jul 28, 2010 2:30:29 AM org.wikipediacleaner.api.impl.MediaWikiAPI checkForError WARNING: Error reported: internal_api_error_MWException - Exception Caught: Internal error in ApiResult::setElement: Attempting to add element backlinks=5000, existing value is 5000 Jul 28, 2010 2:30:29 AM org.wikipediacleaner.api.impl.MediaWikiAPI getRoot WARNING: Error. Trying again http://en.wikipedia.org/w/api.php?gbllimit=max&gbltitle=American&prop=info&action=query&generator=backlinks&format=xml Jul 28, 2010 2:30:29 AM org.wikipediacleaner.api.impl.MediaWikiAPI checkForError WARNING: Error reported: internal_api_error_MWException - Exception Caught: Internal error in ApiResult::setElement: Attempting to add element backlinks=5000, existing value is 5000 Jul 28, 2010 2:30:29 AM org.wikipediacleaner.api.impl.MediaWikiAPI getRoot WARNING: Error. Maximum attemps count reached.
- I tried the first 2 links but didn't see anything awry (but I'm guessing you will see the issue). As I said, I get this for any links I try. I've tried Heavy metal, American, Cartoon Network and a bunch of others. If I did this wrong, let me know. I also emailed you what I got when I clicked on the first 2 links. Didn't include it here since its obviously alot of info. --User:Woohookitty Disamming fool! 07:34, 28 July 2010 (UTC)
- Thanks for links, I have the answer with them :). The problem is indeed inside MediaWiki API when retrieving the backlinks giving an internal MediaWiki error. I have reported it to the MediaWiki API developers, hoping they can fix it quickly. If they can't, I can still fix it temporarily on my side (replacing the parameter gbllimit=max by a fixed value like gbllimit=500). --NicoV (talk) 07:49, 28 July 2010 (UTC)
- It breaks AWB too. I guess we'll need to live without our shiny tools for a short while until fixed. --Muhandes (talk) 07:55, 28 July 2010 (UTC)
- Waaaaaaaaaaaaaaah! :-D --User:Woohookitty Disamming fool! 08:10, 28 July 2010 (UTC)
- Until the MediaWiki API is fixed, I have temporarily changed the way Wiki Cleaner retrieves backlinks, so it should work now. --NicoV (talk) 16:47, 28 July 2010 (UTC)
- Where could I make that gbllimit= change on my side? Magister Mathematicae (talk) 16:51, 28 July 2010 (UTC)
- Are you talking about WikiCleaner ? If so, just run it again so that it will download the latest version, and it should work. --NicoV (talk) 22:57, 28 July 2010 (UTC)
- Where could I make that gbllimit= change on my side? Magister Mathematicae (talk) 16:51, 28 July 2010 (UTC)
Converting into <ref> tags
Done 0.99 Hi, I see, that in error #79 is possible to convert link into <ref> tag. But if this link is also in <ref> tags, it should be better to only remove brackets. E. g.:
[http://www.example.net/] → <ref>http://www.example.net/</ref>
<ref>[http://www.example.net/]</ref> → <ref>http://www.example.net/</ref>
--Ragimiri (talk) 13:45, 28 July 2010 (UTC)
- Ok, good idea. I thought that I was preventing the Convert operation inside <ref> tag. --NicoV (talk) 16:17, 28 July 2010 (UTC)
- I have added this, but I'm not sure it works in all situations. Give me more details if you find problems. --NicoV (talk) 18:08, 31 July 2010 (UTC)
I have also added the ability to add a description to the link, with the default value being the title of the page the link is pointing to. --NicoV (talk) 11:20, 1 August 2010 (UTC)
Nico, you are genius. It's perfect. :) --Ragimiri (talk) 15:22, 1 August 2010 (UTC)
Done 0.99 Just one problem - if link points to e. g. PDF, WikiCleaner hangs attempting to download title. --Ragimiri (talk) 08:03, 3 August 2010 (UTC)
- Does it really hang or does it only take a very long time (since it will try to read the entire PDF...) ? I will probably change this to read only the few kilobytes of the file to look for the page title. --NicoV (talk) 09:47, 3 August 2010 (UTC)
- I have limited the download to 10 kilobytes, so it should work now. Can you try ? --NicoV (talk) 16:23, 3 August 2010 (UTC)
Works great. :) --Ragimiri (talk) 21:52, 3 August 2010 (UTC)
Automatic clear page field
Done 0.99 Though having the name of the page remembered on the page field is convenient for most users, I find it annoying to see the last page that was typed on the field every time I open the program, after doing the full analysis of the page that was manually typed. There should be an option that does not save the name of the last page that was typed and analyzed on the page field. Thank you. Johnny Au (talk/contributions) 02:42, 4 August 2010 (UTC)
- Should be configurable now. --NicoV (talk) 23:19, 7 August 2010 (UTC)
!! please
Done Could you remove the exclamation mark from the edit summary ... You can help!? The advertisement makes a changes-page a bit noisy. If so, thanx. -DePiep (talk) 15:05, 13 August 2010 (UTC)
- The edit summary can be configured in User:NicoV/WikiCleanerConfiguration with many other things. I let each wiki decide on the one suited to their needs. Currently, this is the one suggested at Wikipedia:Disambiguation_pages_with_links. I let you see what it should be changed to. --NicoV (talk) 18:55, 13 August 2010 (UTC)
Stuck at Login
Done Hadn't tried to boot up for a few days, but seems today that all's gone wonky. Application launches, but when I hit the Login button, it gets stuck at "Retrieving contents - Wikipedia:WikiProject Check Wikipedia/Translation" and just hangs there indefinitely. Any thoughts? Mlaffs (talk) 00:36, 17 August 2010 (UTC)
- Is the problem still there ? Yesterday, thee was a problem with MediaWiki API taking ages (dozens of seconds, minutes) to answer simple queries, or even failing to answer. I reported the problem to the MediaWiki API mailing list, and it was supposed to be fixed. For me, it seems to work now. --NicoV (talk) 07:16, 17 August 2010 (UTC)
- Yep, seems to still be buggered for me. Mlaffs (talk) 23:27, 17 August 2010 (UTC)
- I will try this evening at home : is it for enwiki ? Can you tell me what are the logs in the Java console ? (To display it on Windows : Configuration panel -> Java -> Advanced tab -> Java Console. --NicoV (talk) 11:04, 18 August 2010 (UTC)
- You're probably using Java 1.5 : I am developping with Java 6 and I don't test with 1.5 much often. I am fixing it to work with 1.5, but I suggest you to install Java 6 to avoid this kind of problem and benefit from some features of WikiCleaner only available with Java 6 (like opening a page in the web browser, ...). --NicoV (talk) 20:15, 18 August 2010 (UTC)
- Working now that I've checked again when I got home from work. But, yes, it's for enwiki, and I'm using Java 6 on a Mac. Mlaffs (talk) 00:28, 19 August 2010 (UTC)
- Yep, seems to still be buggered for me. Mlaffs (talk) 23:27, 17 August 2010 (UTC)
Pages linked to from a page
Done It would be great to be able to analyze all pages linked to from a specific page. That way if one is interested in some list, one can analyze all pages in that list.--Muhandes (talk) 11:01, 25 August 2010 (UTC)
- You mean having a list of links contained in a page and then being able to open them in the Analysis window ? It could be like the "Current dab list" except that you could select the name of the page containing the links ? If this solution is ok with you, it should be easy to add. --NicoV (talk) 11:17, 25 August 2010 (UTC)
- Exactly. I am for instance managing a list of pages I created. It would be great to be able to analyze all of them and make sure there are no problems. --Muhandes (talk) 11:23, 25 August 2010 (UTC)
- You can try the new 'Internal links' button. --NicoV (talk) 17:25, 25 August 2010 (UTC)
- Works great, thank you. My articles are now clean. --Muhandes (talk) 06:20, 26 August 2010 (UTC)
- You can try the new 'Internal links' button. --NicoV (talk) 17:25, 25 August 2010 (UTC)
- Exactly. I am for instance managing a list of pages I created. It would be great to be able to analyze all of them and make sure there are no problems. --Muhandes (talk) 11:23, 25 August 2010 (UTC)
External viewer for the page analyzed
Done Is there a way to open an external viewer for the page one is currently analyzing? I am sometimes analyzing a page and then deciding that the solution cannot be made inside wikicleaner, so I want to open the original and continue working from there. --Muhandes (talk) 06:50, 26 August 2010 (UTC)
- Yes, in the Analysis window, you should have the External Viewer button (Earth) just after the Reload button (circular arrow). If you don't have it, then you're probably using Java 1.5 (if that's the case, I suggest going for Java 6 which brings some nice additions). --NicoV (talk) 08:23, 26 August 2010 (UTC)
- Thanks. I guess this was another case of selective blindness.--Muhandes (talk) 08:53, 26 August 2010 (UTC)