User talk:Magnus Manske/Archive 8

Facto Post – Issue 15 – 21 August 2018
MediaWiki message delivery (talk) 13:23, 21 August 2018 (UTC)

CommonsDelinker localized namespace issue
Hello.

I opened issue 33 yesterday for CommonsDelinker not handling local namespace correctly at the hindi wikipedia. I've since discovered that the issue is quite old. Issue 20 was reported in May 2017 with reference to the Bengali Wikipedia. Searching through the contributions of User:CommonsDelinker at hi-wp, I've discovered that the issue originated between 18th and 20th January 2015. The issue was not present on 18 Jan 15, but was present on 20 Jan 15. I'm guessing (looking at the commit history of Commons Delinquent) that the rewrite was probably deployed during this time, meaning that the issue has been present since the beginning! Also, clearly the issue is cross-wiki.

Kindly look into the issue ASAP. Thanks--Siddhartha Ghai (talk) 05:32, 3 September 2018 (UTC)

Hello
Hello User:Magnus_Manske ~Inked Soul~  ( talk  •  contribs ) 07:00, 15 September 2018 (UTC)

GLAMorgan is cool!
I'm impressed by this tool, which I found while researching the new metrics tool we're building for event organizers. You did a very nice job, for example, of laying out the complex file usage reports. Is there a user Help doc someplace? For example, I couldn't figure out whether there was a way to specify a date range beyond 1 month. Thanks! JMatazzoni (WMF) (talk) 17:12, 21 September 2018 (UTC)

Discussion invite
Hi! I am currently exploring some issues regarding CommonsDelinkerBot and a few other misc. things related to CAT:MISSFILE. I wanted to let you know that I have began a discussion here which you may be interested in contributing to. Cheers, Katniss   May the odds be ever in your favor ♥  18:27, 27 September 2018 (UTC)

Facto Post – Issue 16 – 30 September 2018
MediaWiki message delivery (talk) 17:57, 30 September 2018 (UTC)

Missing Topics not work
Hi Magnus! Something wrong with excellent Missing Topics Tool - it starts but... not work correct (and display something about "Undefined variable: wrapper_tfc"). It began work bad yesterday as I remember. Try this for example. Thanks! -- Alexey Gustow (talk) 23:17, 4 October 2018 (UTC)
 * Thanks, fixed! --Magnus Manske (talk) 10:31, 5 October 2018 (UTC)

GLAMorous
Nabend Magnus,

das Tool listet nur noch ein Foto, mache ich irgendwas falsch? Hab es mit unterschiedlichen Benutzern versucht. --Ralf Roletschek (talk) 19:45, 4 October 2018 (UTC)
 * Ist das so richtig? --Magnus Manske (talk) 10:34, 5 October 2018 (UTC)
 * Nicht ganz, mit [x] show Details. Jetzt geht es wieder. Komisch, Hamsterschnupfen? Danke für das sehr hilfreiche Tool! --Ralf Roletschek (talk) 16:13, 5 October 2018 (UTC)

Deep-out-of-sight doesn't work
Hey ;) Sorry to bother you, but the tool doesn't work. The interface is there but no results are displayed, for example: here. Many editors on plwiki find this tool very useful so it'd be great if the tool started working again ;-) Thanks in advance, Tufor (talk) 19:46, 10 October 2018 (UTC)
 * Fixed. --Magnus Manske (talk) 09:45, 15 October 2018 (UTC)

Not in other language tool
You know what would be super cool! If it was possible to order the results here

By the number of pageviews in English each received in the prior month. That would help translators prioritize which they should translate first :-) Doc James  (talk · contribs · email) 15:41, 15 October 2018 (UTC)
 * I agree that would be cool! Sadly, getting those numbers is slow, essentially, one http request per article (per month). So, sorting thousands of pages would mean thousands of such requests. (that is the way WMF wants us to access page view stats. Not much I can do about it.) --Magnus Manske (talk) 13:40, 19 October 2018 (UTC)
 * We have this tool that gives you all the page-views in one click. You actually need to run it twice to get it to work. Could we use that? You just need to set the depth to "2" and type in the category "RTT". Would only need to run it once a month. Doc James  (talk · contribs · email)

