User talk:A particle for world to form
Appearance
Welcome
Hello, Facenapalm, and Welcome to Wikipedia!
Welcome to Wikipedia! I hope you enjoy the encyclopedia and want to stay. As a first step, you may wish to read the Introduction.
If you have any questions, feel free to ask me at my talk page – I'm happy to help. Or, you can ask your question at the New contributors' help page.
Here are some more resources to help you as you explore and contribute to the world's largest encyclopedia...
Finding your way around:
|
Need help?
|
|
How you can help:
|
|
Additional tips...
|
Question for you...
How did you create User:Facenapalm/Most imported scripts? — The Transhumanist 20:10, 2 March 2018 (UTC)
- @The Transhumanist: hi. Using this script (this version adapted for Russian Wikipedia, I modified it). The results are incorrect right now, and I have an idea, why, but I haven't fix it for now. I can notify you when I do. Facenapalm (talk) 20:19, 2 March 2018 (UTC)
- Please do (notify me). I'd very much be interested in seeing updates to that page. By the way, I was hoping it was in JavaScript. (Sigh.) Here are some more questions for you:
- You know Russian?
- Where's the English version?
- What other programming languages do you know? — The Transhumanist 20:28, 2 March 2018 (UTC)
- @The Transhumanist: I'm native russian speaker and I'm the user of Russian Wikipedia, I'm mostly inactive there. This script was written for ruwiki as well, I just decided to launch it for enwiki to test it on bigger wikis and it fails, statistics is incomplete (probably because of lack of
apihighlimits
right). I can't say I know any program languages, but I know basic syntax of many of them and can google the rest of needed functions, JS included. Why do you asking? I have no plans to write something for enwiki, I just can occasionally port some of my ruwiki bots. Facenapalm (talk) 21:32, 2 March 2018 (UTC)- I was wondering if you could translate the script into English and/or JavaScript. It's useful, even if the output is incomplete. — The Transhumanist 22:04, 2 March 2018 (UTC)
- @The Transhumanist: I'm native russian speaker and I'm the user of Russian Wikipedia, I'm mostly inactive there. This script was written for ruwiki as well, I just decided to launch it for enwiki to test it on bigger wikis and it fails, statistics is incomplete (probably because of lack of
- Please do (notify me). I'd very much be interested in seeing updates to that page. By the way, I was hoping it was in JavaScript. (Sigh.) Here are some more questions for you:
- @The Transhumanist: I have bad news for you: I've figured out why statistics are incomplete, but I have no idea how to fix it. The problem is that CirrusSearch can't find more than 10,000 articles, while there are currently 28,035 userpages with importScript in English Wikipedia. So the statistics you might see isn't a list of most used scripts – it's a list of most used scripts in the sample of 10k (most popular?) userpages. If you're interested, I can once prepare the statistics manually, but I surely will not update it with bot or script.<bt>Possible solution is to get this list from Quarry, but I don't want to write such a complicated script. There are only 1,500 userpages with importScript in ruwiki, so the problem will not be occured for a long time. Facenapalm (talk) 00:10, 22 March 2018 (UTC)
- Oh my, there are barely 50 000 userscripts in English Wikipedia. Seems like Quarry isn't a good idea eigher. The only way is to scan dump?.. Facenapalm (talk) 00:33, 22 March 2018 (UTC)
- Narrow your query to the common.js and the skin.js pages. That should bring you under the 50K threshhold. — The Transhumanist 04:52, 22 March 2018 (UTC)
- CirrusSearch does find more than 10K, as can be seen by the number at the top right of the screen. "28,035" userpages found having importScript in them. On English Wikipedia, you can look at 5,000 results at a time; so you look at them in 6 parts, and you've seen them all. And if you can look at them all, so can a script. There's your solution for making a list of all the pages with importScript in them. Then, I assume you scrape each page for the names of the scripts each one imports, tallying them as you go. Is that how you do it? — The Transhumanist 04:52, 22 March 2018 (UTC)
- Oh my, there are barely 50 000 userscripts in English Wikipedia. Seems like Quarry isn't a good idea eigher. The only way is to scan dump?.. Facenapalm (talk) 00:33, 22 March 2018 (UTC)