Physikerwelt has uploaded a new change for review.

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

Change subject: correct typo
......................................................................

correct typo

Change-Id: I86cd88dd4706dc83215aa86b8c67c26775e0aaa9
---
M MathQueryObject.php
M SpecialMathSearch.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MathSearch 
refs/changes/90/150090/1

diff --git a/MathQueryObject.php b/MathQueryObject.php
index d05b2bc..bca7283 100644
--- a/MathQueryObject.php
+++ b/MathQueryObject.php
@@ -237,7 +237,7 @@
        public function generatePresentationQueryString(){
                $renderer = new MathLaTeXML($this->getTexQuery());
                $renderer->setXMLValidaton(false);
-               //$renderer->setAllowedRootElments(array('query'));
+               //$renderer->setAllowedRootElements(array('query'));
                $renderer->setLaTeXMLSettings($this->pmmlSettings);
                if ($renderer->render(true) ) {
                        $this->pquery = $renderer->getMathml();
diff --git a/SpecialMathSearch.php b/SpecialMathSearch.php
index 7570b70..16ad314 100644
--- a/SpecialMathSearch.php
+++ b/SpecialMathSearch.php
@@ -313,7 +313,7 @@
        function render() {
                $renderer = new MathLaTeXML( $this->mathpattern );
                $renderer->setLaTeXMLSettings( 'profile=mwsquery' );
-               $renderer->setAllowedRootElments( array( 'query' ) );
+               $renderer->setAllowedRootElements( array( 'query' ) );
                $renderer->render( true );
                $this->mathmlquery = $renderer->getMathml();
                if ( strlen( $this->mathmlquery ) == 0 ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86cd88dd4706dc83215aa86b8c67c26775e0aaa9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MathSearch
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to