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