r114596 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114595‎ | r114596 | r114597 >
Date:08:56, 29 March 2012
Author:netbrain
Status:new
Tags:
Comment:
somehow dotted notation has returned! re-replaced dotts for dashes in i18n.
Modified paths:
  • /trunk/extensions/SideBarMenu/SideBarMenu.hooks.php (modified) (history)
  • /trunk/extensions/SideBarMenu/includes/MenuParser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SideBarMenu/SideBarMenu.hooks.php
@@ -21,7 +21,7 @@
2222 $output .= $parser->recursiveTagParse($menuParser->getMenuTree($input)->toHTML(),$frame);
2323 }catch(Exception $x){
2424 wfDebug("An error occured during parsing of: '$input' caught exception: $x");
25 - return wfMsg('sidebarmenu-parser.input-error',$x->getMessage());
 25+ return wfMsg('sidebarmenu-parser-input-error',$x->getMessage());
2626 }
2727 if($config[SBM_EDIT_LINK]){
2828 $output .= Linker::link($frame->getTitle(),wfMsg('sidebarmenu-edit'),array('title' => wfMsg('sidebarmenu-edit')),array('action' => 'edit'));
Index: trunk/extensions/SideBarMenu/includes/MenuParser.php
@@ -81,7 +81,7 @@
8282 $levelArray[$level][] = $line;
8383 }else{
8484 //syntax error
85 - throw new InvalidArgumentException(wfMsg('sidebarmenu-parser.syntax-error',$line));
 85+ throw new InvalidArgumentException(wfMsg('sidebarmenu-parser-syntax-error',$line));
8686 }
8787 $prevLevel = $level;
8888 }