[03:52:15] I have configured RestBase for Visual editor in my own wiki also added citoid and zotero for automatic citation [03:52:31] unfortunately automatic citation is not getting enabled [03:52:45] where I am doing wrong ? [03:53:14] able to see the three options automatic , manual , re-use but automatic is diabled [04:45:18] hello I'm a mediawiki newbie developer. Please any channel recommendations for beginners? [04:51:12] here is great! some people are also in #wikimedia-tech and #wikimedia-dev is a bot feed of what people are working on [04:51:20] GrandSwazi: anything in particular you're interested in working on? [04:57:18] yes, I will like to be base on pywikibot [05:09:02] well technically we have #pywikibot but there's usually like 2 or 3 people there [05:38:27] Ramu: the automatic citation is disabled when MediaWiki:citoid-template-type-map.json system message is not given [05:40:39] you can read https://www.mediawiki.org/wiki/Citoid/Enabling_Citoid_on_your_wiki describes installation steps [05:59:38] @len [06:00:03] lens0021 I have added the MediaWiki:citoid-template-type-map.json in my wiki [06:00:35] but still it doesn't work like I am unable to click on automatic option in citation [06:01:34] How about manual option? is it enabled? [06:01:47] ya it is enabled [06:02:03] :thinking: [06:11:31] Ramu: could you retry after clearing your web browser's cache? [06:13:24] ha tried no luck [06:15:53] could you check that MediaWiki:citoid-template-type-map.json page in your wiki shows a table like https://en.wikipedia.org/wiki/MediaWiki:Citoid-template-type-map.json ? [06:29:58] @Ramu [06:31:04] yes yes it same [06:32:19] lens0021 its working now [06:32:51] restarted server [06:33:02] what is the problem? :) [06:34:45] updated the .json and restarted the server [06:34:47] not sure [06:47:38] by the way, I have my own question about Citoid. can anyone answer my question? it's at https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/SW3MCSKOESH7SU2HBHDUO4W4DKMGE4N6/ [07:02:06] lens0021 now I am getting this error We couldn't make a citation for you. You can create one manually using the "Manual" tab above. [07:04:22] The browser's debug console could show more detailed error message, can you check? [07:07:13] method: "get" [07:07:13] title: "Not found." [07:07:14] type: "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route" [07:07:14] uri: "/localhost/v1/data/citation/mediawiki/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSpecial%3AExport" [07:07:44] lens0021: I'll reply tomorrow to your wikitech-l email [07:12:39] legoktm: thank you, it will help me! [07:13:10] lens0021: the short answer is it's probably fine, just if it gets abused that privliedge will be taken away [07:13:13] like maps was [07:15:27] Ramu: I am curious about that the rest of the features of RESTBase works, for e.x. switch between VE ↔️ wikitext when editing a page [07:16:28] ya that works fine [07:19:15] legoktm: Indeed, the wiki i am involving already started to use wikimedia's restbase and citoid few weeks ago [07:19:27] shhh [07:19:30] ;) [07:19:34] but yeah, that's probably fine [07:24:56] Ramu: does http://YOUR_WIKIS_ADDRESS/localhost/v1/ show api for citation and 'try it out' button work fine? [08:12:30] anyway, you must configure RESTBase in a certain way. your config.yaml should be a mixture of https://github.com/wikimedia/restbase/blob/master/config.example.yaml and https://github.com/wikimedia/restbase/blob/master/v1/citoid.yaml. [08:16:15] and as I never tried to do it so, I don't think I can help you if you will do that. [08:56:05] lens0021 yeah I am able to see APIs [08:58:48] hm... then I can't figure out why the API call fails [09:00:57] does opening http://YOUR_WIKIS_ADDRESS/localhost/v1/data/citation/mediawiki/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSpecial%3AExport on the browser also fail? [09:07:18] ha it give something like this [09:07:19] {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route","title":"Not found.","method":"get","uri":"/localhost/v1/data/citation/mediawiki/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSpecial%3AExport"} [09:21:01] Ramu: In a normal way, I can visit https://www.mediawiki.org/api/rest_v1/#/Citation → click 'GET ​/data​/citation​/{format}​/{query}' →click 'Try it out' → input some url in 'query' form → click 'execute' →the server response will show 200. is it reproduced in your RESTBase entry point? [09:41:20] Ramu: hi, any progresses? [09:58:03] Nope! lens0021 [10:01:09] Ramu: In a normal way, I can visit https://www.mediawiki.org/api/rest_v1/#/Citation → click 'GET ​/data​/citation​/{format}​/{query}' →click 'Try it out' → input some url in 'query' form → click 'execute' →the server response will show 200. is it same in your RESTBase entry point? [10:03:21] Nice lens0021 in my wiki RESTBase I can not see the Citation endpoint I can only see Page Content and Transforms [10:03:30] what might be the issue ? [10:05:05] No math, Reading lists, Recommendations, Mobile endpoints [10:05:15] even Citation one [10:05:44] your config.yaml for RESTBase must be configured to communicate with your Citoid [10:08:37] I have never configured RESTBase for Citoid, but have configured for Mathoid once. something like https://github.com/femiwiki/docker-restbase/commit/ae054d99#diff-d8d0422389f03d783e32e627250fe29834bd09c6361640d1ff00661dd6820034 is needed [10:12:06] lens0021 Thank you I will try [10:14:23] Does the config.yaml changes if we have HTTPS enabled ? I mean in apiUriTemplate, and baseUriTemplate [10:14:38] Ramu: you can find RESTBase configurations for citoid written for Wikimedia here: https://codesearch.wmcloud.org/services/?q=citoid&i=nope&files=&excludeFiles=&repos=mediawiki/services/restbase [10:15:53] I think it is your choice using HTTPS for connections between RESTbase and Citoid and MediaWiki [10:17:02] I am not sure, though [10:17:47] lens0021 NP! I will try to configure citoid thank you very much that helps [12:38:49] is it possible to configure the recent changes feed (via API action=feedrecentchanges) to not group together consecutive edits by the same user?