Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/174160

Change subject: Use Parser::OT_WIKI class const
......................................................................

Use Parser::OT_WIKI class const

Instead of the global const

Change-Id: Ie2e209e59ff10048da72f62a8f8b1a925528ec49
---
M SpecialGoogleMapsKML.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GoogleMaps 
refs/changes/60/174160/1

diff --git a/SpecialGoogleMapsKML.php b/SpecialGoogleMapsKML.php
index 135489c..4e3de79 100644
--- a/SpecialGoogleMapsKML.php
+++ b/SpecialGoogleMapsKML.php
@@ -34,10 +34,10 @@
                        $popts = ParserOptions::newFromUser( $wgUser );
                        $popts->setEditSection( false );
 
-                       $wgParser->startExternalParse( $this->getPageTitle(), 
$popts, OT_WIKI, true );
+                       $wgParser->startExternalParse( $this->getPageTitle(), 
$popts, Parser::OT_WIKI, true );
 
                        $localParser = new Parser();
-                       $localParser->startExternalParse( 
$this->getPageTitle(), $popts, OT_WIKI, true );
+                       $localParser->startExternalParse( 
$this->getPageTitle(), $popts, Parser::OT_WIKI, true );
 
                        if (preg_match_all("/<googlemap( 
.*?|)>(.*?)<\/googlemap>/s", $revision->getText(), $matches)) {
                                $exporter->addFileHeader();

-- 
To view, visit https://gerrit.wikimedia.org/r/174160
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie2e209e59ff10048da72f62a8f8b1a925528ec49
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GoogleMaps
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to