[15:46:28] Daimona: you around? [15:46:35] Hey, sure [15:46:43] Daimona: I'm head-desking with https://phabricator.wikimedia.org/P10353 [15:46:48] not sure what's going on [15:47:18] ran `composer install` / `composer update` as well but still failing for some reason [15:47:27] :| [15:47:39] Is that code hosted on gerrit so I can take a look? [15:48:04] yeah, it's mediawiki/core.git [15:49:03] I mean the extension [15:49:17] ah, sure too [15:49:27] mediawiki/extensions/UploadBlacklist.php [15:49:32] *.git [15:49:40] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/UploadBlacklist/ [15:51:11] Hm it seems it would work for me [15:51:14] Although I get the following [15:51:21] Error: Global functions cannot be converted to JSON. Please move the handler for [15:51:21] UploadVerification inside a class. [15:53:21] yeah, I'd have expected that too Daimona [15:53:34] and y'know what's funny [15:53:45] I could run this with Git for Windows && xampp [15:53:56] Do you have a (working) LS.php in the installation path? [15:53:57] but not in this linux-ubuntu machine [15:54:13] I deleted it after didn't worked [15:54:48] shall I try to create one anew? [15:54:59] Hm yes [15:55:08] If $wgServer is set, it shouldn't fail [15:55:22] I.e. it's not performing any additional check, just $wgServer === false [15:55:35] I'll try that [15:55:42] let's see [15:56:43] cazo [15:56:45] fail again [15:57:16] $wgServer === false; [15:57:22] that's what I got [15:57:27] in LocalSettings.php [15:57:58] Add sth like $wgServer = "http://localhost"; [15:58:55] yay, it works now Daimona [15:59:30] Nice :) [15:59:32] "Please make sure that $wgServer is not set to http://localhost or //localhost! If it is, a number of things will break, e.g. links inside your wiki will not work, stylesheets will not display properly and many more. Set it to the actual base URL instead!" [15:59:50] this is what happens to follow mediawiki.org docs ;) [15:59:54] Rules are there to be ignored [16:00:00] https://www.mediawiki.org/wiki/Manual:$wgServer [16:00:03] hah, true [16:00:19] If you don't ignore at least one rule, things won't work [16:00:38] BTW [16:00:43] mediawiki is such a troll ;) [16:00:48] thanks much :D [16:01:10] I don't know if you could understand https://meta.wikimedia.org/w/index.php?title=Translations:Template:Steward_elections_questions/3/it&diff=prev&oldid=19783172 [16:01:35] That was terrible. I wondered whether I should have proposed for deletion the other translations of that user [16:01:40] somewhat a mix between Spanish and Italian [16:01:43] horrible indeed [16:02:08] Dreadful [16:02:23] If the other translations are like that one, it's really better to keep the english text [16:02:43] I should take a look [16:02:56] Probably... [16:02:57] my cat agrees [16:03:46] English: "application guidelines"; translation: "le istruzioni partorisca applicare"; what that would mean: "the instructions give birth apply" [16:04:05] rotfl [16:04:19] yeah, Meta is now a maternity hospital [16:04:29] Dr. Katze at your service [16:05:44] Lol [16:06:04] it looks they added machine translations [16:06:19] I'll be taking a look and deleting the wrong ones [16:06:23] Some of the machine translation services likes to suggest "partorisca" as translation for "guidelines". It's not the first time I find it [16:07:29] Ah, it was at https://www.mediawiki.org/w/index.php?title=Special:Undelete&target=Extension%3AAbuseFilter%2Fit×tamp=20190825175101 [16:08:05] That's funny to read, but it's also so saddening [16:08:48] I've been complaining about Apertium's funny way of translating [16:10:08] Ah, so it's apertium [16:12:34] "potrebbe crearsi un filtro partorisca evitare che utenti anonimi aggiungano link esteriori, o partorisca bloccare automaticamente a un utente" [16:12:57] It roughly translates to "could create filter give birth avoid that anonymous users add exterior links, or give birth automatically block" [16:14:25] hahaha [18:18:01] hi brion I merged your patch re UploadBlacklist licencing :) [18:21:07] thx :) [18:29:35] I'm now stuck in trying to convert it to extension registration brion heh [18:38:43] :D [18:38:47] shouldn't be too hard i hope [18:39:10] give a shout if you have questions! i'm prepping for a conference for tomorrow but will be online most of today [18:39:30] I made something at https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/UploadBlacklist/+/571068/ brion [18:41:59] nice i'll add some notes [18:42:26] thanks, appreciated :) [21:43:49] not sure if this is the right place, but can anyone look at this edit and fix it? [21:43:52] https://www.mediawiki.org/w/index.php?diff=3654617 [21:44:54] I think there should be an example of what a continued query looks like, because it was not clear to a newbie like me [21:45:31] I added an example, but reverted my edit because it is probably not formatted correctly [21:46:07] as far as translate tags are concerned [21:47:29] translation tags are one reason I hate that extension - the other is not being able to revert translations from recentchanges