Commit graph

2916 commits

Author SHA1 Message Date
daniel 7018e85b7d Show TeX in wikibase diffs.
Diffs should show the rendered output as well as the TeX source,
so changes that do not affect the output noticably can still be
assessed by looking at the diff.

Bug: T125712
Change-Id: I098d30ea3158ec34723bfca313cf2bcc4cbc591f
2016-02-25 12:59:12 +01:00
physikerwelt ac59fdcefc Only use parallel rendering in MathML mode
* It turned out that parallel rendering causes problems
 in the PNG rendering mode.
* This change disables parallel rendering for all
 modes but MahtML for now.

Bug: T127738
Change-Id: Ie0f7b391e89f53bac3490203e060c10c21d5e312
2016-02-23 21:39:56 +01:00
Željko Filipin a4948c208a Fixed failing Selenium test
When user is logged in, visual editor is the default editor. When user
is not logged in, source editor is the default editor. When the test
does not log in, everything works just fine.

Bug: T126463
Change-Id: I1f15000a275657c0a92172781f57c5d1db537dcc
2016-02-22 09:51:24 +00:00
Translation updater bot e750104394 Localisation updates from https://translatewiki.net.
Change-Id: I5b1b0ddf6eba710bc4d73cf2755b18096d7d0cbe
2016-02-21 22:27:15 +01:00
Ori Livneh 100f33c0e5 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: I3650e72dd30134ae9b27284e447d875ac95cd26f
2016-02-21 00:20:46 +00:00
Translation updater bot 72c062d66b Localisation updates from https://translatewiki.net.
Change-Id: I7b9ea37e15bb115fbc42f408b050964414b3a991
2016-02-20 22:22:54 +01:00
physikerwelt 9e605e09cd Render all math tags in parallel
Bug: T125543
Change-Id: Ia2febf2c0309e5de514445ad2aad58b7e5ce6837
2016-02-18 02:25:38 +00:00
Translation updater bot 13c5ad956f Localisation updates from https://translatewiki.net.
Change-Id: Idebe8501b03ad34a2fcf37268a49047a2596a5e4
2016-02-17 22:50:08 +01:00
Marius Hoch 60be82476b Argument #4 for ValueValidators\Error::newError() needs to be an array
Bug: T127077
Change-Id: I894d8b1bab4d0cd441b0895c37611a82754889df
2016-02-16 16:57:02 +01:00
Translation updater bot aa1af7a207 Localisation updates from https://translatewiki.net.
Change-Id: I1aa8eab6d72056aeec2b90e053af61d1bc1aecac
2016-02-15 21:40:23 +01:00
Željko Filipin 11825b9c17 Fixed broken Selenium test
The problems was that visual editor is the default editor at
en.wikipedia.beta.wmflabs.org, and the test was expecting source editor.

The test now works also locally, using mediawiki-vagrant.

Removed headers from some files. We no longer use those headers.

Removed cucumber tags we no longer use, mostly internet explorer.

Added missing dependency (rake) to gemfile.

Bug: T126463
Change-Id: Ia5809f40719a2fe0c6c94338072a38765fa5c87b
2016-02-15 12:50:48 +00:00
Translation updater bot cc5241530e Localisation updates from https://translatewiki.net.
Change-Id: I1f2f8c3713d738acfdd36394382c1de6dcb50add
2016-02-13 23:01:03 +01:00
Mobrovac edf96c685c Merge "RDF Formatter for Math data type" 2016-02-12 23:31:25 +00:00
Translation updater bot 0f5d76ee69 Localisation updates from https://translatewiki.net.
Change-Id: I22156e03cd645f2d22720a97fbd9ad4812510860
2016-02-12 22:09:31 +01:00
physikerwelt 5f16307582 RDF Formatter for Math data type
Bug: T126349
Change-Id: I15fbeec282868b4267a3e3d15740f2c3ff37ea48
2016-02-12 20:38:27 +00:00
Thiemo Mättig 129f0e4bcc Add more complete PHPDoc tags to all tests
... and remove some actual copy-paste mistakes.

