Jump to content

User talk:Enterprisey

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by CommsPro123 (talk | contribs) at 13:35, 31 May 2016 (→‎Notability for Draft: Xavient Information Systems). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

RM Stats

APerson, definitely a promising start! A couple of issues so far:

  1. When I search my name, and leave the 'Number of pages to look at' at 50, it seems to successfully find the discussions over the last month (April 2016), but the only other returned results are for April 2015 (i.e. there are no results for May 2015 – March 2016).
  2. When I search my name, and change the 'Number of pages to look at' to 100, I get an Error message: "Error! Unable to calculate statistics. need more than 1 value to unpack You may have misspelled that username."

If you can get this to work, even without the 'results matrix' (which can always be added-on later!), it will I think be immensely helpful to people who vote a lot a WP:RM. Keep up the good work!! --IJBall (contribstalk) 02:50, 11 May 2016 (UTC)[reply]

OK, newest issue is that I now can't get it to load after attempting a search – I tried yesterday, and again today, and it never comes back with a result. --IJBall (contribstalk) 05:56, 13 May 2016 (UTC)[reply]

This is super mysterious, because the identical code works on my computer. Gonna investigate this a bit more. APerson (talk!) 13:04, 13 May 2016 (UTC)[reply]
I, uh, restarted a bunch of stuff and it seems to be working now. I'm going to closely monitor it for the next day or so to see what's causing it to go down. APerson (talk!) 16:19, 13 May 2016 (UTC)[reply]
Good news: It seems to be working again! Bad news: When I search myself, I am still only getting results for April 2015 and April 2016. (Also, still only getting 5 returns on Armburst, and zero returns on SwisterTwister, so there's no way that's right!!) However, changing the 'Number of pages to look at' from 50 to 100 seems to cause no problems now, so that's good! --IJBall (contribstalk) 17:18, 13 May 2016 (UTC)[reply]
IJBall, I think there were some problems on Labs; try it now. In my opinion, it's ready to be added to the templates that show up at the top of PERM requests, but I'm looking forward to knowing whether it's working for you. APerson (talk!) 00:41, 20 May 2016 (UTC)[reply]

So, now your RM Stats is only finding one of my RM discussions. I dunno if this will help, but this looks like all of the RM comments I've ever made (though it looks like it doesn't necessarily include all the RM's I've just started....), if that helps at all. --IJBall (contribstalk) 21:42, 24 May 2016 (UTC)[reply]

CAT:AFD/U

Hi Person.

Thank you for all the time saving scripts you make available.

I noticed that CAT:AFD/U is quite populated this morning. Do we have a script for adding cats to uncategorized AfD pages? If not, could you make one? Thanks again, Sam Sailor Talk! 08:20, 13 May 2016 (UTC)[reply]

Sam Sailor, I believe that User:APerson/delsort is the script you're looking for. APerson (talk!) 12:54, 13 May 2016 (UTC)[reply]
Delsort is a wonderful script, the December update made it even better. But unless I am mistaken it does not do categorization, "only" WP:DELSORT. Sam Sailor Talk! 13:04, 13 May 2016 (UTC)[reply]
Sam Sailor, just an update: I've gotten it to work (example), but there's a nasty bug where the script thinks that the edit hasn't happened yet when it actually has. As soon as I fix it, I'll publish the new code. APerson (talk!) 21:53, 14 May 2016 (UTC)[reply]

Thank you for the link to Test Wiki. I think it is easy for us who understand little or no code to remain oblivious to how much work you coders put into the making of such scripts and gadgets. Thank you. AFCH beta btw works like a charm, and it's great to now have a script that does category requests at AFC/R as well. Best, Sam Sailor Talk! 13:16, 15 May 2016 (UTC)[reply]

