Commit graph

2986 commits

Author SHA1 Message Date
Translation updater bot 39af5a5408 Localisation updates from https://translatewiki.net.
Change-Id: I57575c449a547898e36b80fc2686d67b95057300
2014-08-05 21:57:23 +02:00
Translation updater bot 28b5fd3da9 Localisation updates from https://translatewiki.net.
Change-Id: Ib2693caac4befe553c42838eb12a87d9c19492ce
2014-08-03 22:10:02 +02:00
Translation updater bot 76bf8d981b Localisation updates from https://translatewiki.net.
Change-Id: Ie980830fc9de85299d85db3b07359f3093b9a842
2014-08-02 22:23:07 +02:00
Frédéric Wang 57facce780 Merge "Improve PNG fallback" 2014-08-01 14:14:44 +00:00
physikerwelt 6cb52f9190 Add SVG generation for LaTeXML
Currently SVGs are generated only in
MathML mode but not in LaTeXML mode.
Since LaTeXML can benefit from the
SVGs as well this change introduces
the functionality to generate SVG
images from LaTeXML MathML input.

Generating SVG images for LaTeXML is an essential
part of Math 2.0. It enables to include LaTeXMLs Content
MathML and provides fallback
images for visitors with MathML disabled browsers.

Change-Id: If13a8b0825bf12dbfe4920ddb7ad552df9bc095f
2014-08-01 03:33:08 +02:00
physikerwelt 27ce24e736 Improve PNG fallback
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
2014-07-30 19:00:57 +00:00
Translation updater bot 272e6869ed Localisation updates from https://translatewiki.net.
Change-Id: I7441dc541879fb12f69f6cc69daa5d3c4eabeeb8
2014-07-27 22:21:04 +02:00
jenkins-bot ce0c5c6cc4 Merge "Add missing period" 2014-07-27 18:21:23 +00:00
physikerwelt (Moritz Schubotz) 5cd5f7b49d Add missing period
See
https://gerrit.wikimedia.org/r/#/c/135817/6/i18n/en.json

Change-Id: Ib36c2b00ad7639d6fbd6a1bec940457d3526319c
2014-07-27 20:18:00 +02:00
physikerwelt (Moritz Schubotz) 77069f6e5f Add width and height to SVG image
Beginning from Mathoid 0.2.5 the specification
of a height and width attribute of the image will be required.
This patch gets those information from the SVG and copies
them to the img tag.

See also
Bug: 20202
Bug: 68295
Change-Id: I93e26a9f538acf21aea1501144bb1dd886ae0410
2014-07-26 15:31:08 +02:00
Max Semenik 130c3f44f1 @group Math where it's missing
Change-Id: If8ec86c4b70d7d78d30cab6f9529af1cd0c2ea52
2014-07-25 15:09:30 -07:00
Frédéric Wang 28b4e4d692 Merge "Fix: id-attribute" 2014-07-25 21:55:39 +00:00
Translation updater bot 01c7597a6a Localisation updates from https://translatewiki.net.
Change-Id: I51a128f1833949a54eef8bc60910907a6394f277
2014-07-25 23:05:17 +02:00
Frédéric Wang f590974c25 Add default display options
In some cases for example if the vagrant role
mobilefrontend is enabled the stylesheets are not
processed on mobile devices.
Without a default setting for the display attribute
all elements are displayed at the same time.

Change-Id: Ic0e95effaf0b413ec4c5878e1cfd5c269daa44c3
2014-07-25 17:19:30 +00:00
physikerwelt f2dff6574b Fix: id-attribute
Id attribute was read wrong place

Change-Id: I6f2671a322f637a1d8e0c88833ce4456d188829b
2014-07-25 17:18:45 +00:00
physikerwelt (Moritz Schubotz) bc519c22f4 Move @namespace css style to top
According to PHPStrom the @namespace css
element must be before normal css rules

