Module talk:Coordinates

From Wikivoyage
Jump to navigation Jump to search

Template vandalism? "Anorexia is fun"[edit]

Swept in from the pub

This is a weird one: check out this REST mobile html call for East Frisia: https://en.wikivoyage.org/api/rest_v1/page/mobile-html/East_Frisia/4502178. Scroll down to the "Cities" section. Note the repeated "Lua error in package.lua at line 80: module 'Anorexia is fun' not found" repeated for each Marker template. I don't see anything in the East Frisia page source, nor the Marker template source (though I'm not sure how this works). Anyone have any idea how this snuck its way in there? Thanks, Brycehughes (talk) 10:04, 2 May 2023 (UTC)[reply]

Given that this is pretty egregious IMO, I've enquired over here at the MediaWiki support desk also. Brycehughes (talk) 10:10, 2 May 2023 (UTC)[reply]
On April 28, it seems that the now-globally locked Taiwan Anorexia Network (talk · contribs) vandalised Module:Coordinates (Special:Diff/4653601, now deleted) by entering the line "require "Anorexia is fun"". While it was swiftly reverted by JRHorse, it seems the error still pertains in the mobile HTML. SHB2000 (talk | contribs | meta) 10:18, 2 May 2023 (UTC)[reply]
Either way, I've protected the template so that only template editors and admins can edit it. Brycehughes, if you do need template editor privileges, please do let me know on my talk page. SHB2000 (talk | contribs | meta) 10:19, 2 May 2023 (UTC)[reply]
SHB2000, thanks. Given that I don't know Lua (though I do know other languages), I'm not sure if I meet the prereqs to be a template editor. Regardless, would it be feasible/possible for you to perform a null edit on Module:Coordinates and/or Template:Marker to see if that flushes the caches? (I see editing East Frisia failed to help.) Brycehughes (talk) 10:31, 2 May 2023 (UTC)[reply]
@Brycehughes: Unfortunately I found no luck making a null edit to both Module:Coordinates and Template:Marker. As for template editor rights, we don't have any prerequisites – we openly give it to good-standing users who may have the need to edit a template (and you fulfill both reqs). SHB2000 (talk | contribs | meta) 10:37, 2 May 2023 (UTC)[reply]
Ah, bummer. Ok, let me work with the MediaWiki folks. Will contact you on your talk page re privileges. Brycehughes (talk) 10:46, 2 May 2023 (UTC)[reply]
FYI, I reported T335770. Brycehughes (talk) 12:34, 2 May 2023 (UTC)[reply]