Re: [Wikitech-l] +2 request for yurik in mediawiki and maps-dev

2017-01-24 Thread Subramanya Sastry

On 01/25/2017 10:04 AM, Brian Wolff wrote:

On Tuesday, January 24, 2017, Legoktm  wrote:

Hi,

After speaking with Yurik, I've filed
 on his behalf to restore his
membership in the mediawiki and maps-dev groups.

I would appreciate guidance in whether these rights can be summarily
granted since he used to have them, or if it needs to go through the
full process.

-- Legoktm

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

I support doing this automatically in any similar situation in the future.

--
brian


+1.

Subbu.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] +2 request for yurik in mediawiki and maps-dev

2017-01-24 Thread Brian Wolff
On Tuesday, January 24, 2017, Legoktm  wrote:
> Hi,
>
> After speaking with Yurik, I've filed
>  on his behalf to restore his
> membership in the mediawiki and maps-dev groups.
>
> I would appreciate guidance in whether these rights can be summarily
> granted since he used to have them, or if it needs to go through the
> full process.
>
> -- Legoktm
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

I support doing this automatically in any similar situation in the future.

--
brian
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Monthly page view stats that can now be queried via Pageview API.

2017-01-24 Thread Nuria Ruiz
Hello!

The Analytics team would like to announce that the Pageview API is able to
return monthly pageview stats as of this week.


For example, the request below will get you a monthly count of pageviews
for de.wikipedia's article Barack_Obama for the year 2016 (note 'monthly'
parameter on url)

http://wikimedia.org/api/rest_v1/metrics/pageviews/per-article/de.wikipedia/all-access/all-agents/Barack_Obama/
*monthly*/2016010100/2016123100


More documentation and examples can be found on our quickstart guide:
https://wikitech.wikimedia.org/wiki/Analytics/PageviewAPI#Quick_Start

Thanks,

Nuria
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] +2 request for yurik in mediawiki and maps-dev

2017-01-24 Thread Chad
If he had them before, he should retain them. I've granted both.

-Chad

On Tue, Jan 24, 2017 at 7:45 PM Legoktm  wrote:

> Hi,
>
> After speaking with Yurik, I've filed
>  on his behalf to restore his
> membership in the mediawiki and maps-dev groups.
>
> I would appreciate guidance in whether these rights can be summarily
> granted since he used to have them, or if it needs to go through the
> full process.
>
> -- Legoktm
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] +2 request for yurik in mediawiki and maps-dev

2017-01-24 Thread Yuri Astrakhan
Thanks Legoktm!

For the reference, I was granted these rights as a volunteer, before
joining WMF: https://lists.gt.net/wiki/wikitech/335950

On Tue, Jan 24, 2017 at 10:44 PM, Legoktm 
wrote:

> Hi,
>
> After speaking with Yurik, I've filed
>  on his behalf to restore his
> membership in the mediawiki and maps-dev groups.
>
> I would appreciate guidance in whether these rights can be summarily
> granted since he used to have them, or if it needs to go through the
> full process.
>
> -- Legoktm
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] +2 request for yurik in mediawiki and maps-dev

2017-01-24 Thread Legoktm
Hi,

After speaking with Yurik, I've filed
 on his behalf to restore his
membership in the mediawiki and maps-dev groups.

I would appreciate guidance in whether these rights can be summarily
granted since he used to have them, or if it needs to go through the
full process.

-- Legoktm

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to clear backlinks cache?

2017-01-24 Thread Legoktm
Hi,

On 01/24/2017 02:34 PM, Victor Porton wrote:
> It seems that the problem is that ParserAfterTidy is not called for old
> pages (pages existed before I installed my extension which adds
> additional links in HtmlPageLinkRendererEnd hook).

You can run the refreshLinks.php maintenance script to force the pages
to be re-parsed.

-- Legoktm

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] IRC meeting today (Wednesday) about "RFC: Accessing page properties from wiki pages"

2017-01-24 Thread MZMcBride
Hi.

I filed a request for comments (RFC) regarding accessing page properties
from wiki pages.

* Maniphest task: https://phabricator.wikimedia.org/T154738
* Wiki page: https://www.mediawiki.org/wiki/?curid=647378

There is an IRC meeting scheduled to discuss this RFC on Wednesday,
January 25, 2017 at 22:00 UTC (2 p.m. PST, 5 p.m. EST, 11 p.m. CET) in
#wikimedia-office on chat.freenode.net. All are welcome!

