Commit graph

2626 commits

Author SHA1 Message Date
Translation updater bot 6091d23420 Localisation updates from https://translatewiki.net.
Change-Id: I45a7ceae27a1a82380c5682fa858447cb6a1f8be
2016-03-19 22:53:07 +01:00
Translation updater bot a55de55864 Localisation updates from https://translatewiki.net.
Change-Id: I7927cc440d0d8c29488430dceeb3d311906efed1
2016-03-15 23:02:01 +01:00
Ori Livneh b71e60a5e1 Document command-line arguments for texvc
Change-Id: I7dc2597100835f04e617799c20e597bcff45d1f4
2016-03-10 15:14:03 -08:00
Translation updater bot f92311bb2c Localisation updates from https://translatewiki.net.
Change-Id: If5675a509803b800b83e614212d76871211cbb54
2016-03-08 22:42:52 +01:00
Translation updater bot 67566171d3 Localisation updates from https://translatewiki.net.
Change-Id: I6ef830e6612f97cb3454d37d931709ea0365626f
2016-03-07 22:25:03 +01:00
physikerwelt 8113aa03c0 Prevent modification of math markup after output
In the early rendering phase the output of the math
extension should not be treated as wiki markup.

Bug: T129032
Change-Id: Idaabd835f04de6133824ce8db53e590af91b626c
2016-03-06 15:37:24 +00:00
jenkins-bot 0e63a6b695 Merge "Improve backwards compatibility for $wgMathDisableTexFilter" 2016-03-06 10:25:39 +00:00
Translation updater bot 772c51a76c Localisation updates from https://translatewiki.net.
Change-Id: I34bb7168bfe897d65022fa18403e1173cd14c57c
2016-03-01 21:57:43 +01:00
physikerwelt 585114270d Improve backwards compatibility for $wgMathDisableTexFilter
* Only rewrite true to the new format

Change-Id: I94e92599b08766521ab529934915eecd550a453b
2016-03-01 15:47:54 +01:00
physikerwelt 0be6cdb08d Use TeX representation for the editsection title
Bug: T103269
Change-Id: I9ccb6653048e8d3c4574776690fab5574cb7030b
2016-02-29 14:54:39 +01:00
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