reuploading.
* Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
rate limits.
+* (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
+ the parser so extensions are free to implement their own <math> tag
=== Bug fixes in 1.16 ===
$output = Xml::escapeTagsOnly( $content );
break;
case 'math':
- $output = $wgContLang->armourMath(
- MathRenderer::renderMath( $content, $attributes ) );
+ if ( $this->mOptions->getUseTeX() ) {
+ $output = $wgContLang->armourMath(
+ MathRenderer::renderMath( $content, $attributes ) );
+ }
+ /* else let a tag hook handle it (bug 21222) */
break;
case 'gallery':
$output = $this->renderImageGallery( $content, $attributes );