Change-Id: Id2fd83edff774a7f07b0f5436cefe2bf5c0a63f0
2016-02-12 17:57:37 +01:00
Translation updater bot b69c1c4f52 Localisation updates from https://translatewiki.net.
Change-Id: Ic4cfa9fbdf991ee8bc9f79246ff25a173eb287e2
2016-02-10 21:09:43 +01:00
Umherirrender a810052038 Fix case of Html class
Gives fatal when using $wgAutoloadAttemptLowercase = false

Change-Id: I00069b8b875c5f6c768835a8e072e9eed2541314
2016-02-09 07:35:22 +00:00
Translation updater bot 605624e759 Localisation updates from https://translatewiki.net.
Change-Id: I7e5c63c2e211136d2ce0bba2946dbddef3cc4299
2016-02-08 22:13:56 +01:00
Mobrovac b144031847 Merge "Support for chemical formulae" 2016-02-08 19:52:09 +00:00
Translation updater bot da26efd98f Localisation updates from https://translatewiki.net.
Change-Id: I625afeb242cee87696644cb9f0ca07bac2d84278
2016-02-07 22:18:05 +01:00
physikerwelt 47f530b355 Support for chemical formulae
* Add support for LaTeX package mhchem.
* Add hook <ce>
* Add format <math chem>

See bug description for the details.

Bug: T98306
Change-Id: I2ab80834edc5d071618bc52f133cfb2b7ece5016
2016-02-07 18:55:58 +00:00
Translation updater bot 30cb42eab6 Localisation updates from https://translatewiki.net.
Change-Id: Iaf8cd1d44b3ac6e764214003d45c9a78e3bb08de
2016-02-05 21:52:06 +01:00
Translation updater bot 6ef6159560 Localisation updates from https://translatewiki.net.
Change-Id: I782c67c3751a7568de1380af1fb82b402cd58039
2016-02-04 22:14:41 +01:00
Željko Filipin af6ccc9929 Update mediawiki_selenium Ruby gem to version 1.6.5
Bug: T125532
Change-Id: If387aff657cb37330695522466994bab9ca888f5
2016-02-03 17:27:36 +00:00
Ed Sanders 2b9bce4a0b makeSvgsAndCss: Add missing semi-colons to CSS, tweak symbol alignment formula
Sub-pixel alignment errors are unavoidable as the browser will rasterise
the SVG then round percentage offsets to the pixel grid.

Change-Id: I704db755d49be189db9670594e2ae2f193e6052d
2016-02-02 19:03:01 +00:00
Ed Sanders fd6f963504 makeSvgsAndCss: Increase max connections
This was set low to avoid issues with local servers, but the new default
server (wmflabs.org) can handle a higher value, and the script runs
much faster.

Change-Id: I69b06c59fc03c4c4b15619e8dff7bfc904dba96f
2016-02-02 12:49:32 +00:00
jenkins-bot 69b091480c Merge "Add option to adjust SVG baseline on math dialog buttons" 2016-02-01 19:05:06 +00:00
Thalia 2b9e3307ac Add option to adjust SVG baseline on math dialog buttons
If a symbol has "backgroundPosition" set to true, adjust
its vertical position in the button, according to the
vertical-align property on the SVG, by adding a
background-position property on its CSS rule.

Also set "backgroundPosition" to true for a number of
symbols and generate a new CSS file.

Bug: T123397
Change-Id: Ic9bbb65d2bedf38f569d8922599a2e3d2575f153
2016-02-01 18:07:13 +00:00
Translation updater bot 98e1d09fd3 Localisation updates from https://translatewiki.net.
Change-Id: Ia2e1cdafb1f81c9b1a255ce88032c9873b81f372
2016-01-30 22:48:25 +01:00
physikerwelt c77118d37d Reduce the number or requests sent to Restbase
Currently two post request and one get request is sent
for each formula.
This change gets rid of the second post request.

