[Wikitech-l] A trouble with Gerrit

2017-01-27 Thread Victor Porton
I have a trouble to add this change to my extension at Gerrit. Please help. https://gerrit.wikimedia.org/r/#/c/334687/ ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Creating a broken link

2017-01-25 Thread Victor Porton
y extension), but also make the link to the editor rather than to a regular page. I can write the HTML code myself, but wonder if MW API provides a better way to do it. > On 25/01/17 11:52, Victor Porton wrote: > > On Wed, 2017-01-25 at 13:45 +, John wrote: > > > Does the pag

Re: [Wikitech-l] Creating a broken link

2017-01-25 Thread Victor Porton
On Wed, 2017-01-25 at 13:45 +, John wrote: > Does the page exist already? No. The issue is to create a link to a page which does not exist. I can hard-code HTML link in my PHP script, but I wonder if there is a better way. > On Wed, Jan 25, 2017 at 8:23 AM Victor Porton <por...

[Wikitech-l] Creating a broken link

2017-01-25 Thread Victor Porton
How to create a broken ("edit", "red") link to a page? That is I want to generate a HTML code which displays a link, clicking which leads to the editor (for a page). The link should be red. What is the right way to do this? ___ Wikitech-l mailing list

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

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

2017-01-24 Thread Victor Porton
r 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 <por...@narod.ru> > wrote: > > The red/blue status of li

[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

Re: [Wikitech-l] New version of wikilabels

2017-01-08 Thread Victor Porton
I visited https://labels.wmflabs.org/ui/enwiki and pressed OK on accessing information on all wikis. After this I was redirected to https://labels.wmflabs.org/auth/cal id="-x-evo-selection-start- marker">lback/?oauth_verifier=XXX_token=YYY and saw an empty (entirely white) Web page. On Sun,

Re: [Wikitech-l] Help me to fix a bug in my extension

2017-01-06 Thread Victor Porton
On Sat, 2017-01-07 at 01:06 +0200, Victor Porton wrote: > Please help me to get my updates into Gerrit's master. > > I am confused how this works: > > https://gerrit.wikimedia.org/r/331086 > https://gerrit.wikimedia.org/r/331088 > > I will

Re: [Wikitech-l] Help me to fix a bug in my extension

2017-01-06 Thread Victor Porton
since MW will handle > LinksUpdate itself). > > Hope that helps > -- > Brian > > On Thu, Jan 5, 2017 at 11:48 PM, Victor Porton <por...@narod.ru> > wrote: > > My extension does add additional links (which it is created to > > render > > in addition to th

[Wikitech-l] Help me to fix a bug in my extension

2017-01-05 Thread Victor Porton
My extension does add additional links (which it is created to render in addition to the normal [[...]] links) to the pagelinks table for the edited page every even edit and erroneously removes them back every odd edit. Please help to debug this silly behavior:

[Wikitech-l] I want to write an extension, let us consult its syntax and API

2016-12-26 Thread Victor Porton
n A (on every page which links to namespace A). However, other users may want different API and syntax, for example: [[A:X|X]] Please discuss with me which APIs and syntaxes should be available. -- Victor Porton - http://portonvictor.org ___ Wikitech-l