Commit graph

1145 commits

Author SHA1 Message Date
Translation updater bot 4477e66209 Localisation updates from https://translatewiki.net.
Change-Id: Ib6900e46e7e1576555ef127bfad07494df7a0a11
2016-01-07 23:36:20 +01:00
physikerwelt c085e6952b Fix link to PNG fallback for IE 8 and older
Change-Id: Iffb65af756a8fc53fcc9f484c783f69f8d908690
2016-01-06 22:16:21 +00:00
Translation updater bot 125b2e003c Localisation updates from https://translatewiki.net.
Change-Id: I22ee7342fe31a0eca31145e43d02e504e984ee5f
2016-01-06 21:54:23 +01:00
Translation updater bot 140f47f095 Localisation updates from https://translatewiki.net.
Change-Id: I29d13a1075a9f7ad750d4a1098bf2a8eedb3210b
2016-01-05 22:28:38 +01:00
Kunal Mehta 2130d09191 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I2bcb843fe0430593abe9712d1497a46e046457e8
2016-01-05 10:36:45 -08:00
Translation updater bot 3accedf24e Localisation updates from https://translatewiki.net.
Change-Id: I8135ae23ae652c410fd0f900084c75c2cf90824b
2016-01-04 22:36:28 +01:00
jenkins-bot 2499ea5236 Merge "VE: Rename parent tool" 2016-01-04 20:50:58 +00:00
jenkins-bot 867ad7f91a Merge "Allow users to choose math inspector or math dialog" 2016-01-04 17:10:42 +00:00
Ed Sanders ee3e0855f1 VE: Rename parent tool
Depends on I3a0e761f0 in core.

Change-Id: I7c6e5f2bd20e7875efc0ee60e329cdf081b64bd5
2016-01-04 17:07:51 +00:00
Thalia 5fe280c3cf Allow users to choose math inspector or math dialog
The context item for math nodes now has two edit buttons,
one for the inspector (edit inline) and one for the dialog
(edit). Creating a new math node automatically opens the
dialog.

Bug: T120382
Change-Id: Icd3ec75262fcc5e0cbc304051c651278b0d8b01c
2016-01-04 08:20:16 +00:00
Kunal Mehta 8a3672e869 build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: If4a74b0645c93788affabfafbb1a996a5bbebddd
2016-01-03 18:48:59 -08:00
Translation updater bot 23e4ac0113 Localisation updates from https://translatewiki.net.
Change-Id: I0e6b261053d474befd4dc84b31b5985f4efb5ff2
2015-12-30 21:43:00 +01:00
Kunal Mehta 2938d69e0b build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I4fea5c41c1c91b5f6903fe1cfd1033021571cbfe
2015-12-29 11:40:27 -08:00
Translation updater bot 5d837f1af3 Localisation updates from https://translatewiki.net.
Change-Id: Ia37d7ab5b86ceaf0e0b2768ef67305a1673a98f4
2015-12-26 21:09:51 +01:00
Translation updater bot bbd4ee7d6e Localisation updates from https://translatewiki.net.
Change-Id: I1a615a58a0e583ff33c68508abaa8b775c21dabd
2015-12-25 21:53:32 +01:00
Translation updater bot fd27050f9c Localisation updates from https://translatewiki.net.
Change-Id: Ib8004b22b8b56eb5bcf88b820f8013f65349d3e4
2015-12-23 22:05:38 +01:00
Translation updater bot 627a5e736e Localisation updates from https://translatewiki.net.
Change-Id: If5cc093cb73252fbd0118454be9d21843883b297
2015-12-22 22:10:31 +01:00
jenkins-bot e04098facf Merge "Force Ace Editor to resize after the dialog has been rendered" 2015-12-20 12:57:58 +00:00
Thalia ac1ce967c1 Force Ace Editor to resize after the dialog has been rendered
If the editor resizes first, the height is 0px.

Depends on: I48307bd9184b

