summaryrefslogtreecommitdiff
path: root/includes/Math.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Math.php')
-rw-r--r--includes/Math.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Math.php b/includes/Math.php
index f9d6a605..a8b33984 100644
--- a/includes/Math.php
+++ b/includes/Math.php
@@ -259,7 +259,7 @@ class MathRenderer {
return $path;
}
- function renderMath( $tex ) {
+ public static function renderMath( $tex ) {
global $wgUser;
$math = new MathRenderer( $tex );
$math->setOutputMode( $wgUser->getOption('math'));