[Wikitech-l] API attribute ID for querying wikipedia pages

2014-04-23 Thread Daan Kuijsten
Currently we are experiencing problems when we try to query wikipedia. Fetching content via the Wikipedia API can be a lot easier in our opinion. The problem we have is that it is possible to fetch content via the property rvsection, which will accept a value (number) which represents the

Re: [Wikitech-l] Programmatically making an empty edit?

2014-04-23 Thread Liangent
refreshLinks.php[1] can fix that. [1] https://www.mediawiki.org/wiki/Manual:RefreshLinks.php On Tue, Apr 22, 2014 at 12:36 AM, Daniel Barrett d...@vistaprint.comwrote: I'm the original poster -- here is my real-world use case where a null edit is required. My wiki has a custom parser tag,

Re: [Wikitech-l] Missing $wgUseVFormUserLogin ??

2014-04-23 Thread Petr Kadlec
Hi, On Wed, Apr 23, 2014 at 5:05 AM, Daniel Renfro dren...@vistaprint.comwrote: Whilst upgrading to 1.22.5 from 1.21.8 I came across $wgUseVFormUserLogin [1]. Form what I can tell this global directive is completely missing from core. The docs on mw.org say it's in 1.22+, but I can't find any

Re: [Wikitech-l] New wikibugs bot

2014-04-23 Thread Antoine Musso
Le 22/04/2014 22:45, Merlijn van Deen a écrit : Hello all, As the original wikibugs bot did not come back online today, the tasks of wikibugs have now fully been taken over by a python re-implementation of the same bot, running on Tool Labs. snip Source code is available at

Re: [Wikitech-l] Callback for mw.toolbar.addButton() executes on edit view load instead of on click

