Labs port


Hi Erwin,

I have taken the liberty of porting your tools to Labs. Still early stages, but proof-of-principle is here. I think it would be a good idea if you get a Labs account yourself and I'll add you as a maintainer. That doesn't mean you have to do maintenance, but you'd have the option, and it's your code, after all. --Magnus Manske (talk) 12:49, 27 September 2013 (UTC)Reply

Hi Magnus. If you'd like to add me as a maintainer, I can probably help out. Though I'd really like to see any PHP tools ported to either MediaWiki core or MediaWiki extensions. For example, for shortpages.php, I think there's already an index on page.page_len and a related Special page in MediaWiki core. --MZMcBride (talk) 23:10, 27 September 2013 (UTC)Reply
Hi MZMcBride, you are now a proud member of "erwin85"! --Magnus Manske (talk) 11:14, 28 September 2013 (UTC)Reply
The script for pops up the page, however, does not work for links like I utilise the xwiki tool to assist with the reversion and clean up of spam. — billinghurst sDrewth 12:10, 28 September 2013 (UTC)Reply
I marked erwin85-tools that are not working in red links. Porting these is a little more complicated than an oil change ;-) --Magnus Manske (talk) 16:29, 28 September 2013 (UTC)Reply
I'd just add that tools like *are* in core now :) That is to say, they are realisable with only a simple API call. Which is cool. Jarry1250 (talk) 12:06, 13 January 2014 (UTC)Reply
What needs to be done for the other tools? I don't plan on extending my account which means it will expire on 6 January 2014. --Erwin (talk) 13:02, 30 December 2013 (UTC)Reply
Even if ported, crosswiki labs tools are not going to work fast enough to be usable any time soon. Can you please extend the account? :( --Nemo 12:07, 31 December 2013 (UTC)Reply
I for one would be exceptionally happy to see Related Changes fixed up, as it's the only tool I know of for monitoring changes within entire category trees (I used this function on Commons). Huntster (t@c) 03:25, 9 January 2014 (UTC)Reply
I'd also be willing to help fix everything to work on Tool Labs. PiRSquared17 (talk) 02:07, 30 January 2014 (UTC)Reply
Please ssh to tools-login-eqiad, become erwin85 tools account, and run webservice start. Regards, PiRSquared17 (talk) 21:01, 19 March 2014 (UTC)Reply
@PiRSquared17: Magnus seems to be doing stuff with this stuff.  — billinghurst sDrewth 06:09, 20 March 2014 (UTC)Reply
Okay, works now. PiRSquared17 (talk) 11:10, 20 March 2014 (UTC)Reply
Can I have access to your project? I already migrated one tool (xcontribs) and I would like to help with others. PiRSquared17 (talk) 03:29, 28 May 2014 (UTC)Reply
One of the maintainers (Cyberpower678) helped to move the corrected version to your project. xContribs should be working just like before now. PiRSquared17 (talk) 20:32, 28 May 2014 (UTC)Reply

FYI: [1]. There are no files in the /home/erwin85 directory any longer, so anything which was not copied to was lost. Someone may have backups though; anyone in need of a copy of old code, please comment here. --Nemo 10:27, 17 June 2014 (UTC)Reply

I'm now getting e-mails about the "tools.erwin85" account, as it's running a deprecated operating system, I guess, and I'm listed as a maintainer. Is there still interest in keeping this account around? --MZMcBride (talk) 00:18, 9 February 2017 (UTC)Reply

Error 500


All pages (including the index page, which is strange) at toollabs:erwin85 cause (random) errors 500. A few clicks work, the next click doesn't. No problem with the old Toolserver at tools:~erwin85. Is there anything wrong with labs? --TMg 20:10, 21 January 2014 (UTC)Reply

User Contributions plot problem


Thank you very much for your plot of "User contributions". Either I don't understand the plot, or the horizontal axis labels are off by 1: The first project is labeled 0, and the last one is labeled with 1 less than the total number of projects with contributions. The table at xContribs Username DavidMCEddy  reports 15 projects have at least one edit with one having over 1000 edits. The horizontal axis in the plot runs from 0 to 14. It looks to me like it should run from 1 to 15.

It's a marvelous plot and would be even more useful without this confusion. Thanks, DavidMCEddy (talk) 11:08, 14 February 2014 (UTC)Reply

Random article


Hi Erwin, On the Ireland portal of German Wikipedia we use this useful link Unfortunately it doesn't work anymore ("User account expired The page you requested is hosted by the Toolserver user erwin85, whose account has expired.") Could you solve this problem? Thanks in advance. Dank u wel! -- MacCambridge (talk) 17:14, 27 March 2014 (UTC)Reply

@MacCambridge: Erwin is inactive at this time. You are unable to utilise the native feature Special:Random from mw:Extension:Random? I am unaware of any plans for that script to be migrated when toolserver closes at the end of June.  — billinghurst sDrewth 16:50, 4 June 2014 (UTC)Reply

Contributions plot


Thank you very much for your plot of "User contributions". I like this very much, but now I see it is expired. Could you please start it again? Thanks, Magnefl (talk) 20:24, 3 June 2014 (UTC)Reply

@Magnefl: Erwin is inactive, so bumping around here isn't going to be particularly effective. Which script are you looking at, and where is it running? Are you looking at output from Tools or Toolserver.  — billinghurst sDrewth 16:43, 4 June 2014 (UTC)Reply
Have you looked at toollabs:supercount as an alternative?  — billinghurst sDrewth 16:52, 4 June 2014 (UTC)Reply
@Magnefl: Are you by any chance looking for this? I personally fixed that on May 28, see above and bugzilla:60881. PiRSquared17 (talk) 17:38, 4 June 2014 (UTC)Reply

"undefined" edit summary with SBHandler


Hi Erwin. It happens that when editting the log with your (fantastic) tool, the edit summary that generates is this. Any idea how to fix this? Best regards, -- M\A 13:07, 25 January 2015 (UTC)Reply

Global CSS/JS migration


Hello Erwin. You have global.js and global.css pages which contain your global scripts and styles for all wikis. Since August 19th 2014, your global.js and global.css pages are loaded automatically on all wikis (see announcement). Since you already load them yourself on some wikis, you may experience script errors or issues like tools being added twice. I can fix that for you by merging your local scripts and styles into your global pages, and deleting the local pages with synchbot. Do you want me to do that? —Pathoschild 04:11, 09 February 2015 (UTC)

Hi again! Feel free to add a Synchbot request or leave a message if you want me to do this; for now I'll strike you off the list. :) —Pathoschild 21:29, 21 June 2015 (UTC)Reply

Your tool should be updated


Hello Erwin, could you update your tool Steward elections? It is not listing any candidates at the moment. --Stryn (talk) 16:32, 8 February 2016 (UTC)Reply

Nevermind, now fixed by Melos :) --Stryn (talk) 19:44, 8 February 2016 (UTC)Reply