MZMcBride



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Handling support libraries that depend on php 5.6 via composer

2017-01-24 Thread Erik Bernhardson
On Mon, Jan 23, 2017 at 3:19 PM, Gergo Tisza  wrote:

> On Mon, Jan 23, 2017 at 12:29 PM, Erik Bernhardson <
> ebernhard...@wikimedia.org> wrote:
>
> > * Fork the library, publish it under wikimedia/elastica, and change the
> > minimum version to 5.5.x This is a bit of a pain, but accomplishes the
> goal
> >
>
> You could also fork the package definition (ie. use a hand-maintained
> package file instead of packagist, but still refer to the upstream elastica
> repo in that file), that's less effort to maintain. OTOH unless they have a
> policy of keeping B/C with PHP 5.5, you'll probably have to fork the code
> sooner or later anyway.
>

That does sound a little easier, although if i'm going to bite the bullet
might as well go all the way. I'll be creating this repo tomorrow and
getting everything put together. Should be relatively easy i think,
although it means we're on the hook for pushing future changes and making
sure they are 5.5 compatible.

It seems i could create the repo as either of these:
* mediawiki/vendor/elastica?
* mediawiki/extensions/Elastica/elastica

Will probably do the first, unless someone has a good reason not to.

___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to clear backlinks cache?

2017-01-24 Thread Victor Porton
On Wed, 2017-01-25 at 00:31 +0200, Victor Porton wrote:
> On Tue, 2017-01-24 at 22:21 +, bawolff wrote:
> > This probably indicates that the links aren't being appropriately
> > added via $parserOutput->addLink().
> 
> There is proper $parserOutput->addLink() in my extension
> ParserAfterTidy hook.

It seems that the problem is that ParserAfterTidy is not called for old
pages (pages existed before I installed my extension which adds
additional links in HtmlPageLinkRendererEnd hook).

> > Check that Special:Whatlinkshere for the red links is correct.
> 
> My "arrow" links do not show in Special:Whatlinkshere.
> 
> What should I do for them to appear in Special:Whatlinkshere?
> 
> > --
> > Brian
> > 
> > On Tue, Jan 24, 2017 at 7:40 PM, Victor Porton 
> > wrote:
> > > The red/blue status of links with "arrows" produced by my
> > > NamespacePopups extension is not updated on my site after I
> > > create
> > > a
> > > new page to which the arrow link points (and so it should change
> > > from
> > > red to blue).
> > > 
> > > Example of my page with arrows:
> > > https://withoutvowels.org/wiki/Tanakh:Genesis_1:7
> > > 
> > > I think this is because of the backlinks cache.
> > > 
> > > I have 23253 pages in the namespace Tanakh:. Cache of links from
> > > every
> > > of them should be updated. (It seems that currently the cache
> > > contains
> > > only old regular links not my new "arrow" links.)
> > > 
> > > Please help me to update all these pages. The thing I really need
> > > is to
> > > re-process every of these pages with ParserAfterTidy hook. (My
> > > hook
> > > adds the arrow keys to backlinks cache.)
> > > 
> > > My current workaround is to run maintenance/update.php
> > > periodically.
> > > This updates the red links to blue as appropriate, but this does
> > > not
> > > help to make blue links after future edits.
> > > 
> > > Note that I run maintenance/runJobs.php every minute. The
> > > software
> > > works correctly with these pages which I recently edited, but not
> > > with
> > > constant non-editable pages in Tanakh: namespace.
> > > 
> > > Note that it all works well if I edit the page with my links. But
> > > I
> > > cannot edit all pages in Tanakh: namespace both because they are
> > > a
> > > multitude and because they are non-editable.
> > > 
> > > ___
> > > Wikitech-l mailing list
> > > Wikitech-l@lists.wikimedia.org
> > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> > 
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> 
> 
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to clear backlinks cache?

2017-01-24 Thread Victor Porton
On Tue, 2017-01-24 at 22:21 +, bawolff wrote:
> This probably indicates that the links aren't being appropriately
> added via $parserOutput->addLink().

There is proper $parserOutput->addLink() in my extension
ParserAfterTidy hook.

> Check that Special:Whatlinkshere for the red links is correct.

My "arrow" links do not show in Special:Whatlinkshere.

What should I do for them to appear in Special:Whatlinkshere?

