Umherirrender has uploaded a new change for review.

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

Change subject: Fix case of Html class
......................................................................

Fix case of Html class

Gives fatal in strict mode

Change-Id: I00069b8b875c5f6c768835a8e072e9eed2541314
---
M MathMathML.php
M MathRenderer.php
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/66/269166/1

diff --git a/MathMathML.php b/MathMathML.php
index 515925e..46de4ce 100644
--- a/MathMathML.php
+++ b/MathMathML.php
@@ -434,7 +434,7 @@
                if ( $this->getID() !== '' ) {
                        $attribs['id'] = $this->getID();
                }
-               $output = HTML::openElement( $element, $attribs );
+               $output = Html::openElement( $element, $attribs );
                // MathML has to be wrapped into a div or span in order to be 
able to hide it.
                // Remove displayStyle attributes set by the MathML converter
                // (Beginning from Mathoid 0.2.5 block is the default layout.)
@@ -448,7 +448,7 @@
                        'class' => $this->getClassName(), 'style' => 'display: 
none;'
                ), $mml );
                $output .= $this->getFallbackImage();
-               $output .= HTML::closeElement( $element );
+               $output .= Html::closeElement( $element );
                return $output;
        }
 
diff --git a/MathRenderer.php b/MathRenderer.php
index e61a5b3..5eadf59 100644
--- a/MathRenderer.php
+++ b/MathRenderer.php
@@ -506,6 +506,7 @@
         * @return boolean
         */
        function isPurge() {
+               wfDebug( __METHOD__ );
                if ( $this->purge ) {
                        return true;
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00069b8b875c5f6c768835a8e072e9eed2541314
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

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

Reply via email to