[01:35:07] Good evening. Does anyone know how to submit a job from a webservice? I tried to call jsub but it seems the command is not found like it is from bash. [01:36:48] I cannot run the job directly from the webservice since Labs now kills my script after running for one minute [01:41:42] #wikimedia-cloud [08:10:25] DannyS712, brilliant that's exactly what I needed [08:12:15] that's in the base, so I don't need to mw.loader.load it, right? [20:37:57] Reminder: The Coolest Tool Award ceremony is tomorrow at 17:00 UTC! see https://lists.wikimedia.org/pipermail/wikitech-l/2020-December/094108.html for more details and links. IRC discussion will be in #wmhack [21:43:56] is anybody here who is responsible for the bot [[user:MediaWiki message delivery]]? [21:44:51] its an extension, MassMessage [21:45:45] that bot uses short urls which are unwanted (at least in dewiki). how can i convince that bot to avoid such urls? [22:10:54] lustiger_seth: can you give an example? the actual messages it posts are usually written by humans, you could perhaps convince them [22:11:38] who has the right to use that message system? [22:12:08] is the edit filter (aka abuse filter) usable for [[special:massmessage]]? [22:12:39] example: https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Troubled_asset/Newsletter&diff=prev&oldid=206325361 [22:12:39] tons of people https://meta.wikimedia.org/wiki/Special:ListUsers/massmessage-sender [22:13:00] the bot edits have a comment att he bottom describing who sent them [22:13:12] [22:16:36] lustiger_seth: by the way, i tried one of the shortened links in that message ("https://w.wiki/pZJ Russian cuisine") and the link will not display correctly when you use the un-shortened form in wikitext. no idea why that happens, but it's probably the reason they were shortened [22:16:49] ok, you are right. maybe it's enough to ask this single user. [22:18:21] w.wiki/pZJ resolves to https://query.wikidata.org/embed.html#%23defaultView%3AImageGrid%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fimage%20%7B%0A%20%20%3Fitem%20wdt%3AP361%20wd%3AQ12505%20%3B%20wdt%3AP18%20%3Fimage.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D and that works for me. [22:19:06] it doesn't work when you use it in wikitext markup [22:19:08] although this long url won't win the prize for being the most beautiful one. [22:19:08] [https://query.wikidata.org/embed.html#%23defaultView%3AImageGrid%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fimage%20%7B%0A%20%20%3Fitem%20wdt%3AP361%20wd%3AQ12505%20%3B%20wdt%3AP18%20%3Fimage.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20"%5BAUTO_LANGUAGE%5D%2Cen".%20%7D%0A%7D asdf] [22:19:59] this works for me: [https://query.wikidata.org/embed.html#%23defaultView%3AImageGrid%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fimage%20%7B%0A%20%20%3Fitem%20wdt%3AP361%20wd%3AQ12505%20%3B%20wdt%3AP18%20%3Fimage.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D moep] [22:21:50] hmm, fascinating, how is my link different? i just copied it from the browser [22:21:54] https://de.wikipedia.org/wiki/Benutzer:Matma_Rex/sandbox [22:22:04] apparently, wikitext doesn't like the un-encoded " [22:22:22] lustiger_seth: also, FYI, the w.wiki shortener is a Wikimedia site, and it only allows links to Wikimedia sites. i don't really understand why you'd ban it [22:22:28] https://meta.wikimedia.org/wiki/Wikimedia_URL_Shortener#List_of_supported_sites [22:22:59] your " is not urlencoded [22:23:41] (i copied my long url from the http location header) [22:24:17] i copied it from the browser address bar. i would guess that whoever sent that message ran into the same problem, and just shortened it instead of debugging :D [22:24:51] short urls may be useful for mobile devices. but they have several disadvantages when used internally: [22:26:00] * external links have a slightly lighter color, so that a false impression would be created. [22:26:47] * misspellings in links within the own project should cause a conspicuous red colored reference. URL links, on the other hand, are always blue. [22:27:38] * the calling page appears only with the wikilink in the "whatlinkshere" within the own project, so that with changes (also content kind) the calling links can be adapted. [22:27:47] sure, but i think none of the usual problems apply to a service we own [22:28:00] anyway, i don't really care, i was just trying to solve a mystery [22:30:29] the mentioned problems (and some more) only occur when using urls to internal pages instead of internal links. [22:30:49] i need to run, but i think you can find the person who sent the message now and talk to them about the links? [22:31:14] mystery: yes, you are probably right. i'll ask that user and give him a hint on how to avoid encoding problems. [22:32:12] yes, thanks! [22:32:25] no problem