> --
> Brian
> 
> On Tue, Jan 24, 2017 at 7:40 PM, Victor Porton 
> wrote:
> > The red/blue status of links with "arrows" produced by my
> > NamespacePopups extension is not updated on my site after I create
> > a
> > new page to which the arrow link points (and so it should change
> > from
> > red to blue).
> > 
> > Example of my page with arrows:
> > https://withoutvowels.org/wiki/Tanakh:Genesis_1:7
> > 
> > I think this is because of the backlinks cache.
> > 
> > I have 23253 pages in the namespace Tanakh:. Cache of links from
> > every
> > of them should be updated. (It seems that currently the cache
> > contains
> > only old regular links not my new "arrow" links.)
> > 
> > Please help me to update all these pages. The thing I really need
> > is to
> > re-process every of these pages with ParserAfterTidy hook. (My hook
> > adds the arrow keys to backlinks cache.)
> > 
> > My current workaround is to run maintenance/update.php
> > periodically.
> > This updates the red links to blue as appropriate, but this does
> > not
> > help to make blue links after future edits.
> > 
> > Note that I run maintenance/runJobs.php every minute. The software
> > works correctly with these pages which I recently edited, but not
> > with
> > constant non-editable pages in Tanakh: namespace.
> > 
> > Note that it all works well if I edit the page with my links. But I
> > cannot edit all pages in Tanakh: namespace both because they are a
> > multitude and because they are non-editable.
> > 
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> 
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to clear backlinks cache?

2017-01-24 Thread bawolff
This probably indicates that the links aren't being appropriately
added via $parserOutput->addLink().

Check that Special:Whatlinkshere for the red links is correct.

--
Brian

On Tue, Jan 24, 2017 at 7:40 PM, Victor Porton  wrote:
> The red/blue status of links with "arrows" produced by my
> NamespacePopups extension is not updated on my site after I create a
> new page to which the arrow link points (and so it should change from
> red to blue).
>
> Example of my page with arrows:
> https://withoutvowels.org/wiki/Tanakh:Genesis_1:7
>
> I think this is because of the backlinks cache.
>
> I have 23253 pages in the namespace Tanakh:. Cache of links from every
> of them should be updated. (It seems that currently the cache contains
> only old regular links not my new "arrow" links.)
>
> Please help me to update all these pages. The thing I really need is to
> re-process every of these pages with ParserAfterTidy hook. (My hook
> adds the arrow keys to backlinks cache.)
>
> My current workaround is to run maintenance/update.php periodically.
> This updates the red links to blue as appropriate, but this does not
> help to make blue links after future edits.
>
> Note that I run maintenance/runJobs.php every minute. The software
> works correctly with these pages which I recently edited, but not with
> constant non-editable pages in Tanakh: namespace.
>
> Note that it all works well if I edit the page with my links. But I
> cannot edit all pages in Tanakh: namespace both because they are a
> multitude and because they are non-editable.
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] How to clear backlinks cache?

2017-01-24 Thread Victor Porton
The red/blue status of links with "arrows" produced by my
NamespacePopups extension is not updated on my site after I create a
new page to which the arrow link points (and so it should change from
red to blue).

Example of my page with arrows:
https://withoutvowels.org/wiki/Tanakh:Genesis_1:7

I think this is because of the backlinks cache.

I have 23253 pages in the namespace Tanakh:. Cache of links from every
of them should be updated. (It seems that currently the cache contains
only old regular links not my new "arrow" links.)

Please help me to update all these pages. The thing I really need is to
re-process every of these pages with ParserAfterTidy hook. (My hook
adds the arrow keys to backlinks cache.)

My current workaround is to run maintenance/update.php periodically.
This updates the red links to blue as appropriate, but this does not
help to make blue links after future edits.

Note that I run maintenance/runJobs.php every minute. The software
works correctly with these pages which I recently edited, but not with
constant non-editable pages in Tanakh: namespace.

Note that it all works well if I edit the page with my links. But I
cannot edit all pages in Tanakh: namespace both because they are a
multitude and because they are non-editable.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Code of Conduct "‎Creation and renewal of the Committee" text

2017-01-24 Thread Matthew Flaschen
Please participate in the discussion about the "‎Creation and renewal of 
the Committee" section.  This is not to approve it yet, just a discussion:


https://www.mediawiki.org/wiki/Talk:Code_of_Conduct/Draft#.22Creation_and_renewal_of_the_Committee.22_section

Most of this text has been around for a while, but I made a few changes 
to the draft last week, so I wanted to give people an opportunity to 
comment, suggest changes, etc.


I'll give it a few more days, then start the formal approval discussion.

Thanks,

Matt Flaschen

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l