Change-Id: I805a2c0fa619c9143c38a0cc60e76c9480578ed3
2016-01-29 18:16:05 +01:00
Translation updater bot c024c544c3 Localisation updates from https://translatewiki.net.
Change-Id: Ie9519c0800fdce6456c776503b2f6d9bf8dfd987
2016-01-28 21:08:45 +01:00
Translation updater bot e6f9bead91 Localisation updates from https://translatewiki.net.
Change-Id: I461e8d80e57515f96c839909a62b4b96d437511f
2016-01-27 21:42:07 +01:00
Translation updater bot f95be4ba71 Localisation updates from https://translatewiki.net.
Change-Id: I3e7a9e692e2ac77423f9c6d0b92b5df60c932ff0
2016-01-25 22:30:33 +01:00
jenkins-bot 0ea59c1526 Merge "Clean up Wikibase related code" 2016-01-25 17:20:46 +00:00
Thiemo Mättig 8b8d91a771 Clean up Wikibase related code
This fixes some warnings in my PHPStorm, gets rid
of duplicate code, inlines constants that do not
make the code easier to read, and more.

Change-Id: I02f446491509043f5d3e51e26e932f76c9ecb6cf
2016-01-25 16:22:07 +00:00
jenkins-bot e736202170 Merge "Resize math dialog input to fit the available space" 2016-01-25 15:12:44 +00:00
jenkins-bot 9742440a7a Merge "Clarify math-visualeditor-symbol-group-root" 2016-01-24 15:00:13 +00:00
IoannisKydonis 785842d486 Clarify math-visualeditor-symbol-group-root
Thread:
https://translatewiki.net/wiki/Thread:Translating_talk:MediaWiki/About_MediaWiki:Math-visualeditor-symbol-group-root/en

Change-Id: Ia05240001617b37786c88c2b77782c38a473ec1c
2016-01-24 16:23:17 +02:00
Thalia 150e658dc3 Correct \mathit button in math dialog
Change-Id: Ida4d82a9b859234e84a93ac34549076be9c42c46
2016-01-24 11:48:23 +00:00
Translation updater bot db43a0b809 Localisation updates from https://translatewiki.net.
Change-Id: Ie926c9c2be297b4f6626dbb1ea48eb4e6c06ae16
2016-01-23 22:26:56 +01:00
Thalia 79eeb24bc0 Resize math dialog input to fit the available space
Every time the math dialog is resized, calculate the
vertical space available to the input and resize the
input to fill this space.

Bug: T123891
Depends-On: Ia2e094071f385628449f1935f0250cbeb75196f0
Change-Id: I3f3c915469f282a6e0459a7e4d10e19bee68b8db
2016-01-23 11:08:48 +00:00
Translation updater bot 004d8f5dca Localisation updates from https://translatewiki.net.
Change-Id: Ic45910f92a1ca24559b5c50f353408fb4f67ccbf
2016-01-21 21:55:00 +01:00
jenkins-bot 5a82c47d32 Merge "Add PLURAL in math-status-introduction" 2016-01-20 23:23:36 +00:00
Translation updater bot 89adc4e622 Localisation updates from https://translatewiki.net.
Change-Id: Iec9ba9826e6ebacae1ee76693205c1399f19c8c2
2016-01-20 21:07:26 +01:00
IoannisKydonis 9e10e9cc82 Add PLURAL in math-status-introduction
Thread:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Math-status-introduction/en

Change-Id: I3a41a446001cf35c3dc0cac4025ae8fc64a3c9e4
2016-01-20 18:40:00 +02:00
Translation updater bot ec57d1818b Localisation updates from https://translatewiki.net.
Change-Id: Ia8b2632adfa4f07d7f138688bdef166d96274951
2016-01-19 21:19:25 +01:00
Translation updater bot f8d46ad17e Localisation updates from https://translatewiki.net.
Change-Id: I7feca55f62d3a9dc75c1ad62725bb2e18327d939
2016-01-18 21:36:04 +01:00
Translation updater bot 0e16082e0b Localisation updates from https://translatewiki.net.
Change-Id: I38bc58400b2e0e0112acf5ebabc1b60dc7772bbc
2016-01-17 22:32:40 +01:00
jenkins-bot 802a44f244 Merge "Add license-name to extension.json" 2016-01-17 02:43:33 +00:00