Precious anniversay
--Gerda Arendt (talk) 08:06, 21 October 2018 (UTC)

Facto Post – Issue 17 – 29 October 2018
MediaWiki message delivery (talk) 15:01, 29 October 2018 (UTC)

CommonsHelper PHP error
Hi Magnus, I seem to be getting an error message when I try to use CommonsHelper. The error message that appears when I click "Get text" is: Fatal error: Class 'Template' not found in /data/project/commonshelper/public_html/index.php on line 317 I was trying to directly transfer en:File:José Luis Villarreal Jacksonville Armada FC.png. I tried re-authorizing myself with OAuth Uploader, but that didn't fix it. Could you please take a look at this? Thanks, Iago Qnsi  (User talk:IagoQnsi) 20:01, 23 October 2018 (UTC)
 * Found the same today. Please help to solve it. --Arnd (talk) 17:16, 24 October 2018 (UTC)
 * Same problem for transfering from sr.wiki to Commons. --Miljan Simonović (talk) 19:48, 24 October 2018 (UTC)
 * This should be fixed now. --Magnus Manske (talk) 10:34, 31 October 2018 (UTC)

File:Pierre Bayle.jpg
Hello. There appear to be a problem with File:Pierre Bayle.jpg and File:François Poullain de La Barre.jpg. I guess the second one should be deleted? I thought you should be informed since you are the author of the first file. Sapphorain (talk) 16:01, 15 November 2018 (UTC)

Wiki Tool prepares Infobo
Enable THIS TOOL FOR SINDHI WIKIPEDIA, So it can also create infoboxes on Sindhi Wikipedia. Thanks JogiAsad  Talk   02:45, 25 November 2018 (UTC)

Possible to delete stopped SourceMD batch?
Can one delete a stopped batch? I have no expectation of restarting it, so I'd like to "make it go away." My reason is simple, I don't want to see it in my batch list. Apologies if this is a capability that I should already know how to do. -Trilotat (talk) 14:08, 29 November 2018 (UTC)

Facto Post – Issue 18 – 30 November 2018
MediaWiki message delivery (talk) 11:20, 30 November 2018 (UTC)

Filtr in Glamorous
Hey, firstly many thanks for such great tool. We (in Wikimedia Czech Republic) use it for the evaluation of contributors activites and creating lins from Commons to Wikipedia. Would it be possible to add filter for selected category by Uploader and Date (from-to)? That would help us to do our work even better. Now if there are files from different users in category its hard to focus just on usage of those from one user.--Juandev (talk) 15:55, 3 December 2018 (UTC)

Lista_de_pinturas_de_Silva_Porto
Hello! I tried to create a List of paintings of the portuguese painter Silva Porto. I published at the PTWP the entry pt:Lista de pinturas de Silva Porto with the. At the Wikidata query service I managed to produce the list (bottom) but don´t know how to export the list to Wikipedia. Can you help me, please? Thank you, JMdosPerais 00:25, 5 December 2018 (UTC)


 * 1) Lista de pinturas de Silva Porto
 * 2) defaultView:Table

SELECT ?image ?itemDescription ?data_de_publicação ?coleção ?localização ?itemlabel WHERE { ?item wdt:P31 wd:Q3305213. ?item wdt:P170 wd:Q610761. OPTIONAL { ?item wdt:P18 ?image .} OPTIONAL { ?item wdt:P577 ?data_de_publicação.} OPTIONAL { ?item wdt:P195 ?coleção.} OPTIONAL { ?item wdt:P276 ?localização.} }
 * I have created a basic list there, feel free to change it! --Magnus Manske (talk) 11:02, 6 December 2018 (UTC)
 * Thank you! JMdosPerais 14:18, 6 December 2018 (UTC) — Preceding unsigned comment added by GualdimG (talk • contribs)

Rust; WikiBase scalability; etc

 * Life is better with Rust's community automation - Emily Dunham, LinxConf.au (2016)
 * https://www.sqlalchemy.org/features.html
 * Coq
 * mpv (media player)
 * PostgreSQL Database Limits - appendix from (I think) Beginning Databases with PostgreSQL: From Novice to Professional (2005). I doubt that the limits have been reduced since then.

