Wikipedia talk:WPCleaner/Archive 2011

More usernames/passwords
✅ 0.99 Hello, I am suggesting another feature. Is possible to add multiuser login? So I can choose username1 or username 2 after startup. I have bot account on cswiki for replacing ndashes or removing unicode chars, but e. g. for adding desc of external links or replacing repeating references I would like to use my regular account. --Ragimiri (talk) 15:29, 1 August 2010 (UTC)
 * Could be useful (I also have a bot account), but not on the top of my TODO list. --NicoV (talk) 09:49, 2 August 2010 (UTC)
 * Done. --NicoV (talk) 21:28, 6 April 2011 (UTC)

✅ 1.01 Hi Nico, thanx, but I propably found error – I can only change username, but password is still one (of first used account), so if I select another username, password of second account is not used. --Ragimiri (talk) 11:14, 9 April 2011 (UTC)
 * You're right, I didn't test it with passwords. Fix should be available in a few minutes. --NicoV (talk) 15:20, 9 April 2011 (UTC)

Works OK. :) --Ragimiri (talk) 14:14, 11 April 2011 (UTC)

Titles with tabs in them
When this program encounters pages with tabs in the page's title, the tabs comes out in it's escaped form(\x) instead of being a tab, which results in WikiCleaner not finding the article because their is no such article that has the tabs in their title escaped. Could someone fix this? Thanks. Usb10 Connected? 00:53, 25 September 2010 (UTC)
 * Can you give me an example of a page with tabs in its title ? It will be easier for me to see what is going on and test the fix. --NicoV (talk) 10:05, 25 September 2010 (UTC)

Actually, I not sure if \x means a tab or not. Whatever it is, here's an example: I clicked on random page, and I got this: Rollin' \x26 Coastin' (In Search of America). Some weird is going on were it converts some character into a \x. Usb10 Connected? 23:33, 6 December 2010 (UTC)
 * Hi, ok it seems that it's rather the &amp; in titles that's causing some troubles. I have to understand what's going on. --NicoV (talk) 19:30, 7 December 2010 (UTC)
 * I can't reproduce any problem with this :( I can open and analyze Rollin' & Coastin' (In Search of America) without problem. Can you give the exact sequence of actions that brought this problem ? --NicoV (talk) 20:35, 7 December 2010 (UTC)

Mac
Will WikiCleaner work on Mac OS X? ~  Nerdy Science  Dude  02:03, 11 October 2010 (UTC)
 * Hi, it should but I have no Mac to test WikiCleaner on it... What problems do you see ? There are several ways of installing WikiCleaner:
 * either with Java Web Start : first url, second url, and maybe third url.
 * either downloading it directly here, but without any automatic update.
 * Java implementation on Mac computers seems different than other OS, so it's not easy to have a working version of WikiCleaner. If you can help me pinpoint problems, I will do modifications. --NicoV (talk) 06:17, 11 October 2010 (UTC)


 * WikiCleaner works fine on my MacBook(running Mac OS 10.6.4) so I would assume that it would work with any Mac with Java Web Start enabled. Usb10 Connected? 22:50, 24 October 2010 (UTC)

