This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
forked from wikimedia/mediawiki-extensions-Math
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Github mirror of MediaWiki extension Math - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)
License
femiwiki/mediawiki-extensions-Math
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The version for MediaWiki 1.31+ has some changes since previous versions: By default the math rendering service from the Wikimedia Foundation located at https://wikimedia.org/api/rest_v1/ will be used for math rendering. Therefore php-curl is required. cf. https://www.mediawiki.org/wiki/Manual:CURL Consult https://www.mediawiki.org/wiki/Extension:Math for further information and advanced settings. Attributes of the <math /> element: attribute "display": possible values: "inline", "block" or "inline-displaystyle" (default) "display" reproduces the old texvc behavior: The equation is rendered with large height operands (texvc used $$ $tex $$ to render) but the equation printed to the current line of the output and not centered in a new line. In Wikipedia users use :<math>$tex</math> to move the math element closer to the center. "inline" renders the equation in with small height operands by adding {\textstyle $tex } to the users input ($tex). The equation is displayed in the current text line. "inline-displaystyle" renders the equation in with large height operands centered in a new line by adding {\displaystyle $tex } to the user input ($tex). For testing your installation run php tests/phpunit/phpunit.php extensions/Math/tests/ from your MediaWiki home path. == Logging == The math extension supports PSR-3 logging: Configuration can be dona via $wgDebugLogGroups['Math'] = [ 'level' => 'info', 'destination' => '/path/to/file.log' ];
About
Github mirror of MediaWiki extension Math - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 77.9%
- JavaScript 20.2%
- CSS 1.9%