r110593 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110592‎ | r110593 | r110594 >
Date:16:43, 2 February 2012
Author:nad
Status:deferred
Tags:
Comment:
add "coming soon" message to star menu
Modified paths:
  • /trunk/extensions/TreeAndMenu/TreeAndMenu.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TreeAndMenu/TreeAndMenu.php
@@ -14,7 +14,7 @@
1515
1616 if( !defined( 'MEDIAWIKI' ) ) die( 'Not an entry point.' );
1717
18 -define( 'TREEANDMENU_VERSION','2.0.0, 2012-01-28' );
 18+define( 'TREEANDMENU_VERSION','2.0.1, 2012-01-28' );
1919
2020 // Set any unset images to default titles
2121 if( !isset( $wgTreeViewImages ) || !is_array( $wgTreeViewImages ) ) $wgTreeViewImages = array();
@@ -104,7 +104,7 @@
105105 * Expand #star parser-functions
106106 */
107107 public function expandStar( &$parser, $text ) {
108 - return "<div class=\"tam-star\">\n$text\n</div>";
 108+ return "Star menu coming soon!<br /><div class=\"tam-star\">\n$text\n</div>";
109109 }
110110
111111 /**

Status & tagging log