The special page used getInt to read the mode parameter that was
changed to be a string and no longer an integer.
Bug: T108388
Change-Id: Ia63fad2d08cca2d4b0ed6ce09b72a30d6cfc9cac
* Use string constants instead of integers
* Derive new names from old via conversion of constant
naming convention to CamelCase.
* Replace old constant string e.g. 'MW_MATH_ABC_DEF'
with new string 'abcDef'
* Replace old constant value with new string.
* Tests to demonstrates what is actually done.
* Rename constants
Bug: T106630
Bug: T106631
Bug: T87941
Change-Id: I6d1094ece79e912d9ddbef6681a25196c7a6e801
* MathDebug was intended to provide advanced debugging functionality
for the math extension. However, the interesting debugging and
logging feature never made it from the debug branch to the master.
* The current debug functionality is mostly useless. Only some values
are written to memory and never used thereafter.
* This change moves the existing functionality to the MathSearch
extension and introduced the required hook for that.
Details:
* $wgMathDebug is removed
* A new Hook MathRenderingResultRetrieved is created
* The math rendering object is printed to the svg error
page if wgDebugComments is active (instead of wgMathDebug)
Change-Id: I6fad69b5d9b9ca8a7d12c7e410d3ae6180fbddbf
In the first period we set the caching time for server-side
caching to 1 week and the value for client-side caching
to 1 hour.
Change-Id: Ieab63dfe9a00f31d64945180d7b0d98b9fe62b39
The style would set a margin both on the SVG & the surrounding img. We
transfer the styles to the image, so don't want them on the SVG. This avoids
applying margins twice, which led to clipping.
Change-Id: I89ab3f6727d978d64df6f97f30decf5cb9c0bc92
This commit prohibits that the special-page MathShowImages
tries to display information that are not enabled via
config.
A typical example is that the Specialpage tries to
render PNG images for IE<9 even though texvc was not
set up. This was reported as
Bug: 69693
Change-Id: Ifc5888152aa02c973eab959e963085f24a7b2a83
The PNG fallback for old IE versions worked
only if the PNG image was already stored in the
database.
This change enables the Specialpage that displays
the PNG images to create new PNG images and to
show them directly.
To test this commit you need an old IE version
(IE<9). If you don't have access you can use
an online service such as http://netrenderer.com.
Change-Id: I74163da94e2d7a2f07d78bfe0f5ce134564ba97f
This special page is not intented to be used interactively
and its title is not translatable, so it shouldn't be shown
on Special:SpecialPages.
Change-Id: Idc83ecc2924cf417d102d3d1b0fedffd5d393300