[07:32:07] Krinkle: https://www.mediawiki.org/w/index.php?title=Extensions:Gadgets&redirect=no did you intend to create the page in a fake namespace? [10:06:02] p858snake: it'd be a good idea to have that nonexistent NS redirect to the correct one, I've sometimes made that typo as well despite fully well knowing the correct spelling :D [10:07:40] If its a common mis-spelling, we could add it as a namespace alias ;) [10:07:41] ashley: would a namespace alias not be better? [10:08:29] yeah, that's what I meant ;) [10:09:20] ashley: I mean if you get consensus somewhere then let's do it [10:10:24] don't we already have like three votes for and none against? not that MW.org should be like enwikipedia [10:12:25] ashley: i'd like at least a notice on wiki [10:12:29] i'm doing a patch [10:12:43] i could get it B&C on Monday though [10:12:44] https://phabricator.wikimedia.org/T349970 [10:15:35] <3 [10:16:54] ashley: what's the best place as a noticeboard on mediawiki.org? [10:18:17] sitenotice? no clue tbh :D [10:19:42] ashley: i'll think [10:19:50] should we do Skins/Skin too? [10:20:21] seems logical to me, and not like it's gonna harm anything, so go for it [10:20:50] sure :) [10:23:56] [[Project:Village Pump]]? [10:24:30] taavi: that's what I did [10:24:39] Added a link in the task [10:27:52] taavi: how long is a reasonable time to wait for comments? [10:48:09] Village Pump or Requests#RfC area [10:48:31] i went with village pump [18:04:12] Hey, I have a question about the mediawiki Core REST API. The contents of the page are always returned in wikitext format, I try to give a 'content_model' parameter in my url which is set to 'json' but I still get the response in wikitext. How do I get the content of a page in another format other than wikitext? [18:12:58] p858snake: yes, for that exact link, yes. [18:13:28] fixing a broken link from elsewhere [18:14:06] Ben78: which specific route in the Rest API are you using? [18:19:32] When you say contents, do you mean metadata? The page content itself only exists wikitext (source) or html (parser output) [18:19:49] https://www.mediawiki.org/wiki/API:REST_API/Reference [18:20:16] https://en.wikipedia.org/w/rest.php/v1/page/Earth/html [18:22:41] For other information, you can use the Action API. Such as categories, images, links, etc. https://www.mediawiki.org/wiki/API:Query [18:24:33] The purpose of the content model parameter is to allow for custom source formats, not different output formats. For example, for pages that do not use wikitext, but for pages that represent other kinds of data, there are sometimes multiple source formats available https://www.mediawiki.org/wiki/Special:MyLanguage/Content_handlers [18:48:15] Thanks for the reply. I'm using the Pages/Get page source route. The example on this page https://api.wikimedia.org/wiki/Core_REST_API/Reference/Pages/Get_page_source is basically how I'm using it [18:48:42] I think I misunderstood the message at the top of the page where it says "Returns the content of a wiki page in the format specified by the content_model property, the license, and information about the latest revision." [18:49:38] I thought it meant I could specify the content_model in my calls