Re: [Wikitech-l] Extension:Echo, writing the new Formatter

2014-12-04 Thread Yury Katkov
Thank you so much guys, now it's clear! - Yury Katkov On Wed, Dec 3, 2014 at 10:43 PM, Bartosz Dziewoński wrote: > On Wed, 03 Dec 2014 18:56:27 +0100, Erik Bernhardson < > ebernhard...@wikimedia.org> wrote: > > I'm not aware of any list anywhere that summarizes the possible query >> parame

Re: [Wikitech-l] Extension:Echo, writing the new Formatter

2014-12-03 Thread Bartosz Dziewoński
On Wed, 03 Dec 2014 18:56:27 +0100, Erik Bernhardson wrote: I'm not aware of any list anywhere that summarizes the possible query parameters mediawiki accepts for wikitext pages. There is https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php . It discussed the possible values of '

Re: [Wikitech-l] Extension:Echo, writing the new Formatter

2014-12-03 Thread Erik Bernhardson
Following the code through, we are starting with your call to EchoBasicFormatter::setTitleLink(). The third argument you are asking about is labeled props, and gets passed on to EchoBasicFormatter::buildLinkParams(). This is the function that deals with the contents of that argument. From rea

[Wikitech-l] Extension:Echo, writing the new Formatter

2014-12-03 Thread Yury Katkov
Hi everyone! I'm trying to write my notification for Echo and I'm a bit stuck coding the formatter. The standard way to write a formatter seems to override the processParam function (like in Thanks extension). There is a lot of magic in the code below, I can't figure out how the processParam funct