- Zazpot (talk) 16:56, 15 December 2018 (UTC)

Listeria Image gallery?
Hi Magnus, I am interested to know if listeria can be used to create am image gallery based on a query - rather than a list? or perhaps there is another tool which does this? Thanks! Jason.nlw (talk) 11:06, 18 December 2018 (UTC)

Catnap
(lovely name for a tool :)

I couldn't see it on bitbucket, so I'm submitting a simple but major bug report here:

In Catnap, when we generate output from a category it works well, but the links back to re-search Catnap from each of the results gives a 404, because there's a stray  in the anchor target. I.e.
 * At results from main page: https://tools.wmflabs.org/catnap/?language=en&project=wikipedia&category=Reader+help&min_group=5&ignore=&doit=Do+it
 * Given link (broken) - https://tools.wmflabs.org/catnap/catnap.php?category=Wikipedia_how-to&language=en
 * Proper link (works) - https://tools.wmflabs.org/catnap/?category=Wikipedia_how-to&language=en

Hopefully easy to fix. Thanks for the nifty tool! Quiddity (talk) 04:52, 17 December 2018 (UTC)
 * Fixed. --Magnus Manske (talk) 11:41, 20 December 2018 (UTC)

Facto Post – Issue 19 – 27 December 2018
MediaWiki message delivery (talk) 19:08, 27 December 2018 (UTC)

QuickStatements - how to question
Magnus,

I tried to use

hoping to get

However I got

instead. Is there any way to get the first result using QuickStatements? --Jarekt (talk) 16:54, 7 January 2019 (UTC)
 * Not at the moment. It's a known issue. --Magnus Manske (talk) 11:08, 9 January 2019 (UTC)
 * In case the resolution of this issue is involves new syntax, one temporary "workaround" using current syntax migh be to enable  handling of redirected items. Currently if QuickStatements encounters any redirected statements, it reports error. However if it was able to follow redirects than we could use existing redirects, like  ->, so that

could have been used to get the first option. Thare might be a better solution, but this was one of workarounds I tried. --Jarekt (talk) 17:18, 11 January 2019 (UTC)

QuickStatements - assigning a retrieval date
I've tried using

with and without double quotes around the date&time value, but it doesn't appear in the item's property-reference dropdown. I also tried simpler formats  & , for good measure, but to no avail. Do you know how to fix this? ~ Tom.Reding (talk ⋅dgaf) 21:00, 5 January 2019 (UTC)


 * The problem could be your use of "year precision" ("/9") with a specific day. Try "/11" for day precision. --Magnus Manske (talk) 10:42, 7 January 2019 (UTC)


 * Thanks, I just tried
 * and the result was the same, unfortunately.  ~ Tom.Reding (talk ⋅dgaf)  17:44, 13 January 2019 (UTC)
 * and the result was the same, unfortunately.  ~ Tom.Reding (talk ⋅dgaf)  17:44, 13 January 2019 (UTC)

Distributed Game removing constraints
See this edit to that removed, which formerly fulfilled an inverse constraint at. ~ Tom.Reding (talk ⋅dgaf) 16:07, 14 January 2019 (UTC)

"ERROR: Not logged into WiDaR!"
I can't seem to get the OAuth to stick.