Sam Sailor,  Done. It turns out I had a silly typo somewhere. Anyway, I've tested it on both enwiki and testwiki and the new feature should be working now. Please let me know if you have any feedback! APerson (talk!) 19:18, 15 May 2016 (UTC)[reply]
Just Orz...Ref ... Cat is empty, but I tested it on one debate, and it worked perfect. If you have a "Beerware" link somewhere, pls let me know, you truly deserve a cold one. Or a crate for that matter. Many thanks! Sam Sailor Talk! 19:35, 15 May 2016 (UTC)[reply]
A follow-up to say that so far it seems to work flawlessly. I had a case where, for reason unbeknownst to an ignorant like I, there was a delay with writing to the deletion lists. The bolded title would subtly scroll a bit from side to side move towards left while three dots were appended, something I never noticed before. I suppose that's something you code deliberately. That's a clever touch, I think. My brain will automatically assume "ok, it's still working, hands off the F5 or the alt-F4". Sam Sailor Talk! 12:19, 16 May 2016 (UTC)[reply]
When I delsorted Wikipedia:Articles for deletion/MiloShare that was listed under as "AfD debates (Not yet sorted)" I noticed that in AFCD the radio button "Fiction and the arts" was active. I changed it to "Web or Internet" and went on to cast my !vote. Upon saving I noticed that the debate was still in "AfD debates (Not yet sorted)". And here is why: Diff of Wikipedia:Articles for deletion/MiloShare. Sam Sailor Talk! 11:47, 17 May 2016 (UTC)[reply]
I recently noticed that, too. I'll have to fix it up to delete everything between the | and the }}, and then write the letter. APerson (talk!) 12:27, 17 May 2016 (UTC)[reply]
 Fixed. APerson (talk!) 19:36, 17 May 2016 (UTC)[reply]

Please comment on Template talk:Request edit

The feedback request service is asking for participation in this request for comment on Template talk:Request edit. Legobot (talk) 04:30, 15 May 2016 (UTC)[reply]

 Already done APerson (talk!) 01:26, 18 May 2016 (UTC)[reply]

Hello,

Hope you're well. A few months ago, you gave input on the page Draft: Xavient Information Systems and I wanted to check in on the progress of the page, as there are several new pieces of news content on the company from accredited, unbiased third parties, as well as the company's recent listing as a finalist in several categories for the 11th Annual IT World awards, which I believe constitute its notability.

Three Pieces of News

Xavient was recently featured in the Fairfax Times article "Securing the future" (Link here: [1]) as well as in a San Fernando Valley Business (SFVB) Journal article, which is available in PDF format. (The SFVB Journal is owned by California Business Journals, along with the Los Angeles Business Journal, Orange County Business Journal and San Diego Business Journal.) The company is expecting a piece in the Pacific Coast Business Times later this month, as well.

IT World Awards

Additionally, Xavient was awarded as a finalist in three categories for the 11th Annual 2016 IT World Awards, winning Gold for Best IT Company of the Year (Services), Silver for IT Project of the Year, and Bronze for Deployments and Case Studies. (Link here: [2])

Do these constitute notability for Xavient? If not, what additional materials or sources from third party groups are required?

CommsPro123 (talk) 12:53, 18 May 2016 (UTC)[reply]

(Gonna bring in SwisterTwister for this.) The new sources are looking pretty good, although regarding the news articles you mentioned, it's uncertain whether the topic would pass WP:AUD afterwards. I'll have to look into the awards, though. Thanks for letting me know! APerson (talk!) 02:23, 19 May 2016 (UTC)[reply]
APerson Thanks for looking into the sources and WP:AUD, as well as the awards. I think there's a way to upload PDFs to Wikipedia, but I'm still working on figuring that out. I'd like to show you the SFV Business Journal article but the link is behind a subscription paywall. SwisterTwister- looking forward to hearing your insights and thoughts as well. Thanks, both, for all your efforts! CommsPro123 (talk) 18:47, 23 May 2016 (UTC)[reply]
Hi Enterprisey. Wanted to check in to see if the three articles passed WP:AUD. Also, any news on the awards? SwisterTwister, any comments on your end? Know you're both super busy but wanted to check in on when I could anticipate hearing back on the articles and awards and notability for the page, as well as the likelihood of it being accepted if I resubmit. We've all been working hard on this, so it would be great to make more progress. Thanks again. CommsPro123 (talk) 13:35, 31 May 2016 (UTC)[reply]

Deletion sorting

A few weeks back, I added your DelSort.js script to my Common.js page. Everything worked fine. But when I got back from vacation today, I noticed that it no longer appears under the More tab when I'm at an AfD page. I see from your talk page that you recently made some modifications to the script, so perhaps that had something to do with the disappearance. Is there something I can do to get it back?

Thank you for any assistance that you can provide. NewYorkActuary (talk) 02:15, 20 May 2016 (UTC)[reply]