Bug: T121164
Change-Id: Ieb4ed963b03c9e7d802e9547478eb3c9cde512ae
2015-12-20 12:51:57 +00:00
Ed Sanders abb5573424 VE MWMathDialog: Fix documentation
Change-Id: Ic362df855ba616d2d2b3e0ccd4cebd3befd4ab94
2015-12-19 17:37:13 +00:00
Translation updater bot 2d4d5fcceb Localisation updates from https://translatewiki.net.
Change-Id: I514e6a97aae6a7f2880908f9195abda6335a53da
2015-12-17 22:44:04 +01:00
Željko Filipin 30fd1cb9b3 Update mediawiki_selenium Ruby gem to the latest version
Bug: T114241
Change-Id: I81a6727fba46a0c9a628c0718e6159cfc8846c22
2015-12-17 12:58:34 +01:00
Translation updater bot 6c87374cd6 Localisation updates from https://translatewiki.net.
Change-Id: I9c2130ab2153cf5c82530029b77f541d07dffe6b
2015-12-15 22:23:34 +01:00
jenkins-bot dd06d7ed94 Merge "browser test: fix logic to find edit action" 2015-12-15 09:22:44 +00:00
Marko Obrovac a3072e273b Logging: adjust the log entry levels
Most info-level log entries are actually debug messages, which should
not end up in the production log by default, so adjust them.

Only the Mathoid-powered TeX check fail has been promoted to info so
that we can quickly identify such requests from pages.

Bug: T121445
Change-Id: I3736c59f6425d675befea9438182ee1cdebe5fc5
2015-12-15 00:14:15 +01:00
Marko Obrovac c3ebc54994 Minor: rename checkTex() to checkTeX()
Change-Id: I9b1860562b2f4f2112b68c0c3d6f0390f0405fbe
2015-12-14 23:58:08 +01:00
jenkins-bot c900b7bd25 Merge "Ask for the MathML and SVG renders only if the input is valid" 2015-12-14 22:40:38 +00:00
Marko Obrovac 72bdb51be1 Ask for the MathML and SVG renders only if the input is valid
Bug: T121445
Change-Id: I18b1ef4906f98cea99dca21d5a986a79c02cc233
2015-12-14 23:28:40 +01:00
Translation updater bot bebd6890fd Localisation updates from https://translatewiki.net.
Change-Id: I545d634c0d45c3efebdd7a98416fa1c201e872fa
2015-12-14 22:03:38 +01:00
Antoine Musso 0cebe64840 browser test: fix logic to find edit action
The simple math test failed to find the edit link on a non existent
page. It was looking for the text 'Create source' from Vector which is
now simply 'Create'.

Change the PageObject selector to use a CSS selector, more robust to
text changes.

Change-Id: Ifcbd07da8e343b5697fcff6af6ffac90ff4d6420
2015-12-14 21:24:13 +01:00
Translation updater bot 3256537366 Localisation updates from https://translatewiki.net.
Change-Id: I8f5979a8f45366cb571e09c83ff55e14e94fb4c4
2015-12-13 22:19:55 +01:00
jenkins-bot 301e049171 Merge "Make math usable without RESTbase" 2015-12-12 19:38:16 +00:00
Translation updater bot 961944c3e3 Localisation updates from https://translatewiki.net.
Change-Id: I7c440db349eb95e3415aeed9f8aaeb8438d69d97
2015-12-11 23:51:38 +01:00
physikerwelt 1ec767791b Make math usable without RESTbase
* Do not contact RESTbase in texvc rendering mode and
  use the well established tex checking that is already build
  into texvc.
* Do not use RESTbase in LaTeXML mode.

Background:
In I1982612e8c6a356e3dbdf447724ac82e5968cc77 RESTbased replaced
texvccheck that was a derivate of texvc designed for people
that wanted to use secure MathML rendering using mathoid.
The integration of mathoid to restbase made this feature obsolete.
However, texvccheck was not only used to check the latex input
that was sent to mathoid, but also the string which was sent to texvc.
Since texvc has already build in tex checking this is not
required and does not improve security.
Finally, users updating from old versions of the math extension
(prior to 2014) that do not have textexvccheck installed,
do not need to compile the texvccheck binary after this change.

PS5: Also treats the case where VisualEditor is not installed.

