[00:33:57] How do I extract the full text of an article? [00:34:16] I can currently extract the introduction [00:40:17] https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Paris&rvslots=*&rvprop=content [07:04:28] Hi, I don't enter into this channel since.... I don't remember, but sure more than eight years ;( [07:05:00] ola k ase @platonides [07:05:04] :-P [09:18:52] Hi, is there anyone who can help me figure out why VisualEditor won't work on this wiki I'm maintaining? Running MW 1.35.1. I'm getting "Error contacting the Parsoid/RESTBase server (HTTP 400)" [10:53:59] In the case of Wikidata items, is there a case in which backlinks https://www.mediawiki.org/wiki/API:Backlinks would return something other than the items it has a relation to? Are backlinks only created when two items share a property Q1 PX Q2? [12:07:47] Thanks. So action query, prop revisions - may I ask what that means? What is a "prop" and what are its options? And the same for rvslots and rvprop? Thank you [12:18:55] property [12:19:09] Most of the API doucmentaiton can be foudn at https://en.wikipedia.org/w/api.php [12:19:16] https://en.wikipedia.org/w/api.php?action=help&modules=query [12:19:23] https://en.wikipedia.org/w/api.php?action=help&modules=query%2Brevisions [12:19:45] Or you can use https://en.wikipedia.org/w/api.php?action=help&modules=query%2Brevisions for it all on one big page [12:28:39] Hi and thanks for the awesome software. I have done interwiki transclusions on one wiki, but now I cannot get them to work in an another wiki. Syntax that worked ok on one wiki is {{wikipedia::Solar hydrogen panel}}, but now it shows "Moved Permanently - The document has moved here." instead of transcluding the solar hydrogen panel article from Wikipedia. Any ideas? [12:30:41] '$wgEnableScaryTranscluding = true;' and prefix 'wikipedia' is set to allow transclusions, but still it doesn't work. I checked the syntax from history of the wiki where it worked when I needed it [12:33:38] the word "here" in the preview is a link to https://en.wikipedia.org/wiki/Solar_hydrogen_panel?action=render. Any help would be appreciated, Thanks! [12:54:58] Iamahuman4: Be sure the wiki has iw_trans = 1 in the interwiki table [13:53:31] Vulpix: it does have 'iw_trans = 1' set via the Special:Interwiki [13:53:40] should I restart memcached or sumpting? [13:57:13] The problem may be Wikipedia is doing some redirect (either the original URL you have configured doesn't have https: but http:, or the page is a redirect). Looks like the "Moved Permanently - The document has moved here" is generated by curl https://stackoverflow.com/questions/31023792/how-avoid-moved-permanently-the-document-has-moved-here [14:01:38] Here is the interwiki on the wiki in question https://develop.consumerium.org/wiki/Special:Interwiki ... looks ok to me [14:19:19] Iamahuman4: take a closer look at your "wikipedia" entry -- it points to "https://www.wikipedia.org/wiki/$1" but www.wikipedia.org is the multi-lingual landing page portal and not the English Wikipedia; assuming you want the English Wikipedia, update the URL to https://en.wikipedia.org/wiki/$1 [14:19:52] (anyway scary transclusion is scary for a reason ;-) [14:20:19] ashley: thanks for the suggestion. weird that on the other wiki it works like it is [14:20:55] quite! caching? I blame caching. it's always a potential answer to "why is being weird?" [14:21:13] https://shouldiblamecaching.com/ [14:21:44] > 1Advice may be invalid due to caching [14:21:45] sbm [14:23:52] nope... restarting memcached did not change the situation. still unable to do a scary transclusion [20:37:19] Hi. Does Mediawiki support HEIF images, or is there an extension to enable support? I'm looking to allow heif upload, but could be converted to jpeg thumbs and low resolution versions [20:38:45] https://phabricator.wikimedia.org/T211745 [20:38:49] Doesn't look good [20:38:57] You might be able to at least enable uploading fairly easily [20:45:24] Reedy: ouch. Hm. Yes I did that upload thing before. Seemed hacky as I was able to upload but not display them :/ [20:45:44] My imagemagick is compiled with libheif too. [20:46:16] it's mostly MW not knowing how/where to route it (ie to which application) and with what options [20:47:12] I'm not really that familiar with the format... but in a lot of cases, getting MW to handle them might not be too much work [20:47:15] Yeah. Perhaps one day. For now it is easier to disable heif on the phone [20:47:16] We could add support for HEIC to MW but disabled in CI and Wikimedia production, I suppose? [20:47:28] Having MW auto-convert from a format isn't something we support in core. [20:48:35] TMH does it for video files, but even then it'd still be a mess to try to 'hide' the original. [20:49:12] Conversion could be an extension. I know wordpress does something like that with webp so it sends webp to browsers supporting that and jpegs otherwise [20:50:09] Original should always be untouched, no? Like with svg where we get rendered bitmaps too [20:50:57] Putting images through imagemagick (for thumbnailing) is a core feature though. Making an extension do that would be fiddly. [20:51:36] The HEIC task that Reedy linked to is convert-on-upload-and-hide-the-original, not convert-as-needed. [20:57:19] I rather have keep original and convert as needed on display, but that could be difficult to implement reliable. So maybe ask the user if MW should convert unsupported image formats? [20:57:45] Imagemagick supports loads of formats, so it could be pretty useful