/** * Adds stable version tags to page when viewing history */ public function addToHistView() { $this->load(); # Add a notice if there are pending edits... $srev = $this->article->getStableRev(); if ($srev && $this->article->revsArePending()) { $revsSince = $this->article->getPendingRevCount(); $tag = "<div id='mw-fr-revisiontag-edit' class='flaggedrevs_notice plainlinks'>" . FlaggedRevsXML::lockStatusIcon($this->article) . FlaggedRevsXML::pendingEditNotice($this->article, $srev, $revsSince) . "</div>"; $this->out->addHTML($tag); } return true; }