[03:09:23] Reminder that WikiConference NA submissions are due tomorrow: https://wikiconference.org/wiki/2018/Submissions [12:28:41] Anyone here good with files? [12:28:49] There's a PDF that isn't thumbnaling [12:29:06] https://en.wikisource.org/wiki/File:Patients_in_mental_institutions_1948.pdf [12:29:35] ShakespeareFan00, see the reply I gave to you already: ShakespeareFan00: https://mediawiki.org/wiki/How_to_report_a_bug ; opening the image thumbnail itself shows an HTTP 500 Error [12:38:55] andre__: Thanks [12:39:14] Clicking the PDF itself loads [12:39:58] When I use "View image" I get - "Request from 88.97.96.89 via cp1082 cp1082, Varnish XID 121644879 [12:39:58] Error: 429, Too Many Requests at Wed, 15 Aug 2018 12:39:39 GMT" [12:40:06] Not 500 [12:40:08] but a 429 [14:00:10] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @Tonina_WMDE & @amir1 - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:50:37] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @Tonina_WMDE & @amir1 - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:01:32] Hello and welcome to today's Technical advice IRC meeting. Tonina_WMDE and I are your host today [15:21:09] hello Amir1 ;) [15:22:03] i got one question for this week : in the Graphical Chart of Wikimedia, it is writtent that a page has "rounded corners" https://design.wikimedia.org/style-guide/visual-style.html [15:22:36] do you know how many en (or px) should be this corner ? [15:25:36] Niridya: Hye, let me check [15:25:46] :) [15:26:03] it looks like they use 2px for the design of this page :) [15:26:10] Niridya: It's mentioned in details at M101 [15:26:11] M101: WikimediaUI - https://phabricator.wikimedia.org/M101 [15:26:19] https://phabricator.wikimedia.org/M101 [15:27:54] Let me check the code base for Wikimedia UI [15:35:08] Niridya: so, each theme has different border-radius value [15:35:29] for apex theme (the monobook skin basically) is 3px [15:36:04] thank you Amir1 ;) [15:36:13] The main one though is 1px [15:41:04] Hi Amir1, I want to update the stats of this page using pywikibot. https://ne.wikipedia.org/s/1jo9 "User:Tulsibot" is my bot account. Is there any pywikibot core script available to update the stats of this linked page? [15:41:23] Amir1 where have you saw this data about different theme ? (because i don't see anything in the task) [15:42:36] Tulsi: hey, I don't know what is the content of the table is, can you explain? [15:43:00] Niridya: it's in oojs-ui, there's a variable called "border-radius-base" [15:43:26] I found it for apex, for wikimediaui (the main theme) it's hard to find, let me dig deeper [15:43:54] Amir1 i let you dig :) [15:44:02] Amir1: Users & their edit counts at ne.wiki [15:44:03] :D [15:44:54] Tulsi: pywikibot scripts can be found here: https://github.com/wikimedia/pywikibot/tree/master/scripts [15:45:22] I was contributing to the project a while back and I don't know any script that does this job that you want [15:45:36] you probably need to write it from scratch which is not that hard [15:46:13] searching for the word user in the README doesn't show up anything [15:48:25] Thanks for the info Amir1 ! :) [15:49:11] Niridya: found it https://github.com/wikimedia/mediawiki/blob/660db797751fd33c08eeae11f94e55000b078db1/resources/lib/oojs-ui/wikimedia-ui-base.less [15:49:13] 2px [15:49:49] Tulsi: you're welcome. This help page might get you going [15:49:49] https://www.mediawiki.org/wiki/Manual:Pywikibot/Create_your_own_script [15:50:02] you can send me an email if you any questions along the way [15:55:51] Alright ! Ok. Thnx [15:56:48] One more question, Is something wrong with the phabricator? Why the Images are broken? [15:57:37] One more question, Is something wrong with the phabricator? Why the Images are broken? [15:58:40] Tulsi: It works for me, Can you point out to a link? [16:00:00] See the ss, images are broken. https://usercontent.irccloud-cdn.com/file/5tLjg4AE/Screenshot_20180815-214414.png [16:00:18] WP Zero? [16:00:48] Nope [16:01:13] Zero service isn't available anymore in Nepal. [16:01:32] check the browser control? [16:02:05] Even it shows on desktop using Mozilla Firefox. [16:02:23] *console [16:02:33] You'll have to try opening the images seperately in another tab to see if they load/error [16:04:44] I tried opening the images but it shows like broken images as same in the ss. [16:06:16] Amir1: thanks [16:06:31] https://gerrit.wikimedia.org/r/#/c/363264/ [16:06:41] I'm wondering if you're still being flagged as WP0 incorrectly [16:08:27] Tulsi: Might be worth filing as task, telling us what provider etc you're on [16:09:14] Okay. I will fill a task soon. [16:09:17] https://phabricator.wikimedia.org/T173537#3886490 [16:09:22] "Phab file uploads are blocked for inactive Zero IP ranges" [16:10:49] https://en.wikipedia.org/wiki/Ncell [16:12:14] A few weeks ago, everything was ok. Nothing wrong like this. [16:20:15] Tulsi: I suggest you to make a security phabricator ticket and put your IP in it and ping traffic team [16:20:32] Looks very muhc like a zero issue [16:20:42] indeed [16:21:41] Okay. Let me fill a task ! [16:46:36] What will be the Title for the task? Amir1, Reedy ! [17:12:17] @Reedy & @Amir1 https://phabricator.wikimedia.org/T202015 [18:13:14] Tulsi|Away: Amir1 Ncell hasn't been WP0 since March 2017 [18:13:14] :/ [18:13:21] https://thewire.in/business/nepals-ncell-shuts-access-wikipedia-zero [22:00:19] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @leszek_wmde & @jakob_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [22:38:13] Someone should fix wm-bot here and wm-bot4 in #wikimedia-bots, the Tech meeting at 23 h UTC is just once a month [22:39:28] what's wrong with it? [22:40:01] Unless I'm not up to date, there's no meeting today [22:40:41] (There was at 15 h UTC, but not in 20 minutes) [22:41:17] I think it's known scheduling issue [22:50:09] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @leszek_wmde & @jakob_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [23:05:39] Has “jsonfm” been removed from MW? See this query: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=jsonfm&prop=revisions&titles=Main%20Page&rvprop=content, I’ve tried this and looking at the sandbox on Wikipedia, I don’t see the “jsonfm” parameter again. [23:05:55] Can't seem to find this supported in at least WP [23:06:27] jakob_WMDE: ^ [23:20:40] https://en.wikipedia.org/w/api.php?action=query&format=jsonfm&prop=revisions&titles=Main%20Page&rvprop=content [23:20:42] Works fine [23:21:38] Looks like the api sandbox pretty prints it anyway [23:21:50] because you kinda need it to be human readable [23:22:44] Hmmm.... when I submit the request via the sandbox, it says some fields are invalid [23:22:56] Which is the format field [23:23:31] Even the format field in the sandbox dropdown doesn't have the jsonfm format [23:23:39] So does the sandbox consider this as invalid? [23:27:26] // This is something of a hack. We always want the 'format' and [23:27:26] // 'action' parameters from the main module to be specified, [23:27:26] // and for 'format' we also want to simplify the dropdown since [23:27:26] // we always send the 'fm' variant. [23:28:02] d3r1ck: Looks normal [23:28:15] Reedy: Hmmm.. thanks :) [23:29:37] Reedy: Then something needs to be updated :) [23:30:08] If you look just below the format dropdown, you'll see a [show/hide] option and listed is the various format [23:30:24] One may be tempted to think that jsonfm is among in the dropdown but it's not :) [23:30:40] So how then does one use the sandbox for this purpose (maybe to view jsonfm) responses? [23:31:27] But hey, I understand the comment :)