One of the parsertests had the option 'texvc', that is a nice idea to
let MediaWiki recognize such test is requiring a texvc installation.
This patch apply the option to all those parser tests.
MediaWiki core change https://gerrit.wikimedia.org/r/69872 will
recognize the option and skip the test whenever $wgTexvc is not set or
points to a non executable file.
Also cleaned out some blank lines.
bug: 49884
Change-Id: I746856be4aafa8e8ed5ef33d5b10b16db3ca97ff
This replaces the SimpleXML library by
the internal class XmlTypeCheck
Needs at least that version
https://gerrit.wikimedia.org/r/#/c/66365/
Change-Id: Iafbd820f7130c8eb8d4f19824632b4ac89f214a9
This way the cookie is never set and MathJax simply always follows
the MediaWiki language.
Follow up of Ibf43a3e44ea2bfdbd9fddc01c71c72ba097ff1b7
Bug: 35038
Change-Id: Ie7530d3a904fb39945ba8b8d261852c2b8cb666b
Adding the localizations which I missed when updating to 2.2 in
I9446121985ae27e65a429b5a558940ac30520d44
Forward the userlanguage from MediaWiki to MathJax
Note that MathJax preserves selected language in cookies, so once set,
you need to manually switch it every single time.
Bug: 35038
Change-Id: Ibf43a3e44ea2bfdbd9fddc01c71c72ba097ff1b7
To check if the renderer works correctly it is desired to be able to
separate the test of the renderer and the function of the extension
PHP code. Therefore the method getPostData can be used to get
the values can be sent to the renderer directly via
curl –d 'POSTDATA' URL
Change-Id: I530f5fcba46364458643914bca81cf0bc1b60a58
The detailed information about the error messeage provided by the MW
HTTP libraries has not been passed to the end-user output.
Change-Id: I9cac67d8fc3a732a87c14e922670253e82f64bbb
\boldsymbol actually resulted in bold italic formatting, which was not
consistent with the texvc renderer. Use \mathbf (Bold face) instead.
Change-Id: I1a6fb07c55a2089c7acf50059a3a4a4e196812f1
* Remove parameters/append that are never outputted by texvc.ml
* Add missing math_output_error to i18n file
* Improve a few qqq descriptions
Change-Id: Iea5139682fbe8389e578549f5f62e5505f4c0b48
Adds a new method isChanged() for determining if a value was changed.
This is done in preparation for a more elaborated caching method that is
handled inside the abstract base class.
Change-Id: Ica15f77d96453d30edd3a117c7185c694ad3691e
Turns out that with the upgrade to 2.1 this is now included in core
MathJax, so we don't need the extension anymore.
http://docs.mathjax.org/en/latest/whats-new-2.1.html
Change-Id: I653c05aaf6d94851fdf6b1649d2d5c7477d46b7e
PS2: Make the number matcher limited to 3 digits. Fix at base 10.
Originally, but had broken merge: Iff04d5d650ae87d957d57420f71975ccdf4a5370
Change-Id: I6885ea90e920734e324b6d1d1f70af69cdeab033