[13:52:04] If there's anyone from Wikimedia Maps around, an issue has ben reported via an OTRS ticket. The giant lake at https://www.openstreetmap.org/relation/8569#map=10/45.5766/10.6979 does not show up on our maps https://maps.wikimedia.org/#10/45.5761/10.7185 [13:58:42] <[1997kB]> showing to me AntiComposite. [14:00:41] Really? That's odd... [14:03:35] Not showing for me. [14:04:15] <[1997kB]> https://ptpb.pw/s376.jpeg [14:08:19] Not shown here either [14:08:23] AntiComposite: Feel free to https://www.mediawiki.org/wiki/How_to_report_a_bug [14:09:29] Will do [14:15:12] Already reported https://phabricator.wikimedia.org/T215641 [14:39:48] I'm looking for a way to get the username of the initial uploader of a file, to automatically fill this value in a template that I use in talk paghe of Commons images with subst: to quickly inform people of the out of contest categorization reason. [14:43:42] I didn't find an existing solution, and started a new Lua module + template to do just that. But as usual when I start a Scribunto module, I am confused with how to get my way toward the target information within the module code. [14:48:11] That is, my goal would be to add on talk page of concerned files `{{subst: [14:49:59] Arf [14:53:25] {{subst:Wiki Loves Love/out of scope|{{contributors|initial_uploader}}}} [15:10:59] Before I have a screaming fit [15:11:20] Can someone competent please check a gadget so it ACTUALLY works instead of merely claiming to? [15:11:54] https://en.wikisource.org/wiki/MediaWiki:Gadget-NopInserter.js [15:11:59] Is no longer functional for me [15:12:11] And before I start casting aspersions I'd like to know WHY [15:14:59] how to "test"? [15:16:51] andre__: https://en.wikisource.org/wiki/Page:Timber_and_Timber_Trees,_Native_and_Foreign.djvu/74 [15:17:11] okay. How to test? [15:17:15] if the gadget is enabled , there will be a toolbar option for "Prev. page {{nop}}" [15:17:25] Click this and you should get a message box [15:17:27] I don't [15:17:37] There is no toolbar on https://en.wikisource.org/wiki/Page:Timber_and_Timber_Trees,_Native_and_Foreign.djvu/74 [15:18:01] Screenshot of EXACTLY what you are seeing please [15:18:35] andre__:Alterantively it should be in the siderbar [15:18:50] Typically below "Cite this page" [15:19:04] In the section "Tools" [15:19:31] ShakespeareFan00, https://phabricator.wikimedia.org/F28275531 [15:19:49] Oh. That's not what I call a toolbar. I see now. [15:20:00] so you mean the "Tools" section in the side bar, not a toolbar. [15:21:03] ShakespeareFan00: yeah, confirming that the code in that gadget is broken. See your Developer Tools in your Web browser [15:21:11] https://www.mediawiki.org/wiki/Help:Locating_broken_scripts [16:01:33] This was previously working [16:01:42] So as the script hasn't been changed recently [16:01:48] I'm puzzled [16:14:04] ShakespeareFan00: the script has no "mw.loader.using" for mw.util [16:14:15] Hence the line "var portletLink = mw.util.addPortletLink" fails with "mw.util is undefined" [16:14:36] That has been required since 2011 according to https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users) [16:15:18] ShakespeareFan00: generally speaking after a while some stuff that got deprecated gets removed. So scripts that nobody ever fixed will break that moment. [16:15:28] Ouch [16:15:39] https://www.mediawiki.org/wiki/Help:Locating_broken_scripts explains how you can find out such problems yourself [16:15:49] andre__: yes.. [16:16:09] I wasn't seeing any errors in the console my end though [16:16:29] The relevant script is [16:16:56] also giving some other errors [16:16:59] ShakespeareFan00, did you use "debug=true"? [16:18:00] Yes.. [16:18:08] Warnings I see [16:18:12] Errors no [16:18:19] So I need to figure out where they are [16:18:37] ShakespeareFan00: which browser? [16:18:42] The actual script is https://en.wikisource.org/wiki/MediaWiki:Gadget-NopInserter.js [16:18:51] andre__: Firefox nightly [16:18:57] (And a recent build) [16:19:20] Hmm. I got an error here in the "Console" in Firefox 65.0.1 [16:19:31] 67.0a1 (2019-02-24) [16:19:35] is the build I have [16:20:45] Yep now giving an error [16:24:07] The line that fails is - var match = /\n{{[Nn]op}}\s*$/.exec(parts[2]); [16:24:18] But I suspect the error isn't in that line specficaly [16:25:06] I've asked on the Wikisource Scriptorum [16:25:23] https://en.wikisource.org/wiki/Wikisource:Scriptorium/Help#Gadget_to_add_{{nop}}_seemingly_non_functional.. [16:25:37] Your input there would be appreciated as this is a locl gadget [16:25:41] issue [16:25:52] Not something I need to bring up on phabricator [16:32:23] ShakespeareFan00, see the links and comments I provided here [16:32:27] cannot add anything to that [16:32:45] I linked to the mw page explaining what needs to be done 17min ago [17:30:16] andre__: Okay [17:30:30] (Unlikely it will get fixed soon then :( ) [23:31:17] [[Tech]]; 118.101.46.26; [none]; https://meta.wikimedia.org/w/index.php?diff=18897674&oldid=18889348&rcid=13232396 [23:33:11] [[Tech]]; Matiia; Reverted changes by [[Special:Contributions/118.101.46.26|118.101.46.26]] ([[User talk:118.101.46.26|talk]]) to last version by Schniggendiller; https://meta.wikimedia.org/w/index.php?diff=18897677&oldid=18897674&rcid=13232400 [23:34:36] [[Tech]]; 118.101.46.26; [none]; https://meta.wikimedia.org/w/index.php?diff=18897678&oldid=18897677&rcid=13232401 [23:43:53] [[Tech]]; Base; please use [[Meta:Sandbox]] for learning wikimarkup.; https://meta.wikimedia.org/w/index.php?diff=18897701&oldid=18897678&rcid=13232440