Bug: T121173
Change-Id: I1bd076b09206869b5ed75280d22e1b36bfb8d8ad
2015-12-11 22:04:12 +01:00
Ed Sanders 0f2fd944af Begining -> beginning
Change-Id: I91974126a3ea13e12c2a935d9d24e97e92b6df7e
2015-12-11 18:37:10 +00:00
James D. Forrester 830fbbf071 MathRestbaseInterface: Only read properties we know exist
Horrible hack but will stop the bleeding, I imagine.

Bug: T121165
Change-Id: Ie81cc78e02771bee8ff2d6d492d6a3308bf6cd40
2015-12-10 15:18:22 -08:00
Translation updater bot b56535f005 Localisation updates from https://translatewiki.net.
Change-Id: I5d1d1af2738b542d6fdb3d2be3754e6aadacefb5
2015-12-10 22:56:12 +01:00
jenkins-bot 41b1913136 Merge "Bump version to 3.0.0" 2015-12-10 15:32:38 +00:00
Translation updater bot cd1bc8a92c Localisation updates from https://translatewiki.net.
Change-Id: I00ff58b35f0f522c6a5aa989d4c82a3f73173e0f
2015-12-09 21:41:39 +01:00
physikerwelt cfdec7e814 Do not cache MathML results in database
* Currently the Math extension stores the rendering result from restbase
  in the database.
* This creates unnecessary write operations on the database

Change-Id: I5f07474fbf8017e39e94ac2b17676db1c3e92e72
2015-12-09 14:18:03 +00:00
paladox 19db7ea163 Bump version to 3.0.0
Requires https://gerrit.wikimedia.org/r/#/c/226998/

Bug: T99369
Bug: T106414
Change-Id: I82c4eda7b73fddf8a08694b339335659e6ad2506
2015-12-08 23:13:30 +00:00
Thalia 4087a1cec0 Focus the math dialog input after the symbols promise has returned
Bug: T119778
Change-Id: Ia5afe667241543addbda95d4d284b8af63f693a1
2015-12-08 13:26:34 +00:00
Translation updater bot 76cd36c4a0 Localisation updates from https://translatewiki.net.
Change-Id: I108d1b1274232b8cc9d0ac44403ad5c378622dd1
2015-12-06 21:44:18 +01:00
Translation updater bot df17765491 Localisation updates from https://translatewiki.net.
Change-Id: Ide5d71350ec3a3f63565ea3f125343213b34eb05
2015-12-05 23:12:15 +01:00
physikerwelt 0f8f9cff93 Use Restbase rendering in MathML mode
* For tex input, the only form of Math input that
  is accepted on WMF wikis, we retrieve MathML and SVG
  image from Restbase without using the database cache.

Change-Id: Ief1b6345c17db41f92684e00233d57240e97599f
2015-12-04 17:27:40 +00:00
Translation updater bot 29eac96bfd Localisation updates from https://translatewiki.net.
Change-Id: I6b64ffd3e2c40369c7c173a93d63d5e271c806ab
2015-12-03 23:15:34 +01:00
jenkins-bot 2b5a4fa98a Merge "Make math dialog menu content scrollable" 2015-12-03 21:34:13 +00:00
Thalia 3f193f6745 Make math dialog menu content scrollable
Also make input widget height respond to its contents. These two
changes address the problems of overlapping when the screen
height is limited.

Bug: T119900
Change-Id: Ie21c141673a9343d05da05cdbd2eaa96efff0a58
2015-12-03 16:25:00 +00:00
physikerwelt 897afa480b Use RestBase to check input tex rather than texvccheck
* This will increase the performance of tex rendering for all
 rendering modes since no shell access is required anymore.

 Merge with caution. If the connection to restbase fails, rendering
 of new formulae will be completely disabled i.e. broken.

Change-Id: I1982612e8c6a356e3dbdf447724ac82e5968cc77
2015-12-03 09:03:43 +00:00
physikerwelt f63eaeac23 Restbase based texvc input check
This change only connects the restbase and the mathinput interfaces
but does not change any functionality.

Change-Id: I3a23e5008c26c5f14ad842dcb5d22906a8aff33c
2015-12-03 08:56:47 +00:00