NewYorkActuary, can you give me a title of a page that you visit where you expect to see the delsort link, but actually don't? (At the moment, it's working fine for me.) APerson (talk!) 02:19, 20 May 2016 (UTC)[reply]
Thanks for the quick response. The link failed to appear on several pages that I looked at before posting here. I just went back to WP:Articles for deletion/Naafia and found that it still doesn't appear there. NewYorkActuary (talk) 02:24, 20 May 2016 (UTC)[reply]
NewYorkActuary, looks like it appears for me. What browser are you using, and (I apologize if this sounds like a basic step, but for sure it's tripped me up quite a few times) have you tried purging your cache? APerson (talk!) 02:27, 20 May 2016 (UTC)[reply]
Yes, I did think to purge the cache but, what the heck, I did it again. Still no change. So, I shut off the computer and went out for a smoke. Came back, turned the computer back on and logged in again -- still no change. I'm using Internet Explorer 10 (which is the same browser I was using before I went out on vacation).
I'll be logging off until tomorrow, so there's need for urgency here. Thanks again for your help. NewYorkActuary (talk) 03:04, 20 May 2016 (UTC)[reply]
I meant to type "there's no need for urgency here". Sorry about that. NewYorkActuary (talk) 02:55, 21 May 2016 (UTC)[reply]
NewYorkActuary, no problem. I've asked another user who has IE installed to test it, and they're doing so right now.
At the moment, I suspect I accidentally used some JavaScript feature that wasn't included in IE10, so I'll check for that. Would it be possible for you to open the debug console (by pressing F12) before you load the AfD page, and then paste here any output that appears to be from the script? Thanks! APerson (talk!) 03:00, 21 May 2016 (UTC)[reply]
Here it is: <html class="client-js ve-not-available" lang="en" dir="ltr">. The "ve-not-available" did not appear until I went to the AfD page. Also, there was a "plus" sign next to the line, for which clicking gave a whole lot of additional code. I'll be happy to copy-and-paste that code here, if that will be helpful. NewYorkActuary (talk) 03:12, 21 May 2016 (UTC)[reply]
I've done some ambling through various articles, and I've noted that the "ve-not-available" message doesn't always show up on an AfD page. I also thought to click the "console" tab on the F12 page, and got this:
Use of "importScriptURI" is deprecated. Use mw.loader instead.
SCRIPT1014: Invalid character
index.php, line 117 character 40
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
Naafia
Maybe that will be of some help. I'm logging off now and will check back tomorrow. Thanks again. NewYorkActuary (talk) 04:03, 21 May 2016 (UTC)[reply]
I've discovered the problem; IE10 doesn't support a feature I use to make the code more readable (for the curious, template literals). Unfortunately, I will have to make my code less readable in service of IE10. Gonna make the change soon. APerson (talk!) 03:14, 22 May 2016 (UTC)[reply]
NewYorkActuary,  Fixed. APerson (talk!) 03:49, 22 May 2016 (UTC)[reply]
It's working fine now. For what's it's worth, when I went to do a session of del-sorting, I noticed an unexpectedly large backlog of unsorted articles. I suppose there could be any number of reasons for that, but I suspect that I might not have been the only editor who found that their script wasn't working. Thanks again for your efforts. NewYorkActuary (talk) 16:55, 22 May 2016 (UTC)[reply]
No problem. APerson (talk!) 16:57, 22 May 2016 (UTC)[reply]

Something from python

Hi! I see, that you're in category User python-4 :) Could I ask some things to you?

  • There is such list of entries in one big encyclopedia (with several pages for each(?) letter). Each entry has code
  <a href="#" type="el" id="1">Adamss (Adams) Braiens</a>
  <br />

Could you scrape pages with python and give me the list of all entries? Of course, it doesn't have to be python :) But if it works in Windows, then maybe you can later give me the script for later use? I would like to have such lists also for other encyclopedias, but don't want to bother you everytime. If this conversation goes in good direction, there are some things in my wishlist for such script (extract some more information from webpages, get lenght of entry etc.). Some simple list <a href="#" type="el" id="1">Adamss (Adams) Braiens</a> (without <br>...</br>) will be completely fine, I can later format it based on my needs.

Template:Country data United States <tab> | alias = United States <tab> | flag alias = Flag of the United States.svg <tab> | flag alias-1776 = Grand Union Flag.svg ...

I probably could use AWB module, but the whole point is to read all parameters and in this case (Country data X template series) they are all different. I want to create Lua module for country data templates series at my home-wiki and getting all data from enwiki would be nice :) The whole list is here, but if it's too much asked, I could try and select really needed templates. Again, also sharing with script would be nice. I have some things more in my Python to-do-list, but this would be wonderful start. If you're willing to do anything from this, I could then send details, where to put it. --Edgars2007 (talk/contribs) 19:35, 20 May 2016 (UTC)[reply]

