function customizeSubtitle() { $msg = wfMsgExt('lqt_hist_view_whole_thread', 'parseinline'); $threadhist = $this->permalink($this->thread->topmostThread(), $msg, 'thread_history'); $this->output->setSubtitle(parent::getSubtitle() . '<br />' . $this->output->getSubtitle() . "<br />{$threadhist}"); return true; }
function customizeNavigation($skin, &$links) { parent::customizeNavigation($skin, $links); // Not present if thread does not exist if (isset($links['views']['history'])) { $links['views']['history']['class'] = 'selected'; $links['views']['view']['class'] = ''; } }
function customizeNavigation($skintemplate, &$links) { ThreadPermalinkView::customizeThreadNavigation($skintemplate, $links, $this); if (isset($links['actions']['protect'])) { $links['actions']['protect']['class'] = 'selected'; } if (isset($links['actions']['unprotect'])) { $links['actions']['unprotect']['class'] = 'selected'; } }
function postDivClass($thread) { $changedObject = $this->mDisplayRevision->getChangeObject(); $is_changed_thread = $changedObject && $changedObject->id() == $thread->id(); $class = parent::postDivClass($thread); if ($is_changed_thread) { return "{$class} lqt_post_changed_by_history"; } else { return $class; } }
function customizeNavigation($skin, &$links) { parent::customizeNavigation($skin, $links); $links['views']['history']['class'] = 'selected'; $links['views']['view']['class'] = ''; }