r21644 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21643‎ | r21644 | r21645 >
Date:00:42, 27 April 2007
Author:aaron
Status:old
Tags:
Comment:
*Add categories to special:stableversions
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.body.php
@@ -445,6 +445,8 @@
446446 $notes = $RevFlagging->ReviewNotes( $frev );
447447 // Set the new body HTML, place a tag on top
448448 $wgOut->addHTML('<div class="mw-warning plainlinks"><small>'.$tag.'</small></div>' . $parserOutput->getText() . $notes);
 449+ # Show stable categories and interwiki links only
 450+ $wgOut->addCategoryLinks( $parserOutput->getCategories() );
449451 }
450452
451453 function showStableList() {