Installation
Hi, I was wondering if someone can help me. I've been trying to install Wikipedia Cleaner, as it looks like a very useful tool but never can. I'm running Windows Vista, and Java 6, but when I download the files, I just get the Java Splash Screen for about 30 seconds, the dots move along, and then it vanishes. Nothing is installed on my computer, and the Java Web Start process ends in the system tray. I'm using Firefox 3.6.13, and have tried all three URl's. Thanks in advance, Acather96 (talk) 09:27, 24 December 2010 (UTC)
 * Hi, it's the first time I see this error. Let's go for a few suggestions and questions:
 * Have you tried the manual installation and does it work ?
 * Are you behind a proxy ? If so, you can try configuring Java Web Start (something like: configuration panel / Java / General / network parameters)
 * Can you tell me what is visible in the Java console ? You can force its display (something like: configuration panel / Java / General / Advanced / Java Console : display console)
 * Have you tried other programs that are installed with Java Web Start ? (example findbugs)
 * Have you tried purging Java cache ?
 * Keep me posted. --NicoV (talk) 13:45, 24 December 2010 (UTC)
 * Hi, thanks for the quick response and apologies for my late response. I've tried the manual, that doesn't work, and I am not behind a proxy. I'm afraid I'm not really sure how to make the console come up, neither do I know how to purge the Java cache. I haven't installed other programs with Java Web Start, to the best of my knowledge. Thanks, Acather96 (talk) 17:05, 30 December 2010 (UTC)
 * Hi,
 * On my Windows XP, to show the Java console (French version, so I am not sure of the names in English), I click on Start / Configuration Panel / Java to display the Java configuration window. Then, in the Advanced tab, I set the Java console parameter to Show console. Then click OK. Hopefully, next time you try WikiCleaner, you will have the Java console.
 * If you want to try an other program installed with Java Web Start, you can try findbugs by going to their demonstration page and clicking on the link "run findbugs" in the first chapter.
 * --NicoV (talk) 17:45, 30 December 2010 (UTC)

Thank you!
Works great for me, thanks for the excellent tool! BurtAlert (talk) 19:26, 27 February 2011 (UTC)

Won't load
✅ The current version wont load, it gets stuck at "Retrieving suggestions for text replacements". --Muhandes (talk) 18:12, 8 May 2011 (UTC)
 * I have the same problem. When can it be fixed?  Johnny Au  (talk/contributions) 01:06, 9 May 2011 (UTC)]
 * Me too. I noticed too that the automatic install link isn't working. I get unable to launch application. I have a feeling they made a change on the backend that broke it. --User:Woohookitty Disamming fool! 05:27, 9 May 2011 (UTC)
 * Hi. I will fix it this evening when back home. It's probably due to the new feature I have added yesterday (fixing orthograph and typography based on a list of suggestions). It seems to work on frwiki where I test WPCleaner. In cases like this one, please leave a message on frwiki, I don't look at enwiki as often. --NicoV (talk) 06:34, 9 May 2011 (UTC)
 * I tried making a modification on User:NicoV/WikiCleanerConfiguration. Does it solve the problem ? I can't run my tool from the office to check. --NicoV (talk) 06:38, 9 May 2011 (UTC)
 * Yep. :) Thanks as always. You are the best :) --User:Woohookitty Disamming fool! 06:54, 9 May 2011 (UTC)
 * Works like charm, thanks. --Muhandes (talk) 07:46, 9 May 2011 (UTC)

Great ! I will fix it this evening to work even if the configuration is not modified. By the way, if you're interested in using the new feature for fixing common misspellings, it requires some configuration (and unfortunately probably some reformatting of the lists of common misspellings). See fr:User:NicoV/WikiCleanerConfigurationDocumentation in the prerequistes. --NicoV (talk) 08:15, 9 May 2011 (UTC)
 * AWB already holds (and maintains) a very extensive list of typos, and it is very unlikely someone will create and maintain another. Can you read this list as it is? --Muhandes (talk) 09:20, 9 May 2011 (UTC)
 * I will try, but I am not sure that the regular expressions in AWB are compatible with the ones used by Java. --NicoV (talk) 11:40, 9 May 2011 (UTC)

Odd edit
✅ this edit was made when all I did was resolve the dab for per se. I definitely did not intent for all of that. I think this is a very grave matter - I do plenty of edits with this tool, and I assume it does only what I ask for.

