Daniel Friesen wrote:
> 1.18 has a new feature now. From a special page you can call
> $skin->setRelatedTitle and $skin->setRelatedTitle. Calling
> setRelatedTitle will mark a title as relevant to the current page, doing
> so will cause some parts of the ui (namely the page tabs) to display
> things relevant to that page. Calling setRelatedUser likewise will cause
> some parts of the ui (namely the toolbox) to display things that they
> would display if you were on the user's userpage. These methods are
> currently used by Special:MovePage (title), Special:Undelete (title),
> Special:Contributions (user), and Special:BlockIp (user). If you have
> another special page you feel is relevant enough to use these methods
> feel free to tweak it's code.

If you remember to in the future, please include links to the specific code
revisions you're referring to. This helps people understand what you're
talking about and comment on the revisions as appropriate without having to
hunt.

I assume you're referring to these revisions:
* http://www.mediawiki.org/wiki/Special:Code/MediaWiki/79398
* http://www.mediawiki.org/wiki/Special:Code/MediaWiki/79399

It looks like a nice usability fix. :-)  (Now to get Special:MovePage turned
into ?action=move....)

MZMcBride



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

Reply via email to