[03:16:40] So, I've come across a little issue with torblock [03:17:54] Tor released a mobile app for Android with VPN functionality, when connected to it the IP's aren't autoblocked [03:17:57] Or blocked at all [03:18:57] That really surprises me [03:19:05] Exit nodes are exit nodes [03:20:02] Can you provide example IP addresses, Kb03? [03:20:27] One moment [03:21:07] ToBeCloud: I'll make a subpage of my userpage and edit it with as many unblocked IP's as I can find [03:21:26] Can you paste one single IP here for me too? :D [03:21:46] (but sounds good yes!) [03:23:04] Aure [03:23:07] Sure* [03:23:21] ToBeCloud: 139.99.130.178 [03:23:27] Blocked as a webhost [03:23:30] 1 moment [03:24:10] Confirmed Tor node per https://metrics.torproject.org/rs.html#details/867B95CACD64653FEEC4D2CEFC5C49B4620307A7 [03:24:35] Here's an unblocked one [03:24:37] 171.25.193.25 [03:24:48] I can edit with it for proof [03:24:54] Please do! [03:25:05] On my talk page with message 61646164941 [03:25:23] Or wherevet [03:25:28] wherever* [03:25:40] That's blocked [03:26:30] https://metrics.torproject.org/rs.html#details/185663B7C12777F052B2C2D23D7A239D8DA88A0F [03:27:16] Feel free to confirm more using https://metrics.torproject.org/rs.html [03:27:22] Good night :) [03:29:46] Hmm, some are blocked and some aren't [03:40:29] Ok, there were a couple that weren't blocked yesterday [03:40:31] Now they are [09:09:02] [19:24:37] 171.25.193.25 <-- it's blocked as a tor node [09:09:11] visiting https://en.wikipedia.org/wiki/Special:Block/171.25.193.25 says "The IP address 171.25.193.25 is blocked as a Tor exit node." [09:09:16] it just doesn't show up as a normal block [09:36:13] In the REST API, using prop=templates, is there a way to get the actual parameters of the template that are used in the page? [09:36:37] For example here's a query that finds a Listen template in the page for The Star-Spangled Banner: https://en.wikipedia.org/w/api.php?action=query&prop=templates&tltemplates=Template:Listen&titles=The_Star-Spangled_Banner [09:37:13] But is there a way (without getting and parsing the full page content) of finding that the Listen template had "filename = MargaretWoodrowWilson-TheStarSpangledBanner.ogg" ? [09:41:48] bjackman: kind of... https://en.wikipedia.org/w/api.php?action=parse&format=json&page=The_Star-Spangled_Banner&prop=parsetree&formatversion=2 [09:42:13] you'll notice that it's XML embedded in JSON, because the parser uses an XML representation internally [09:42:57] bjackman: if you're using Python, I'd highly recommend grabbing the contents and parsing it with https://github.com/earwig/mwparserfromhell/ [09:44:09] legoktm, Ah OK got it. Yeah I was using mwparserfromhell on a database dump originally and was having some success, but now I've decided I want to do it in JS and get the data from the server instead of a local dump! [09:44:17] Thanks for the help [09:45:28] bjackman: you can probably use parsoid if you're using nodejs for more robust parsing [09:46:34] https://github.com/wikimedia/parsoid-jsapi [09:47:26] OK cheers, I wonder if that will work in the client.. [09:48:42] bjackman: ohh, don't use that client-side. Use the parsetree API :) [09:48:53] parsoid isn't designed to run client-side [09:49:06] legoktm, OK - when you see parsetree API do you mean the module of the WM REST API? [09:49:26] As in the prop=parsetree thing you showe dme [09:49:41] yes, the api.php URL I gave is called the "MediaWiki Action API" [09:50:21] the REST API is something different actually, that's https://en.wikipedia.org/api/rest_v1/ (but it doesn't do what you need I think) [09:50:54] Ah OK, I tend just use the phrase "REST API" for anything based on HTTP GET :P [09:51:41] hah :) [09:52:49] So, another question.. is there a way with the Action API to filter a generator or somehow get the intersection of two generators? [09:53:02] What I would like to do is find random pages containing Template:Listen [09:53:32] With generator=embeddedin&geititle=Template I can find pages containing Listens but they are always returned in the order they exist in the database [09:54:01] So my thinking was to somehow combine "random" with "embeddedin" ? [09:54:22] * generator=embeddedin&geititle=Template:Listen [09:58:05] no, that's not really possible [09:59:20] legoktm, OK so probably my best bet is to hit the random generator then filter out entries without Listens in my client code? [09:59:22] it would probably be easier to grab the full list (or enough of it) of things that transclude template:listen and then randomly sort it [10:00:09] Oh yeah or that. Although IIRC from when I was using a local dump there is a Listen in something like 1% of Wikipedia's pages so probably gona be a pretty big list :P [10:00:59] https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name=Listen says there are 11,217 pages that use Template:listen [10:01:11] Oh that isn't so much [10:59:47] does https://en.wikipedia.org/wiki/User:Evad37/rater.js have any keyboard shortcuts? i am not sure what word to search for in the file [11:13:35] at english wikipedia, what extension was added recently to make it easier to browse articles belonging to a particular wikiproject as a table? [11:14:06] at english wikipedia, how do I programmatically check whether a given string (such as 'Law') is a valid name of an associated WikiProject? [11:24:52] Sveta: CollaborationKit maybe? [12:21:33] Sveta was looking for https://en.wikipedia.org/wiki/Special:PageAssessments [12:21:40] tgr: CollabKit hasn't been deployed yet :/ [14:01:06] ⁄!⧵ ΑΤTⲚ: Тhis chaᥒᥒel hɑѕ moveԁ to irс.freenоde.nеt #/јoiᥒ ⧸︕\ [19:12:24] Can we test API upload functionality here - https://commons.wikimedia.beta.wmflabs.org/wiki/Main_Page? [19:13:07] https://test.wikipedia.org/wiki/Main_Page is probably a better place [19:13:49] I want to test file upload using api. I think test.wikipedia and commons have similar process. Am I right? [19:14:25] From an API perspective, yes [19:14:38] Thanks [19:37:43] response: Uploads by URL are not allowed from this domain. Which domains are allowed? [19:44:25] gyan file a phab ticket to add new domains [19:45:45] ok [19:53:30] bawolff: hey [19:53:55] was flipping through my chans and saw you active here [19:53:58] Hi [19:54:39] yep. I idle in a bunch of places [19:55:10] how many wikimedia channels *are* there in total? [19:55:31] #wikimedia-dev is not on my autojoin list for my cell phone [19:55:36] only desktop [19:55:46] oh. was wondering. [19:56:15] i only really use it during gci [19:57:04] @bawolf https://phabricator.wikimedia.org/T210330 [19:57:17] shreyasminocha, the total is private [19:57:31] you'd have to be a freenode server operator to find it [19:57:48] most public ones are listed at https://meta.wikimedia.org/wiki/IRC/Channels [19:58:05] ah [19:58:22] why's it private though Krenair? [20:01:09] shreyasminocha, not all channels existence is public [20:01:20] you can't count a channel unless you know it exists [20:02:00] i see