2014-04-23 Thread Krinkle
On 22 Apr 2014, at 02:37, Lego KTM legoktm.wikipe...@gmail.com wrote: On Mon, Apr 21, 2014 at 4:09 PM, Justin Folvarcik jfolvar...@gmail.com wrote: function removeDuplicateLinks(){ .. } if (wgAction == 'edit'){ mw.toolbar.addButton( { imageFile: '

Re: [Wikitech-l] New wikibugs bot

2014-04-23 Thread Bartosz Dziewoński
Yay! -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Callback for mw.toolbar.addButton() executes on edit view load instead of on click

2014-04-23 Thread Justin Folvarcik
Am I correct in assuming that adding a check for mw.toolbar will help prevent the code from causing errors when in an edit view without a toolbar? On Wed, Apr 23, 2014 at 7:14 AM, Krinkle krinklem...@gmail.com wrote: On 22 Apr 2014, at 02:37, Lego KTM legoktm.wikipe...@gmail.com wrote: On

Re: [Wikitech-l] API attribute ID for querying wikipedia pages

2014-04-23 Thread Brad Jorsch (Anomie)
On Wed, Apr 23, 2014 at 3:48 AM, Daan Kuijsten daankuijs...@gmail.comwrote: A better way for fetching content via an API is to assign a unique ID to a section, a paragraph, a table, an image etc. This way we could simply fetch a part of the content of wikipedia via this ID. That doesn't

Re: [Wikitech-l] API attribute ID for querying wikipedia pages

2014-04-23 Thread Bartosz Dziewoński
On Wed, 23 Apr 2014 09:48:17 +0200, Daan Kuijsten daankuijs...@gmail.com wrote: A better way for fetching content via an API is to assign a unique ID to a section, a paragraph, a table, an image etc. This way we could simply fetch a part of the content of wikipedia via this ID. Such ids

Re: [Wikitech-l] VisualEditor template editing interface

2014-04-23 Thread Yury Katkov
Thanks Trevor! When will such 'recommended fields' be available to use? - Yury Katkov On Tue, Apr 22, 2014 at 7:51 PM, Trevor Parscal tpars...@wikimedia.org wrote: We are introducing recommended fields which will be automatically added when the template is added. We already support

Re: [Wikitech-l] Programmatically making an empty edit?

2014-04-23 Thread Daniel Barrett
On Tue, Apr 22, 2014 at 12:36 AM, Daniel Barrett d...@vistaprint.comwrote: We modified the code for foobar to add a feature: autocategorizing. [Now] if you visit an article Blat that previously contained foobar, you will see it is properly categorized at the bottom. However, if you visit the

[Wikitech-l] Request for feedback on IEG Proposal for 'Wikitrack'

2014-04-23 Thread Hari Prasad Nadig
'Wikitrack' started out from an idea that I had about tracking edits on Wikipedia from mobile. I always felt that there's more to tracking edits and their quality on Wikipedia. For one, we could zero-in on better contributors than just going by the edit counts. And doing that for mobile could be

Re: [Wikitech-l] Programmatically making an empty edit?

2014-04-23 Thread Brian Wolff
On Apr 23, 2014 11:52 AM, Daniel Barrett d...@vistaprint.com wrote: On Tue, Apr 22, 2014 at 12:36 AM, Daniel Barrett d...@vistaprint.com wrote: We modified the code for foobar to add a feature: autocategorizing. [Now] if you visit an article Blat that previously contained foobar, you will

Re: [Wikitech-l] Request for feedback on IEG Proposal for 'Wikitrack'

2014-04-23 Thread Tomasz Finc
CC'ing mobile-l as i'm sure the'll be interested by this. --tomasz On Wed, Apr 23, 2014 at 7:52 AM, Hari Prasad Nadig hpna...@gmail.com wrote: 'Wikitrack' started out from an idea that I had about tracking edits on Wikipedia from mobile. I always felt that there's more to tracking edits and

[Wikitech-l] [GSoC] Request to review the requirements for mass migration tools project

2014-04-23 Thread Pratik Lahoti
Hi all, I have been accepted into the Google Summer of Code 2014 and will be working on the Tools for mass migration of legacy translated wiki content project [1]. As per the project timeline, I have drafted the requirements [2] for this project after discussing with my mentors - Nikerabbit and

Re: [Wikitech-l] RfC review this week: Associated namespaces

2014-04-23 Thread Sumana Harihareswara
On 04/21/2014 01:55 PM, Sumana Harihareswara wrote: Micru's Associated namespaces RfC is up for discussion this week. https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2014-04-23 (We also have room for 1 more RfC to discuss.) Micru said about

Re: [Wikitech-l] TitleValue reloaded

2014-04-23 Thread Sumana Harihareswara
On 03/31/2014 06:14 PM, Sumana Harihareswara wrote: On 02/26/2014 12:23 PM, Daniel Kinzler wrote: I have just pushed a new version of the TitleValue patch to Gerrit: https://gerrit.wikimedia.org/r/106517. I have also updated the RDF to reflect the latest changes:

Re: [Wikitech-l] Callback for mw.toolbar.addButton() executes on edit view load instead of on click

2014-04-23 Thread Krinkle
Yes, it will ensure the code won't run if that particular toolbar isn't enabled. And it is also a safe guard for backwards compatibility (since the API used to have a different interface), and forwards compatibility (it might change). Usually you wouldn't need such guard and instead use a

Re: [Wikitech-l] Callback for mw.toolbar.addButton() executes on edit view load instead of on click

2014-04-23 Thread Justin Folvarcik
Good to know. Also, I must have read the wrong documentation when I went to use addButton. Not sure where I got that callback parameter from. So instead I just attached an event handler to the button on click, and now it does what I want. Thanks for clearing up the confusion, Krinkle! On Wed,

[Wikitech-l] Bugday on General MediaWiki bugs on Tue, April 29 2014, 14:30UTC

2014-04-23 Thread Andre Klapper
Hi, you are invited to join us on the next Bugday: Tuesday, April 29, 2014, 14:30 to 16:30UTC [1] in #wikimedia-office on Freenode IRC [2] We will be triaging Bugzilla tickets under the product MediaWiki and the component General/Unknown [3]. Everyone is welcome to join, and no technical