Commit graph

2807 commits

Author SHA1 Message Date
Translation updater bot 7ee802744e Localisation updates from https://translatewiki.net.
Change-Id: I827c88a574a0cd0dcafac4bf04831ec5308310a4
2016-01-12 22:46:31 +01:00
Marius Hoch d955be7eca Introduce a "MathEnableWikibaseDataType" config
Set to true per default.
In order to be able to switch it off in production
for a coordinated deployment.

Change-Id: I520b2ff1ae6dc3bad4b6067f0b673821d3c01cb4
2016-01-12 21:22:49 +01:00
Thiemo Mättig (WMDE) 9625dbc8e5 Revert "Fixup: Datatype has prefix PT"
This reverts commit 0add158294.

See \Wikibase\Lib\DataTypeDefinitions::getValueTypes. The
prefix is not part of the message key. If it is, this is a
bug and should be fixed.

Change-Id: I214d71a8f1c8de751e464924f75d0458e29f2514
2016-01-12 15:23:29 +00:00
physikerwelt 0add158294 Fixup: Datatype has prefix PT
Change-Id: Ic16ca72f570633a6d008e335d9e82b5bea1d94d8
2016-01-12 15:48:12 +01:00
physikerwelt 5d4fdaf852 Add i18n description for datatype math
Change-Id: I499beb33141d0a9c124db0ac11428544c766adc2
2016-01-12 14:43:24 +01:00
jenkins-bot 6c61ce19fa Merge "Implement datatype 'Math' for Wikidata" 2016-01-12 12:14:59 +00:00
jenkins-bot dc074a849d Merge "Small corrections to the math dialog menu" 2016-01-11 22:38:23 +00:00
lyrianos93 946a18d14c Implement datatype 'Math' for Wikidata
This change implements all components to use the datatype 'Math' in Wikidata.
Because 'String 'is used as value type, only the Formatter and Validator are needed to be implemended.

The components are:
* hooks
* Formatter class
* Validator class
* Test cases

Bug: T67397
Change-Id: Ic64fd6c8560f48052e2db24ae1f013d48a82b5e9
2016-01-11 22:29:29 +00:00
Translation updater bot 49496e7d22 Localisation updates from https://translatewiki.net.
Change-Id: I8c3be461faf969d241e411dab740bec9c7982768
2016-01-11 22:52:11 +01:00
Thalia f62b625c21 Small corrections to the math dialog menu
Remove some duplicated symbols and correct some typos

Change-Id: I41e98a7b80554f3332e9abff33b9d12701a5d855
2016-01-11 18:18:42 +00:00
Translation updater bot 3743094847 Localisation updates from https://translatewiki.net.
Change-Id: I8190028cf3a28db97384863e3de29342b78a9fc8
2016-01-10 23:12:19 +01:00
Translation updater bot b68c615d4a Localisation updates from https://translatewiki.net.
Change-Id: I5dcca0e7353a8f40a04bd8b1e6a8dff4a6769580
2016-01-08 22:18:54 +01:00
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