Change-Id: I43eb10e976446bf846856f9c4f462a5be034062f
2014-07-25 13:00:13 -04:00
C. Scott Ananian 5cc82325c2 Sanitize filesystem paths before emitting ParserTests.data.
Change-Id: Ic348aa040d3b0e64716a51f5681ef289842118f0
2014-07-24 17:55:02 -04:00
Translation updater bot 247314382f Localisation updates from https://translatewiki.net.
Change-Id: Id66c733994c30606de671d57064f23122397dde6
2014-07-23 22:51:07 +02:00
physikerwelt (Moritz Schubotz) 68f9e96240 Add new MathHook
* Adds a new hook that is called after the rendering
  this is required to keep the MathIndex up to date
  for the MathSearch extension.
* The hook can be used for special modifications of
  the output format.

Change-Id: I7b45b4398c10ffe75f481a82c149ba4f66820338
2014-07-23 16:09:21 +00:00
C. Scott Ananian 0c3f9d69fe Bug fix for \varcoppa in texvccheck
A backslash was missing from the translation of `\varcoppa`.

Change-Id: Ic987f1a67ac73395d7ee16e7f8bcd38a6bad6e11
2014-07-23 16:06:48 +00:00
C. Scott Ananian a25078ff9d Remove unused empty production for litsq_zq in texvccheck
It is impossible to take the empty alternative for this production,
since any input which matches `litsq_aq` would instead match `lit_aq`
if the empty alternative is used.  In addition, there is no action
clause for the empty alternative, so it wouldn't typecheck if the
empty alternative was possible.

This has no effect on the generated parser, but clarifies the grammar
(and makes ports easier!).

Change-Id: I32c85d2c74ab047b4b52401248d5dc7fc3201705
2014-07-23 16:06:13 +00:00
C. Scott Ananian b7069ade90 Fix comment in texvccheck.ml
Change-Id: I8fae697e073d3807896223dba880a2058732e778
2014-07-23 15:55:32 +00:00
Translation updater bot 1a46f6cc12 Localisation updates from https://translatewiki.net.
Change-Id: I37949d60190df230ccb3d2b4207cf35e48501ca1
2014-07-22 23:01:38 +02:00
Translation updater bot c70fa3c683 Localisation updates from https://translatewiki.net.
Change-Id: I1c99087c5bf75a1af7b5b52e27fd8fa18a72fb7f
2014-07-20 21:08:57 +02:00
jenkins-bot 022d495d0a Merge "Update version number to 2.0" 2014-07-20 13:33:24 +00:00
physikerwelt (Moritz Schubotz) 8f7d4b8d75 Update version number to 2.0
Change-Id: If0d6ba5093bb6f89970b9febeadcbfd6bd9c6cfa
2014-07-20 15:28:54 +02:00
physikerwelt (Moritz Schubotz) 5e2c1c5101 Displaystyle in Mathoid 0.2.5
Beginning from mathoid 0.2.5 displaystyle is the default
option. This property has to be removed as default.

Change-Id: I3c176f4227f32709f6db4014e1e3b435c3c853c4
2014-07-20 00:00:43 +00:00
jenkins-bot f0f2e3898f Merge "Specify dialog size in VisualEditor" 2014-07-19 22:40:01 +00:00
Trevor Parscal b3335f60c4 Specify dialog size in VisualEditor
Corresponds to changes to window system of OOUI and thus VisualEditor Ia74732e

Change-Id: I72f410e09eddc82e562b6beb74772636b896dcd7
2014-07-19 22:36:15 +00:00
Amir E. Aharoni 056b6de1b2 Add Moritz Schubotz and Derk-Jan Hartman as authors
Change-Id: Ia091b88098777a953a9fa285d93641762d007379
2014-07-19 22:35:41 +00:00
physikerwelt 147ffa2307 Fix broken unit tests
Unit tests fail because the inner structure of the
SVG image that is gernerated by the Mathoid server
has changed.

Change-Id: I49d3116ee36b0a7a776df75656706d54bf04e961
2014-07-19 21:21:17 +00:00
Translation updater bot d8fe178c62 Localisation updates from https://translatewiki.net.
Change-Id: I5e39455bf70f5697dfb99f3a8e6dfabf417a343d
2014-07-18 21:28:44 +02:00
Ed Sanders 47a6bd2073 Fix rerendering in VE
this.$element is no longer a wrapper, so use .filter instead
of .find. Don't use domElements argument as this has already
been written to this.$element at this stage (will remove this
argument in VE core).