If it helps resolving it, it is possible that a long time passed from me opening the document and saving. I may have went to eat dinner or something. --Muhandes (talk) 21:22, 30 May 2011 (UTC)
 * Hi. This is really strange. I have the impression that you kept the article open a very long time (at least 24h : is it possible ?), because if I compare with an older version, the only difference is really the per se disambiguation. Did you have the page opened for more than 24h (earlier than this version) ? WPCleaner is supposed to check that the article hasn't been changed between the moment you opened it and the moment you saved it, but this safety seems to have failed this time. Maybe a side effect of an other feature (if the edit token is not valid any more, WPCleaner ask for a new one before retrying sending the article). I will check. --NicoV (talk) 06:27, 31 May 2011 (UTC)
 * I looked at my code. If WPCleaner receives a BadToken error when sending the article (it happens if you have opened the page for some time), it retrieves a new EditToken to try sending it again. But, when doing this, it also resets the information about what version of the page was used as a base with the information of the current version. So, when checking again that the page has not been modified, it believes no modifications have been done by someone else. I will fix this when I find time. --NicoV (talk) 09:10, 31 May 2011 (UTC)


 * Thinking about it, indeed it's possible it was opened for 24h or even more. I started disambiguating a long list and fell asleep, went back to it the day after. --Muhandes (talk) 09:26, 31 May 2011 (UTC)

Copy settings files from one PC to another?
I've just gotten a new PC, and installed WikiCleaner on it. How do I copy my settings from my old PC to my new PC? Thanks! GoingBatty (talk) 03:05, 22 June 2011 (UTC)
 * Hi. Windows ? Configuration is stored by Java in Windows registry. Run regedit and export HKEY_CURRENT_USER\Software\JavaSoft\Prefs\org\wikipediacleaner to create a .reg file. Import this file in your new PC (either double click on the file or import from regedit). I have never tested it but it should work. BTW, if it works and you're interested, you're welcome to write a short explanation in the documentation ;) . --NicoV (talk) 12:04, 22 June 2011 (UTC)
 * Worked great - thanks! I added the steps to the documentation, as you suggested.  GoingBatty (talk) 00:44, 23 June 2011 (UTC)
 * Thanks ! --NicoV (talk) 06:12, 23 June 2011 (UTC)

Configurable font colours and styles
✅ I would like to suggest configurable font colours and styles. I find that the italic cyan redirects are extremely hard to read or edit. Because of the italics, I often can't tell exactly where my cursor is. If this cannot be conveniently configurable, is there some file I can edit to turn off the italics? --Geniac (talk) 04:29, 26 November 2010 (UTC)
 * The choice of this style for redirects was mainly because often redirects mustn't be fixed (see en:Wikipedia:Redirect). It can now be configured. --NicoV (talk) 22:59, 23 July 2011 (UTC)

configure shorcuts
Hey is there a possibility to configure the shortcuts? I would like to change saving from alt+s to ctrl+s --Sk!d (talk) 19:46, 20 September 2011 (UTC)

Hmmmm
✅ I'm getting an unknown error when I try to sign in to the English Wikipedia through WC. --User:Woohookitty Disamming fool! 04:27, 5 October 2011 (UTC)
 * Same here. I can't login, and I get the error: "An error occured: Login unsuccessful: Unknown error". --Muhandes (talk) 06:31, 5 October 2011 (UTC)
 * Will try to find some time to look into this. It's probably due to MediaWiki 1.18 going live on Wikipedia. --NicoV (talk) 12:15, 5 October 2011 (UTC)
 * I have the same problem. I think that it is best to wait for it to be updated. Johnny Au  (talk/contributions) 00:01, 6 October 2011 (UTC)
 * Same issue for me. GoingBatty (talk) 02:15, 6 October 2011 (UTC)

I analysed the problem, and it's due to a change in MediaWiki API in version 1.18: a namespace has been added to the XML answers of the API which implies that I need to change the way I read them. It means quite some modificiations, I will try to fix that tomorrow evening. I will post here when the problem is solved, until then I may post things on fr:Discussion_utilisateur:NicoV/Wikipedia_Cleaner. --NicoV (talk) 05:19, 6 October 2011 (UTC)
 * Thanks for looking into it. :) --User:Woohookitty Disamming fool! 06:02, 6 October 2011 (UTC)