I keep seeing "ERROR: Not logged into WiDaR!" when I try and import a new catalog (from https://tools.wmflabs.org/mix-n-match/import.php).

Is that related to the jsonp breaking change? — Preceding unsigned comment added by ATL EAC ENTERER (talk • contribs) 02:41, 17 January 2019 (UTC)

I found a better error:

Something went wrong with your authentication: Not authorized (bad API response [isAuthOK]: {"error":{"code":"mwoauth-invalid-authorization-invalid-user","info":"The authorization headers in your request are for a user that does not exist here","*":"See https:\/\/commons.wikimedia.org\/w\/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https:\/\/lists.wikimedia.org\/mailman\/listinfo\/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes."},"servedby":"mw1340"})

when I tried to log in from https://tools.wmflabs.org/tooltranslate/#tool=10&languages=en ATL EAC ENTERER (talk) 19:53, 17 January 2019 (UTC)

alphabetical order by the bot
Should´t the word "Évora" be alphabetically sorted before any word beginning with F? In another way, shouldn´t any letter with a signal be treated, for alphabetically order, as without the signal? I notice a case were de Listeria Bot places the word "Évora" below/after "Viseu", beginning with A..., for instance in Lista de Castelos de Portugal. Greetings, JMdosPerais 22:41, 25 December 2018 (UTC)
 * Happy New Year! JMdosPerais 10:49, 1 January 2019 (UTC)
 * I´m sorry Magnus, but this "bug" is not yet solved. I´m not able to do so, and don´t know who can. Would you send this question to the right place, or the right people? Thank you. Greetings, JMdosPerais 21:56, 21 January 2019 (UTC)

CommonsDelinker making broken edits in Wikisource
Hi,

After deletion of a file as duplicate and redirect creation in Wikimedia Commons, Commons delinker made edits in plwikisource that are broken: eg. here it changes not only links to files but also links to index page (in the Index: namespace) inside the &lt;pages ... > tag and provided as a template parameter ("strona indeksu="). Well, the index page name should be the same as the name of the DjVu file (and so names of pages in the Page: namespace - hundreds of them usually - which are also based on index/file name). If the bot cannot made the changes correctly (renaming also Index/Page pages or not changing links to them) it would be better if the bot refrained from any change in Wikisources that is related to a DjVu/PDF file rename. This is unlikely that such renames are performed correctly without assistance of a Wikisource user. And the way how CommonsDelinker makes such "fixes" now is disruptive. Ankry (talk) 13:45, 28 January 2019 (UTC)

Facto Post – Issue 20 – 31 January 2019
MediaWiki message delivery (talk) 10:53, 31 January 2019 (UTC)

Listeriabot
Listeriabot has gone 500 Internal Server Error for the past day and a half. Already reported it to the talk page of Listeria, but it does not seem to be used much. Thanks, --Folengo (talk) 19:46, 16 February 2019 (UTC)

Facto Post – Issue 21 – 28 February 2019
MediaWiki message delivery (talk) 10:02, 28 February 2019 (UTC)

Listeriabot not listing all the item that SPARQL does
Hi Magnus.

I've written a simple SPARQL query that lists 60 results in Wikidata Query Service. However, when I add it to this list it only prints the first 3 elements. Do you know what I'm doing wrong? Thanks in advance.

YoaR (talk) 07:58, 12 March 2019 (UTC)
 * You used "links=local", that limits the rows to items that have an article in your local wikipedia. I have removed that line, it now shows all results. Check out the documentation if you want redlinks etc. --Magnus Manske (talk) 14:01, 12 March 2019 (UTC)

/missingtopics/
tools.wmflabs.org/missingtopics/, after some warnings, the error:
 * Fatal error: Uncaught exception 'Exception' in /data/project/magnustools/public_html/php/ToolforgeCommon.php:241

What is going wrong? --FriedhelmW (talk) 20:05, 24 March 2019 (UTC)

GLAMorous broken?
GLAMorous has not been working for me the last couple months. Is it broken, or am I doing something wrong? --Lasunncty (talk) 09:53, 13 March 2019 (UTC)
 * Works for me. Example? --Magnus Manske (talk) 17:18, 13 March 2019 (UTC)
 * I'm trying to get a list of things that need work, so I did this search which returned lots of errors. I reduced the depth to 5 and still got errors.  I then reduced it to 1 and got 0 results.  I know that is not correct because I can go to the first image in the first subcategory and see that it is indeed used in Wikipedia.  Just now I tried depth 2 and it seems to work, so I guess it is not completely broken.  --Lasunncty (talk) 09:04, 15 March 2019 (UTC)


 * I'm also running in some errors (using boh Firefox and Chrome on Windows7), when I do this query everything above "Details (top 1000 images)" looks OK, but below I only see the thumbnails of the 1000 images, so without the detailed file usage reports I used to see there. Best, --OlafJanssen (talk) 12:53, 22 March 2019 (UTC)

Hi, for me GLAmorous broken too. Please see my used images. With best regards, -- George Chernilevsky  talk 20:10, 24 March 2019 (UTC)