[05:11:30] Hi everyone, I am new to this channel and am looking for some projects to work on. I am aiming for GSoC2020 [10:10:13] https://meta.wikimedia.org/wiki/Community_health_initiative/Partial_blocks [10:10:19] Great news [10:10:32] Will this be a feature available on other wikis? [10:11:00] (i.e. The ability to set up user groups for specific projects on other wikis would be desirable) [11:59:21] ShakespeareFan00: what is "other"? Other than what? Do you mean third party? [12:58:56] andre__: Other non WMF mediawiki installations [13:06:04] The core is in code, so you can do what you want [13:15:53] or will be [13:15:54] etc [14:16:16] Reedy: Thanks [14:16:47] The tech notes I read mention namespaces, but not category blocking as such [14:17:15] I would hope that there's also going to be away to block certain users from editing pages edited by certain other users. [14:17:29] (I.E Software/Tools support for interaction bans) [14:17:59] That's not mentioned in the tech notes but would be something I would like to see implemented. [15:43:43] Hello, I'm new to mediaWiki community [15:44:01] Can someone tell me where I can start with? [15:54:03] Hello aashnajena, welcome [15:54:11] What do you want to achieve? [15:55:03] ooh a dereckson. nice to see you around again :) [15:56:04] Hello Reedy :) [16:46:07] aashnajena: Hi, see https://www.mediawiki.org/wiki/How_to_contribute [16:53:04] Hello everybody [16:53:46] Is it possible to do a query to an API (prop=links) setting the starting point where I want to do the query? [17:02:41] randomGuy1234: Hi, what is a starting point? [17:02:49] first page? [17:04:20] No [17:04:22] Like [17:04:46] Suposse I want to get a list with links. These links are A,B,C,D,E,F,G... and so on [17:04:49] So my question is [17:05:05] If can I select where the query starts giving me the links [17:05:07] For example [17:05:14] The first link I want to get is D [17:05:23] So the query would return D,E,F,G... [17:05:28] Instead of all the links [17:05:32] Is it possible? [17:05:42] andre__ [17:08:17] randomGuy1234: you can perhaps filter the results after the API has returned the links. For example, you set a boolean value toTake at false, do a for loop to iterate over the links, and when the link is D, you flip toTake to true. [17:08:36] Yeah [17:08:37] I mean [17:08:42] I know i can do it by code [17:08:52] But would it be possible to do it at the query [17:08:53] ? [17:09:14] Because there are lots of links'=D [17:12:05] https://en.wikipedia.org/w/api.php?action=help&modules=query%2Blinks you've pllimit and plcontinue options to get a subset of links [17:12:18] but you'd need to know D is at position k [17:12:42] to use ?plcontinue=k [17:13:35] actually it's not even an integer to select the first link to show, but an identifier to a previous query [17:14:03] Oh [17:14:38] https://en.wikipedia.org/w/api.php?action=query&prop=links&titles=Main%20Page&pllimit=5 give you 5 links then a "plcontinue": "15580374|0|2013" value to get the 5 next [17:14:59] you would for example here get them with https://en.wikipedia.org/w/api.php?action=query&prop=links&titles=Main%20Page&pllimit=5&plcontinue=15580374|0|2013 [17:15:53] hey try perhaps plcontinue=|0 or namespace|D [17:16:36] How do I get the namespace? [17:16:43] Didn't find it at the docs :S [17:16:46] 0 if it's an article [17:18:09] https://www.mediawiki.org/wiki/API:Siteinfo#Namespaces if not [17:18:26] e.g. https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces%7Cnamespacealiases&formatversion=2 [17:21:04] Okay, thank you very much, I'll have a look at that