Catcount in


Hi, Erwin, how are you doing! I am user and I was impressed with the Catcount tool, I would like to know how to implement it here in I noticed that you have an account here, it is a bot account w:pt:Usuário(a):Erwin85Bot. I need this tool to find out how many articles there are air transport in to add in our Aviation Project page. Thank you for your attention, contact me at w:pt:Usuário:Luz28 or go in the Aviation Project page w:pt:Wikipédia:Projetos/Aviação Luz28 (talk) 23:26, 26 July 2016 (UTC).Reply

0 is best


On xContribs you've put the data label "Inequality (0 is best)". What does "best" mean here? More crossness or less crossness? I'm not sure one should place a monotonic value judgement on crossness... There's also the issue that this inequality index (presumably) doesn't count wikis where the user has zero edits, which leads to the perverse outcome that someone editing a sister project for the first time actually increases their crosswiki inequality.

Maybe use "Inequality (0 means most equal)? Deryck C. 19:08, 23 March 2017 (UTC)Reply

Actually, I added this; thanks for your comment. "Best" means "more crosswiki", which I thought was obvious given the context, but may not be; sure, it's a simplification. From an impressionist look at w:Theil index#Formula, for a very crosswiki user, adding one more wiki should not change the summation much (it's basically a weighted average), so the main change should come from N becoming N + 1, and "probably" A' / (N + 1 ) < A / N. I think the formula makes sense in general. --Nemo 16:27, 17 April 2017 (UTC)Reply



Hi Erwin, Sorry to bother you, but is it possible to fix this kind of error:

(Warning: There were MySQL errors at Fri, 21 Apr 2017 08:12:16 +00002mysql_connect(): User 's51362' has exceeded the 'max_user_connections' resource (current value: 2)/mnt/nfs/labstore-secondary-tools-project/erwin85/public_html/inc/database.class.php467Array. It is possible that this tool won't work right now. If this error message persists please file a bug)

on my xContribs. Many thanks. DARIO SEVERI (talk) 08:24, 21 April 2017 (UTC)Reply

Random Webpage Tool; Issue Report Tool


After trying to improve Articles with issues on the German section your Random Article Tool spits out MySQL Errors. After trying to report those on your tool, I wasnt able to reach the Webpage. Thanks in advance for fixing those issues.

--N0w0rk (talk)

Fair use


Why did you block the whole institution?! 11:50, 27 April 2018 (UTC)Reply



hi Erwin, is there a real chance to get this tool back functional. It is the only tool capable of counting pages within categories without restrictions. While it is possible to see the number of pages on the result list of Magnus' Petscan that is slowly and does not work for very big categories (delivering a timeout). --Matthiasb (talk) 09:53, 2 December 2018 (UTC)Reply


This user is no longer active on this wiki.