Manual talk:Hooks/CategoryPageView
Add topicAppearance
Latest comment: 8 years ago by Sergezolotukhin in topic How to call Article::view() from onCategoryPageView?
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
How to call Article::view() from onCategoryPageView?
[edit]Hello. It's now about wiki, but please help me ;P
I just want to redifine category look so I have to write something like this:
public static function onCategoryPageView( &$page ) {
$out = $page->getContext()->getOutput();
// write custom html;
return false;
}
But there I have to call Artice::view() in order to make all routines for page title etc. Something like $page->getParent()->view();
Any ideas? Sergezolotukhin (talk) 15:48, 10 October 2016 (UTC)