Edgars2007, yep, it's possible, and here's the script for the first one:
import re
import requests

response = requests.get("http://letonika.lv/groups/entryList.aspx?r=1&c=A")

if response.status_code == 200:
    names = [match.group(1)
             for match
             in re.finditer(r'<a.+?type="el".+?>(.+)</a>', response.content)]
else:
    print("Error getting page (status: {})".format(response.status_code))
For the second one, it's a very straightforward use case of one of the Python libraries. mw:Pywikibot is a very popular library, but you can find a full list at mw:API:Client code#Python. This script uses Pywikibot:
import pywikibot

site = pywikibot.Site("en", "wikipedia")
page = pywikibot.Page(site, "Template:Country data United States")
with open("wikitext.txt", "w") as wikitext_file:
    wikitext_file.write(page.text.encode("utf-8"))
Hope this helps! APerson (talk!) 02:44, 21 May 2016 (UTC)[reply]
OK, thanks for now. --Edgars2007 (talk/contribs) 17:17, 22 May 2016 (UTC)[reply]

My next silly question. So for example I run such command: pwb.py category.py move -from:"foo" -to:"bar". It involves editing a lot of pages, that I get only part of generated output on screen. Is there some easy way of writing all output to a file? --Edgars2007 (talk/contribs) 21:11, 27 May 2016 (UTC)[reply]

Edgars2007, what operating system are you using? APerson (talk!) 21:19, 27 May 2016 (UTC)[reply]
Win 7. --Edgars2007 (talk/contribs) 21:21, 27 May 2016 (UTC)[reply]
I found a helpful Stack Overflow question; essentially, after the command, you put a ">" and then the file name that you want to send the output to. APerson (talk!) 21:22, 27 May 2016 (UTC)[reply]
Hmm, for me it just creates the file and that's all. Tried twice. --Edgars2007 (talk/contribs) 21:37, 27 May 2016 (UTC)[reply]
Maybe it's sending output to the err stream. Have you tried using 2> in addition to just >? APerson (talk!) 21:40, 27 May 2016 (UTC)[reply]
It generates file with list of errors. First line in file is <Unicode redirected stderr>.write: TypeError('write() argument must be str, not bytes',). --Edgars2007 (talk/contribs) 21:53, 27 May 2016 (UTC)[reply]
I'm not sure what sort of output that the script usually generates, but I'm pretty sure you can use the logging arguments to make Pywikibot use a log file, if logging output is what you want. APerson (talk!) 22:00, 27 May 2016 (UTC)[reply]
Logging params looks promising. Anyway, now at least I know, at which direction to look (with >), which is also good. Thanks! --Edgars2007 (talk/contribs) 22:19, 27 May 2016 (UTC)[reply]

The feedback request service is asking for participation in this request for comment on Wikipedia:Village pump (proposals). Legobot (talk) 04:28, 23 May 2016 (UTC)[reply]

DYK nomination of Roadeo

Hello! Your submission of Roadeo at the Did You Know nominations page has been reviewed, and some issues with it may need to be clarified. Please review the comment(s) underneath your nomination's entry and respond there as soon as possible. Thank you for contributing to Did You Know! SSTflyer 02:54, 25 May 2016 (UTC)[reply]

The feedback request service is asking for participation in this request for comment on Wikipedia:Village pump (policy). Legobot (talk) 04:30, 25 May 2016 (UTC)[reply]

The feedback request service is asking for participation in this request for comment on Template talk:Infobox Canadian leadership election. Legobot (talk) 04:25, 28 May 2016 (UTC)[reply]

Talk:Wookey Hole Caves

