r106728 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106727‎ | r106728 | r106729 >
Date:23:48, 19 December 2011
Author:reedy
Status:ok
Tags:
Comment:
Actually use defined variables
Modified paths:
  • /trunk/extensions/MobileFrontend/ApplicationWmlTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/ApplicationWmlTemplate.php
@@ -19,10 +19,10 @@
2020 <wml xml:lang="{$code}" dir="{$dir}">
2121 <template>
2222 <do name="home" type="options" label="{$this->data['homeButton']}" >
23 - <go href="{$this->data['mainPageUrl']}"/>
 23+ <go href="{$mainPageUrl}"/>
2424 </do>
2525 <do name="random" type="options" label="{$this->data['randomButton']}">
26 - <go href="{$this->data['randomPageUrl']}"/>
 26+ <go href="{$randomPageUrl}"/>
2727 </do>
2828 </template>
2929 {$this->data['contentHtml']}

Status & tagging log