r84103 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84102‎ | r84103 | r84104 >
Date:13:21, 16 March 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small fix
Modified paths:
  • /branches/SemanticMaps0.8/includes/forminputs/SM_FormInput.php (modified) (history)

Diff [purge]

Index: branches/SemanticMaps0.8/includes/forminputs/SM_FormInput.php
@@ -102,7 +102,7 @@
103103 }
104104 }
105105
106 - $parameters['locations'] = '1,1;42,42';//$coordinates;
 106+ $parameters['locations'] = $coordinates;
107107
108108 $validator = new Validator( wfMsg( 'maps_' . $this->service->getName() ), false );
109109 $validator->setParameters( $parameters, $this->getParameterInfo() );
@@ -122,7 +122,7 @@
123123
124124 $this->service->addResourceModules( $this->getResourceModules() );
125125
126 - if ( $wgTitle->isSpecialPage() ) {
 126+ if ( true /* !is_null( $wgTitle ) && $wgTitle->isSpecialPage() */ ) { // TODO
127127 global $wgOut;
128128 $this->service->addDependencies( $wgOut );
129129 }

Status & tagging log