Hi, Your bot recently edited Talk:Wookey Hole Caves "merging redundant talk page banners into the article history template" however the process seem to have gone wrong in some way (I don't know why). It has left some code showing (about DYK & GAN entries) and JL-Bot no longer recognises the GA status. Any ideas?— Rod talk 07:00, 28 May 2016 (UTC)[reply]

I looked at the edit a bit and know exactly what went wrong; I'll have a fix out real soon. APerson (talk!) 14:13, 28 May 2016 (UTC)[reply]
Rodw, seems fixed to me. Thanks for letting me know about this! APerson (talk!) 20:28, 28 May 2016 (UTC)[reply]
Thanks - appearance is definitely fixed. I will see if JL-bot relists it as a GA.— Rod talk 06:56, 29 May 2016 (UTC)[reply]

AFCH script broken by your username change Urgent action needed.

Please see to the matter as discussed at WT:WikiProject Articles for creation/Helper script#Unable urgently. No reviewing can happen while this issue is unresolved. Roger (Dodger67) (talk) 14:18, 29 May 2016 (UTC)[reply]

 Done; sorry about that. Enterprisey (talk!(formerly APerson) 15:32, 29 May 2016 (UTC)[reply]

Account rename

Hi Enterprisey, welcome to your new name. I highly suggest you use this account to recreate your old account name (use Special:CreateAccount while logged in); this will prevent someone else from creating the account. — xaosflux Talk 15:01, 29 May 2016 (UTC)[reply]

That form seems to have prevented me from creating that account - it claims "APerson" is too similar to a number of existing usernames. I guess that'll prevent someone else from creating the account, too. Enterprisey (talk!(formerly APerson) 15:32, 29 May 2016 (UTC)[reply]
I created it for you, and will send you the password via email - to avoid this somehow getting created on another wiki via SUL and causing you a headache. Let me know if you don't get the email. — xaosflux Talk 18:22, 29 May 2016 (UTC)[reply]
Extended content
-----BEGIN PGP MESSAGE-----
Version: Encryption Desktop 10.3.1 (Build 13100)
Charset: utf-8

qANQR1DBwU4D6Dr2pSAxqQwQB/wIvKJnxyPnwuORYZ8YMeGnWiQh3MWHK6LpKhyW
zEuNlwDs7cvHKqD3lwzUKtd6eFySIVqR5/V2Zg9riEKhXlvbiwDg/Ssm0V4/MH1D
GfSp4qqyLM7GRUVErreO+vIOhEGLWHlE/5A/qxwewrKSm/BAbzydvCmkeYI3rOpg
OYL11hyHRLa5lzu8gngBW049wa7Htr3cM2jf0ej9kj9wv3oL1+WywnyLSFBATMdK
qAsHjxyEXt4pEjmUAU1eiEOJKqgQHMXl1ubdq3WPO3IM7yOtdGBNqfDoWqFW+g2T
giRRt1jvWd5nRGm6XcHWG75E0vl3zXw/UyoOyI2wett9oDbXB/49yOn1XFwp2Kvi
UDZZRmFQE0sJa+pEXvbw7PuLdEoIumGye6XC1Ioa20MR9UUX8MIyLTdK9nd2Ivx6
yuG4WBrG9q7Wd108GiBiyvMXNSOudYZ2jc1A7udqtST1zwuiwf8LWFj4XQW67Wn7
FdbYfySHiDX65oknoLVfhpbcEP0fs5qmOmrZF98QuSamR7SLlU1DTA4kXxP5AEQx
NaOJ7Yp3wrKVivj7Aoe0/uPGBrXvCTvMI54yxa1SFrIkI/N+aOVQ2QiD6HbU1oiO
bNh3MVwNfs7hpfrK74kbIKAaFSwmW3wYg+THlQ2PTR1StBLidwKldnnok4nGdlgz
ziXb4vfp0pEBDKyxGKS8vWM9Gzg/Jy0OjWIBXoW8gQ7WTw2r8lnnmZA9YyHguOJk
1RltYQECJEIR6xhWSf9N+FqgTN7wzwKGkFmykYY9YZGsPJG0bL+C91zvGGQkSfso
MbNEOogphoQb4amqezQUc8nk+rWhjHogJQdn3yODmTAS8HYdeoL0FkpO9PjVqWp4
WOCtD7nckRaY
=0lR8
-----END PGP MESSAGE-----

Your recent bot task request (Wikipedia:Bots/Requests for approval/APersonBot 8) has been approved for trial. — xaosflux Talk 15:02, 29 May 2016 (UTC)[reply]

The feedback request service is asking for participation in this request for comment on Wikipedia:Village pump (proposals). Legobot (talk) 04:26, 31 May 2016 (UTC)[reply]