Nova Resource Talk:Xtools
Please report issues on Phabricator. Issues reported here may not be seen for many moons. |
New feature
I would like to add the patrolled editions number, because currently I know only one tool which does this: http://toolserver.org/~vvv/yaec.php and it's not satisfying for two reasons:
- The Toolserver is going to stop.
- Its research is a little bit long.
- Its Edit patroling number also includes our own automatically patrolled editions, nothing to see with the action to patrolled a page from a new contributor I would like to measure.
For example in my case, http://toolserver.org/~vvv/yaec.php?user=JackPotte&wiki=frwiki_p is sending after five minutes, the same result as the 26 seconds request below:
MariaDB [frwiki_p]> SELECT count(log_action) from logging inner join user on log_user = user_id WHERE user_name = 'JackPotte' and log_action = 'patrol';
+-------------------+
| count(log_action) |
+-------------------+
| 33811 |
+-------------------+
1 row in set, 33806 warnings (26.19 sec)
So, I just need to subtract to this number, the user own editions one from the MW:Help:Patrolled edits installation date. JackPotte (talk) 22:03, 23 June 2013 (UTC)
Request for EP Edits in Chart
It appears as though edits to Education Program (and Portal, and I would imagine some other spaces) pages do not show up in the chart. I am not sure if it is for this reason that en:WP:MAW does not show EP rights, but could this be implemented fairly easily?
- I could see my portal talk edition in real time. Do you please have a URL to reproduce it? Maybe the pages containing your discussions have been deleted. JackPotte (talk) 17:46, 31 August 2013 (UTC)
- The edit counter detects all namespaces including new ones. The only things missing about new namespaces are the color coding for them.Cyberpower678 (talk) 00:33, 2 September 2013 (UTC)
Code
Where is the code? --Nemo 07:14, 17 August 2013 (UTC)
- There is a button View Source at the bottom for a few years, which is still working. JackPotte (talk) 17:48, 31 August 2013 (UTC)
- Yes, but don't use some revision control system? --Nemo 19:55, 31 August 2013 (UTC)
- We should but not yet. JackPotte (talk) 12:31, 1 September 2013 (UTC)
- I see you have now, great. Can you also link it from the footer please? Thanks, Nemo 10:22, 14 February 2014 (UTC)
- We should but not yet. JackPotte (talk) 12:31, 1 September 2013 (UTC)
- Yes, but don't use some revision control system? --Nemo 19:55, 31 August 2013 (UTC)
Editcount in history statistics
In articleinfo's editors list it would be nice to have a column for the user's current editcount, to be able to see at a glance what sort of editors are editing the page. This would be particularly useful in voting/discussion pages with eligibility requirements, of course. Should be very, cheap and compact; I could try and submit a patch if you tell me where the #Code is. :) --Nemo 07:14, 17 August 2013 (UTC)
- Do you mean at the bottom of the pcount results? I don't know how to calculate how many editions ones have at a certain time, unless browsing the replica with a significantly longer counter (see wikibooks:MySQL/Stored_Programs#Cursors & wikibooks:MySQL/Optimization#Comparing_functions_with_BENCHMARK).
- Nevertheless, we could give the writing permission to your account if the current triumvirate wants to become four. But this kind of feature would need a preproduction validation, such as Git/Gerrit. JackPotte (talk) 17:59, 31 August 2013 (UTC)
- No, I said history statistics and not pcount. --Nemo 19:55, 31 August 2013 (UTC)
- It hasn't been migrated yet and we should schedule it ASAP. Are you interested to help us with the shell permissions on the Xtools? JackPotte (talk) 12:32, 1 September 2013 (UTC)
- I'm opposed to adding new users to xtools until migration is finished. That way the risk of damage is much lower.Cyberpower678 (talk) 00:37, 2 September 2013 (UTC)
- It hasn't been migrated yet and we should schedule it ASAP. Are you interested to help us with the shell permissions on the Xtools? JackPotte (talk) 12:32, 1 September 2013 (UTC)
- No, I said history statistics and not pcount. --Nemo 19:55, 31 August 2013 (UTC)
Edit counter seems to be broken on Commons
The "edit count" tool, which was previously hosted on the toolserver, and which is a pretty important tool, seems to be substantially broken when trying to use it on Commons. Whatever user I try to use it on, it gives me a page full of error messages instead of the proper output. (It works fine for English Wikipedia and Wikisource, haven't tested elsewhere.)
http://tools.wmflabs.org/xtools/pcount/index.php?name=Peteforsyth&lang=commons&wiki=wikimedia
In an IRC chat, bawolff had this to say about the issue:
on who programmed the tool made a mistake 460/461 is the namespace number for campaign namespace, maybe they didn't account for people adding new namespaces over time
This is pretty far outside my expertise, I'm only reporting what I heard. But I hope there is an easy fix? I can file on Bugzilla if that will help -- not sure where the best place is. -Peteforsyth (talk) 22:48, 22 August 2013 (UTC)
- Your URL above is working perfectly for me, unless your Deleted edits: 263 on the Toolserver becomes 0 now. That must be because the database replica doesn't synchronize them yet. JackPotte (talk) 17:57, 31 August 2013 (UTC)
- I fixed the problem on commons. Should be working now.Cyberpower678 (talk) 00:37, 2 September 2013 (UTC)
copyright notice
Copyright notice in footer says 2010 (is that accurate?) and is not strictly necessary (works published since 1978) and if you're going to bother to have one then you should also state the name of the copyright holder and the license too. --jeremyb (talk) 20:33, 17 October 2013 (UTC)
- Creative Commons will be compatible with Git. JackPotte (talk) 17:54, 19 October 2013 (UTC)
- Huh??? Why is git relevant? or for that matter license compatibility? Furthermore, how could any license be compatible or not with git? Also, it's pointless to discuss compatibility with "Creative Commons". "Creative Commons" doesn't imply any one particular license. (there's more than a few Creative Commons licenses.) --jeremyb (talk) 01:10, 21 October 2013 (UTC)
HTTPS error
When accessed via HTTPS, X!'s Edit Counter triggers a security warning in Firefox and Chrome because it loads an image from Google Charts' HTTP API at http://chart.apis.google.com/. The HTML code should refer to this server as //chart.apis.google.com/
instead of http://chart.apis.google.com/
to avoid triggering this warning. – Minh Nguyễn (talk, contribs) 10:51, 4 November 2013 (UTC)
- Done Thank you, I can't see the warning any more. JackPotte (talk) 00:20, 10 November 2013 (UTC)
Edit Counter
For some reason, on your Edit Counter, it no longer shows a pie chart with the percentage of edits in each area. It's like the image of a file that has been deleted. It's been like this for a few days. I clicked Bugs and went into the IRC channel to report this but the channel was empty. I'm surprised not to see this bug listed here. I check Edit Count frequently so it's been bugging me. For the particulars, I clear my cache at least once a day, I use Chrome and run Windows 7. Hope this can get resolved! Liz (talk) 18:03, 12 November 2013 (UTC)
- Ah, that's my fault. By removing the
http:
prefix, https://chart.apis.google.com/ is used when the tool is accessed through HTTPS. But chart.apis.google.com isn't covered by Google's SSL certificate, so the browser refuses to load the image. To fix this problem, someone will have to replacechart.apis.google.com
withchart.googleapis.com
. (chart.googleapis.com is covered by Google's certificate.) – Minh Nguyễn (talk, contribs) 22:58, 16 November 2013 (UTC)
- Could someone make this change? I'd like to change links to this tool to use HTTPS, but I can't until this bug is fixed. (It's a very easy fix.) Thanks! – Minh Nguyễn (talk, contribs) 11:04, 17 December 2013 (UTC)
- I'll have a look when I'll be more familiar with GitHub. JackPotte (talk) 20:17, 27 December 2013 (UTC)
- Done I've committed the replacement. JackPotte (talk) 23:24, 29 December 2013 (UTC)
- I'll have a look when I'll be more familiar with GitHub. JackPotte (talk) 20:17, 27 December 2013 (UTC)
Translation
Apparently there used to be a tool for translating X's Tools on the Toolserver, but it no longer functions and there appears to be no equivalent over here. If I view any edit count in English, everything's fine. But when I switch the language (not the database) to Vietnamese, everything goes haywire. Presumably there's a syntax error or missing translation in the Vietnamese localization. If the tool is missing Vietnamese translations, I'd be happy to provide them; just let me know. Thanks! – Minh Nguyễn (talk, contribs) 23:11, 16 November 2013 (UTC)
- As long as the migration is going we can't let you modify the code directly. However, if you could provide here the translations, I'd be glad to add them after:
{#username#}: Tên người dùng {#groups#}: Nhóm người dùng {#firstedit#}: Lần sửa đổi đầu tiên {#unique#}: Số trang được sửa đổi {#average#}: Số sửa đổi trung bình trên trang {#live#}: Số sửa đổi được hiển thị {#deleted#}: Số sửa đổi bị xóa {#total#}: Tổng số sửa đổi (tính cả sửa đổi bị xóa) {#namespacetotals#}: Tổng số theo không gian tên {#monthcounts#}: Số sửa đổi theo tháng {#topedited#}: Trang được sửa đổi nhiều nhất
JackPotte (talk) 11:39, 4 December 2013 (UTC)
- I'll have a look when I'll be more familiar with GitHub. JackPotte (talk) 20:17, 27 December 2013 (UTC)
- Actually I've just found the vi.conf on the new repo, which already contained these translations but doesn't work (not exactly the same but almost). So I'm going to debug it first, which would eventually needs to change the current index.php which doesn't allow any independent clone utilization. JackPotte (talk) 23:11, 29 December 2013 (UTC)
- Actually there was a quotation mark missing in the configuration file causing a syntax error. I have made the change here and will be made live soon.Cyberpower678 (talk) 23:43, 29 December 2013 (UTC)
- Actually I've just found the vi.conf on the new repo, which already contained these translations but doesn't work (not exactly the same but almost). So I'm going to debug it first, which would eventually needs to change the current index.php which doesn't allow any independent clone utilization. JackPotte (talk) 23:11, 29 December 2013 (UTC)
Strange edit counter values
Hi! Your edit counter shows me very strange values today ()... I don't have only 16,298 edits in German Wikipedia but over 60,000. Something may have been gone very wrong with your tool. Chaddy (talk) 21:29, 29 November 2013 (UTC)
- On your URL I can see 68,273 in total, included 16,292 in the Wikipedia namespace. JackPotte (talk) 11:42, 4 December 2013 (UTC)
X!'s count is less than the count at en:Wikipedia:List of Wikipedians by number of edits
I note that the X! edit counter usually operates in real-time (I presume, except when it tells me that there's an update lag). I just checked it after my last edit and it incremented my English Wikipedia edit count from 16,681 to 16,682. However, the report at en:Wikipedia:List of Wikipedians by number of edits, which says it's updated weekly, so is not real-time, already says I have 16,779 edits, which is 97 more edits. What accounts for the difference? Wbm1058 (talk) 16:05, 4 December 2013 (UTC)
- Maybe the deleted pages, which can be seen here. JackPotte (talk) 00:12, 8 December 2013 (UTC)
- No, that's not it. Now en:Wikipedia:List of Wikipedians by number of edits says 17,071. This tool says 16,652 live + 374 deleted = 17,026 total, which is still 45 edits fewer than the other source credits me with. If I make 45 more edits before the other report is next updated, then they'll probably be even. Wbm1058 (talk) 11:58, 19 December 2013 (UTC)
- That list seems to use the edit count field associated to your user account, also visible in Special:Preferences. While being a good approximation, that number is not fully reliable because it's not always updated for all sorts of events other than "makes an edit" (like import, deletions, restorations). It is my understanding that the edit counter counts the actual edits (no idea if also the imported ones, i.e. if it uses user name or user id), which should be the correct number. --Nemo 10:20, 14 February 2014 (UTC)
- No, that's not it. Now en:Wikipedia:List of Wikipedians by number of edits says 17,071. This tool says 16,652 live + 374 deleted = 17,026 total, which is still 45 edits fewer than the other source credits me with. If I make 45 more edits before the other report is next updated, then they'll probably be even. Wbm1058 (talk) 11:58, 19 December 2013 (UTC)
Articles created
I was on my Wikipedia User contributions page and I clicked on "articles created".... and wound up here. Any know why this tool isn't working? Or why I wound up here? Hawkeye7 (talk) 10:01, 18 March 2014 (UTC)
- The tool is currently completely out of order (loading several minutes with a blank page).
- But you can still use this old French version (which was slower). JackPotte (talk) 19:47, 21 March 2014 (UTC)