MediaWiki developers have decided to cancel the modification which made version 1.18 not compatible with previous versions (cf. bugzilla). WPCleaner should work again as soon as patch 99135 will be applied on Wikipedia (I don't know when, but I asked). --NicoV (talk) 20:29, 6 October 2011 (UTC)
 * Yep, it works again! Thanks for (letting them) solving it! Night of the Big Wind  talk  20:56, 6 October 2011 (UTC)

Template with Unicode control characters
✅ Hello NicoV! Recently, a page that I pulled up (Adam Lambert) in WCW had the Template with Unicode control characters error. This error was immediately fixed by the UI, although it turns out not to have been correct. The link was an interwiki to the Khmer Wiki, and WCW removed three characters from the link, which broke it. I don't know if this is something that is known about, or can be fixed, or needs to be fixed (not being able to read Khmer, I have no idea what the fix took out, even though I compared the links and can see the three characters removed), but I thought I would mention it here. Niceguyedc Go Huskies! 22:32, 17 November 2011 (UTC)
 * Ok, thanks for the information. I modified the detection and automatic fixing to search control characters only in templates. It should not happen again.--NicoV (talk) 13:16, 20 November 2011 (UTC)

For the fans...
Night of the Big Wind (talk) 02:52, 1 June 2011 (UTC)


 * Thanks ! If you want, you can add it to the documentation. --NicoV (talk) 07:29, 1 June 2011 (UTC)
 * Nice one. I hope you don't mind I created a category for us users. --Muhandes (talk) 09:57, 1 June 2011 (UTC)
 * No problem :). --NicoV (talk) 10:34, 2 June 2011 (UTC)
 * Neither from me! Forgot to fix that! Night of the Big Wind (talk) 11:28, 2 June 2011 (UTC)

I decided to create one also on the frwiki :) fr:Modèle:Utilisateur WPCleaner, and also one that just adds an icon on the title bar fr:Modèle:WPCleaner mop. --NicoV (talk) 08:12, 8 June 2011 (UTC)

Poop patrol
Hi NicoV, I was wondering if it would be possible to use Wikipedia Cleaner to speed up processing of poop patrol reports. One of the things that Poop patrol produces is lists of easily confused words. At the moment I manually go through the list, correct the errors and add the false positives to either a safe phrase or safe page list. This is time consuming, so the reports are currently throttled to 50 anomalies per test per weekly run, which means that some tests such as staring have been running for over a year with perhaps a thousand articles corrected to starring or starting and many hundreds tabled as correct. If this tool was able to speed things up it would be very useful.  Ϣere Spiel  Chequers  23:29, 7 September 2011 (UTC)
 * Hi WSC! While I greatly enjoy using Wikipedia Cleaner for disambiguating links (which is why I'm a ), it doesn't seem to be designed to handle the task you have in mind.  Have you considered using AutoWikiBrowser instead?  I use it for similar tasks, such as changing Blackberry to BlackBerry, Pink to Pink (singer), Prince to Prince (musician), etc.  You can customize find and replace rules and set up false positive lists.  I've gone through your results page and fixed several articles.  Happy editing!  GoingBatty (talk) 02:02, 9 September 2011 (UTC)
 * Thanks GoingBatty, I hadn't realised that AWB had false positive lists. But unfortunately its a Microsoft product and I'm on Ubuntu.  Ϣere Spiel  Chequers  19:20, 9 September 2011 (UTC)
 * Hi, Wikipedia Cleaner can do some typo fixing if it's correctly configured to do so on the wiki. Currently, I think it has been configured to do so only on frwiki. See this documentation if you want to configure it on enwiki. I'm not sure it will fit your needs, but you can give it a try. I can make modifications to WPCleaner if need be, but not in the coming weeks, too much work. --NicoV (talk) 05:01, 13 September 2011 (UTC)