Change-Id: If24580102201e2b83b57c63d85335bd728a28784
2014-07-14 17:45:24 +00:00
Translation updater bot d8537132e0 Localisation updates from https://translatewiki.net.
Change-Id: I8aefbafb8183dd382ba19f43e18193eaaabdade2
2014-07-13 22:23:03 +02:00
Translation updater bot 5f5498e708 Localisation updates from https://translatewiki.net.
Change-Id: I33049fe93ac76c6bfa04ca752917b0f3fbad5510
2014-07-11 21:56:37 +02:00
jenkins-bot 4eebc40812 Merge "Fix MathDatabaseTest" 2014-07-11 01:37:18 +00:00
Translation updater bot 348d5aeb7f Localisation updates from https://translatewiki.net.
Change-Id: Ie742d9005ff8ac97dbf9462448b49aeb9ec655f5
2014-07-03 19:17:57 +00:00
Translation updater bot 0ccee1d94d Localisation updates from https://translatewiki.net.
Change-Id: Ie48ebdf9db3fd0d18788b3901e5ef49f7326910d
2014-07-02 19:53:25 +00:00
Frédéric Wang 382454a979 Update modules/ext.math.css
Currently, the PNG fallback is hidden in the MathML mode and the MathML & SVG
are respectively hidden and visible by default; the visibility of the
SVG/MathML output is only changed for Gecko. This does not work well for
IE < 9, which does not support SVG. This commit tries to improve the selection
of PNG, SVG or MathML according to the browser capatibility.

Change-Id: Ie9b0fdb66c51fbf6be98df092ce4de29fbba6068
2014-06-30 10:52:59 +00:00
physikerwelt (Moritz Schubotz) cac44883d3 Fix MathDatabaseTest
The test used an unnecessary call to
setupTestDB. This might have caused
that the unittest_math table was deleted
twice during the setup routine of the
unittest.

Bug: 67148
Change-Id: I4a414900c1c2d97b759ef1755e53e82c5c2e8e14
2014-06-30 10:52:03 +00:00
Amir E. Aharoni 877a0b447b Hide MathShowImage from Special:SpecialPages
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
2014-06-28 11:59:55 +03:00
Cmcmahon 94ded6c7b9 Port browser test for Math extension from the /qa/browsertest repo
From an earlier discussion with physikerwelt.

This is one step toward retiring the /qa/browsertest repo
entirely.

Change-Id: I804f32d2a5a984c8eb0dfc50c8ab50a7f1035256
2014-06-27 22:31:56 +00:00
Translation updater bot 9f54b57689 Localisation updates from https://translatewiki.net.
Change-Id: Ie01c211d5004f645a64b93913a58c391b593789d
2014-06-26 19:32:21 +00:00
Translation updater bot e2934946de Localisation updates from https://translatewiki.net.
Change-Id: I3f92a1381f133ab90d9f061d599cb1549fe123d1
2014-06-24 20:00:16 +00:00
Translation updater bot 12b858fc7c Localisation updates from https://translatewiki.net.
Change-Id: I06a26608a8147c4bb0146c1b06626a0ea95556b4
2014-06-22 19:30:01 +00:00
Ed Sanders 7c08fc5b72 Migrate VE icon from VE extension
Removed from VE with Ic8074be2.

Change-Id: I33cdb6204b4abc44398ecedd65f7d9251e73e9b0
2014-06-21 14:52:16 +00:00
Translation updater bot 9d0a38c42d Localisation updates from https://translatewiki.net.
Change-Id: Ie51b4f2e76cb750f915c9e989217eed342603336
2014-06-20 19:49:08 +00:00
Translation updater bot f37bf4d351 Localisation updates from https://translatewiki.net.
Change-Id: I580c95aae3073516ce8df5965a75e060769aa7f6
2014-06-18 19:55:36 +00:00
jenkins-bot 9f78cf77a3 Merge "Remove display:inline-block highlight hacks for math nodes" 2014-06-18 19:10:06 +00:00
Translation updater bot 6d31298389 Localisation updates from https://translatewiki.net.
Change-Id: I218b3413e44a941e8c0cfd980f99d5438faa3dc7
2014-06-16 19:51:40 +00:00