[10:39:38] Hi, Mediawiki community! [13:04:08] Hello. I am trying to parse wiki markup from the mediawiki api. [13:04:43] However I am getting the "url to long" error message. There are a workaround this? [13:05:42] I do something such as this:"http://example.com/w/api.php?action=parse&pst=1&disablepp=1&format=json&redirects=1&text=%7B%7BFoo%7D%7D" [13:06:00] however, the "text" field is obviously too long. [13:15:07] h0rsep0wer: use POST instead of GET requests, the URL should be only the api.php script, rest of params can go in the request body [13:16:01] Vulpix: Nice! Thank you very much! \o/ [18:08:24] I am trying to add a userscript to a (custom) mediawiki wiki but it says: Use of "addOnloadHook" is deprecated. Use jQuery instead. [18:08:58] I'm not sure what it means. I just used: importScript('//en.wikipedia.org/w/index.php?title=User:Equazcion/sysopdetector.js&action=raw&ctype=text/javascript'); [18:11:06] HiddenKnowledge: use $.getScript('//en.wikipedia.org/w/index.php?title=User:Equazcion/sysopdetector.js&action=raw&ctype=text/javascript'); instead [18:25:01] Vul [18:25:08] Vulpix: Thank you :) [18:28:55] yw :) [18:36:04] FlorianSW: Are you sure that https://github.com/wikimedia/mediawiki-extensions-ConfirmEdit/commit/b36abe69a8e707f6697ead4073e82b1147e063c4 would fix https://phabricator.wikimedia.org/T152929? [18:37:03] Reception123: I see this task the first time :) [18:37:23] sorry, must've been a confusion [18:39:28] FlorianSW: https://phabricator.wikimedia.org/p/Florian/ [18:39:31] you are this user [18:39:43] that created https://gerrit.wikimedia.org/r/#/c/348224/ [18:39:51] Reception123: ähm, yep :) [18:39:52] this is the commit I was talking about :) [18:40:19] the initial request was "Maybe in extension.json, CaptchaTriggers should be +CaptchaTriggers, so that the configuration variable merges?" so I'm not sure if what you did would fix our issue [18:40:28] Reception123: yes, but this change fixes T162641 and not T152929 :) [18:40:28] T152929: WikiForum overwrites $wgCaptchaTriggers when adding a new permission - https://phabricator.wikimedia.org/T152929 [18:40:29] T162641: Migrate ceAllowConfirmedEmail to wgAllowConfirmedEmail and remove prefixes from keys - https://phabricator.wikimedia.org/T162641 [18:41:15] oh.. well T162641 is a starter for fixing T152929. Any ideas how to fix the latter though? [18:42:33] Reception123: sorry, I don't have the time yet to check this :( I'll come back to this later, ok? :) [18:42:45] Ok, thanks! Your help is really appreciated [18:52:54] Vulpix: I still get the same error, but when I put it in the console directly it does work :S [18:54:11] Wait, maybe common.js is disabled? [19:07:25] HiddenKnowledge: the deprecation notice is not an error, just a notice, it shouldn't have any other effect [19:07:54] if it still happens, maybe there's another location where the old importScriptURI is being used [20:18:57] Reception123: the problem you describe will not be fixed with this change, sorry :(