[05:34:06] anyone know where the gerritbot runs? [08:48:28] Hi all [08:48:44] does anybody here has experience with the Shibboleth extension on Mediawiki ? [08:49:07] We're using it and it's working well, but … we're unable to implement the Groups in order to provide Admin rights … [11:17:26] hello, room [11:18:27] I'm in the progress of editing the Vector skin to create my own, but somehow all checkboxes are missing (in DOM). Does somebody have an idea, how that can happen? [12:16:31] I'm in the progress of editing the Vector skin to create my own, but somehow all checkboxes are missing (in DOM). Does somebody have an idea, how that can happen? [16:28:50] Hi Mediawiki newbie here looking for some expertise, someone else here? [16:29:53] someone here? [16:29:53] Hi mediawiki_noob, I am here, if you need anything, please ask, otherwise no one is going to help you... Thank you [16:31:48] So... I've set up my first mediawiki yesterday evening. i'm running mediwiki 1.32.2 on apache2 with mysql, phpmyadmin and letsencrypt. [16:32:33] i'm triying to get short url to work but nothing works :( . My wiki root is at /var/www/html/wiki [16:35:33] my conf in /etc/apache2/sites-avalaible https://dpaste.de/M7NU [16:36:37] anyone? [16:41:21] no patience to read the docs, and no patience to get a response... Good luck! [17:45:44] hello! [17:46:53] hi [17:49:57] Can you help me please, I want to integrate with mediawiki, but don't understand how I can receive createtoken lgtoken etc.. In preferences I saw only watchtoken [18:02:35] smorozov: You'll need to get tokens with te api, See https://www.mediawiki.org/wiki/API:Tokens [18:07:41] Vulpix: But how I can get tokens without authentication? What if I have only username&password at the start? [18:08:19] You get the login token without being authenticated, this is not a problem [18:21:58] Vulpix: Ah this is a public token. I had a misunderstand and thought this is something private. Thanks a lot :) [18:23:03] Its not public, its per session [18:23:04] do you need an edit token if you are using OAuth? [18:23:38] nevermind... https://phabricator.wikimedia.org/T170438 [18:23:41] davidwbarratt: there's a lot of different types of tokens, but generally yes [18:27:09] sigh, annoying. haha [18:27:30] smorozov: remember to also send and store all the cookies received from the server! [18:42:37] Vulpix: yep, I see session cookies in postman. Currently, I trying to figure out why my clientlogin request with logintoken in body responds with code=nologintoken [18:43:46] Corrent Content-Type header/encoded properly? [18:51:23] be sure tokens, password, etc are sent in the request body and not in the query string [18:51:50] It is specified somewhere? I see nothing about headers https://www.mediawiki.org/wiki/API:Login [18:52:27] It just has to be valid HTTP [19:01:39] here request & response with bodies https://ibb.co/cJ2rQYD (without query parameters it does not responds with pretty json) [19:03:33] smorozov: Oh, the format should not be json [19:03:40] unless is it autoconverted [19:04:03] smorozov: IS that \ actually doubled, or is that how its displayed? [19:08:27] aah, sure, form-data :) yes, doubled, fixed [19:10:22] bawolff: I read somewhere that the api enforced POST request to have those parameters in request body, for security reasons (prevent sensitive parameters appear in logs, basically) [19:11:00] Vulpix: Yep that's correct [19:50:59] Hey guys [19:51:26] Am I the only one who is currently on the chat page? [19:52:17] Nope [19:52:28] sssss: how can we help? [20:57:28] sssss: we are all here, sometimes [21:44:26] I have some questions about languages in mediawiki [21:44:48] i'm trying to sort of reverse-engineer the "undo" comments so I can tell what reverts are "undos" [21:45:01] I'm running into challenges with gender [21:46:12] So the default values are in the languages/i18n directory of mediawiki [21:46:17] * groceryheist nods [21:46:29] But can be overriden by pages in mediawiki namespace [21:46:55] There is also a page called Special:allmessages on wiki that lists them all [21:47:56] For gender usually the msg has something like {{GENDER:username here|male version|female version}} [21:49:51] groceryheist: not sure if that answers your question, was there anything more specific you were wondering about? [21:50:14] so I noticed that in Bosnian we have "Poništena izmjena" [21:50:29] but I see lots of "Poništene izmjene" [21:50:36] in revert comments [21:50:58] i don't know Bosnian, but this seems like gender [21:51:41] like there's a {{GENDER:}} for the next term [21:51:50] https://bs.wikipedia.org/wiki/Posebno:SvePoruke?prefix=undo&filter=all&lang=bs&limit=50 [21:56:08] So i think the message is undo,summary or undo-summary-username-hidden [21:57:10] So https://bs.wikipedia.org/w/index.php?title=MediaWiki:Undo-summary&action=edit [21:57:27] Poništena izmjena $1 {{GENDER:$2|korisnika|korisnice}} [[Special:Contributions/$2|$2]] ([[User talk:$2|razgovor]]) [21:57:39] * groceryheist nods [21:57:58] So the word korisnika/korisnice will vary with gender preference [22:00:30] You should also be able to get a list of such edits via the undo tag https://bs.wikipedia.org/w/index.php?hidebots=1&hidecategorization=1&hideWikibase=1&tagfilter=mw-undo&limit=500&days=30&title=Posebno:NedavneIzmjene&urlversion=2 [22:01:31] Its possible the other edit summaries you see are manual edits that didnt use the undo button [22:01:32] oooh thanks