User talk:Gerardduenas

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

Welcome to The Wikipedia Adventure![edit]

Hi ! We're so happy you wanted to play to learn, as a friendly and fun way to get into our community and mission. I think these links might be helpful to you as you get started.

-- 04:45, Friday, May 24, 2024 (UTC)


Most wanted articles[edit]

Hello Beland,

I'm gerardduenas from the Catalan Wikipedia. A few days ago we were wondering if it could be possible to have a page like Special:Wantedpages updated by a bot to be more acurate (we would run it more often) and more customisable (we wanted to make some filtering). Due to my lack of programming experience (and only in Python) I've been looking around for help in MediaWiki, meta and I've ended up in the most wanted articles project in the English Wikipedia, how to update subpage, which linked me to your userpage. I was wondering how do you update the list.

If you could help me with this I would be very grateful,

Thanks in advance,

Gerardduenas (talk) 20:49, 16 September 2014 (UTC)[reply]


Oh, looks like you found me from Wikipedia:Most wanted stubs. I'm sorry my Perl scripts have rusted away as the database dumps have continued to change format; I haven't run them in many years. It looks like User:Topbanana has more recently had a bot update Wikipedia:Most-wanted articles but may or may not be around to help.
If no one has any working code handy, it shouldn't be hard to write some Python to produce a useful report. You'd want to grab a Wikipedia:Database download for Catalan, crack it open, and write something that analyzes the link tables. You may find it best to dump the download into a database first (in which case the database engine might be able to spit out the article names, no Python involved), and you'll save space by only dealing with article metadata and not full text. Specifically, I think the pagelinks files might do, like cawiki-20140828-pagelinks.sql.gz. I don't think it will be feasible to update the report any more often than database dumps become available, which I suspect will not be an improvement on Special:Wantedpages. But once you have a list of article names, it's easy to search-and-replace it to add double brackets, and hand-paste it into a collaboration page in the wiki. -- Beland (talk) 00:26, 19 September 2014 (UTC)[reply]