Commit Graph

1251 Commits

Author SHA1 Message Date
jenkins-bot 950c0596ca Merge "Make short mode for the math dialog" 2016-04-19 19:22:23 +00:00
Thalia a5e6d22495 Make short mode for the math dialog
When the math dialog's menuLayout height is below 450 px,
make the symbol menu and the preview element shorter, so
the input is still in view. (This works until about
280px, below which the user will need to scroll down to
use the input.

Bug: T121150
Change-Id: I9e41cce80c3f770b1e3d0e7b133470045a1afe67
2016-04-19 19:50:17 +01:00
physikerwelt 0b17471332 Use img element to display SVGs in new IEs
InternetExplorer versions that do support SVG images
have problems rendering  these in meta tags.
Replacing meta tags with img elements resolves the problem.

Bug: T132491
Change-Id: I353e911a8e2066c10d8df583cae88861a8623816
2016-04-19 17:16:50 +00:00
Translation updater bot 9b9e135b4b Localisation updates from https://translatewiki.net.
Change-Id: I53cf4fca43982872d7fcc85828d6f502c399cfd0
2016-04-16 23:13:10 +02:00
Marko Obrovac d8e172f713 Allow the number of concurrent connections to be configurable
The MultiHttpClient class allows the user to set the number of
concurrent connections it keeps open. This patch simply allows users of
the Math extension to set it when connecting to RESTBase.

Note that this patch is effectively a no-op, since MultiHttpClient's
default is (also) 50.

Bug: T132096
Change-Id: If9b6e61ffa23f8d22b3aab874058e809ff4c74b8
2016-04-13 21:31:29 +02:00
physikerwelt 6699724d65 Convert all array() syntax to []
Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html

Change-Id: I1d2604e3f246ede58ff8245ba2b940f258d2d80c
2016-04-13 10:18:23 -04:00
Translation updater bot 005647a686 Localisation updates from https://translatewiki.net.
Change-Id: I7bd7cc2bcedc3d561a72863b74f81673c69455cf
2016-04-12 22:53:41 +02:00
Mobrovac befca260c4 Merge "Reduce number of Restbase requests" 2016-04-12 15:53:53 +00:00
jenkins-bot 86f359ec30 Merge "Add inverse of texToClass function in comment" 2016-04-12 15:29:34 +00:00
jenkins-bot e00af78d9a Merge "Use new executeCommand method" 2016-04-12 15:20:29 +00:00
physikerwelt 2f8c92cb79 Reduce number of Restbase requests
This change reduces the number of Restbase requests to two
by bundling all requests for MathML

Bug: T132096
Change-Id: Idfc29eeeca754738fe78ca0372e6b6725065528d
2016-04-12 15:13:26 +00:00
Ed Sanders 4010978ebf Add inverse of texToClass function in comment
Change-Id: Iba9658cfb8f413eaff8cdd62b6b7b2d836c5b23d
2016-04-12 15:01:04 +01:00
Ed Sanders dba01a653e CSS code style: spaces inside parentheses
Change-Id: Ia1324fe4ee98b487b82d01ee0d9cffe284a64811
2016-04-12 14:57:27 +01:00
Ed Sanders 3f456b1931 Use new executeCommand method
Change-Id: I24afd6c94c3224a3ae1f86204ddc16c726833c7c
2016-04-12 14:56:45 +01:00
physikerwelt 92bd24474c Allow SVG images with and without speech on Special:MathStatus
Bug: T113708
Change-Id: I08b2c455366971914cf00712c0f6eece3df07124
2016-04-07 11:05:53 -04:00
Translation updater bot 5d7eb044d9 Localisation updates from https://translatewiki.net.
Change-Id: I34cd6a8bb03f6a30190a56e343bc520681490691
2016-04-05 22:57:28 +02:00
Translation updater bot daec7a8b16 Localisation updates from https://translatewiki.net.
Change-Id: I6d3b10638b19e2e1974a672775afa5d16d2bbe37
2016-04-03 23:21:17 +02:00
Ed Sanders 617e0ccd53 Remove icon properties from windows
Windows stopped supporting icons a while ago.

Change-Id: I7a3fba6aef39b761f8eac9ed0f639ed18b1c4e65
2016-03-29 12:34:56 +01:00
Translation updater bot e117fb110d Localisation updates from https://translatewiki.net.
Change-Id: I9b6fb3fef03e5d2ed00f47760b107a1c53d859b9
2016-03-27 21:18:51 +02:00
Translation updater bot 43fe573dfb Localisation updates from https://translatewiki.net.
Change-Id: I6d0d184b96d32d73420c8debad86fa63e53c7313
2016-03-24 22:37:07 +01:00
physikerwelt 31cd0d611a Insert MathML content after tidy
* BeforeTidy caused problems when math tags were used
  within links.

Bug: T130508
Change-Id: Icb9b88a7552d14231f96cbfd2b3cf3fa7e29276d
2016-03-24 13:31:15 +00:00
Translation updater bot 010b04d641 Localisation updates from https://translatewiki.net.
Change-Id: Iee2d4d94185b0cc892e7e003b0e6fa38e62cd121
2016-03-23 22:23:11 +01:00
Ed Sanders 481138a73d Remove SVGO compression, now done upstream in Mathoid
Change-Id: I961eb82722ae161bdf7a3ea945c299244ce321fb
Depends-On: I86c1a14ad81d2d252ac73da973274f88153d993c
2016-03-23 10:52:10 +00:00
Ed Sanders 49fc247004 Use the mathoidStyle property instead of parsing the SVG
This attribute was added in Ia0f601c1d5. Use it instead of
extracting the information from the SVG.

Change-Id: Ib6d6f4c9480ae00ccb2977b57c7b93de8ebb03f2
2016-03-22 14:46:48 +00:00
Translation updater bot 62ff45c262 Localisation updates from https://translatewiki.net.
Change-Id: I8732084fe271c228087dba0183557db9cda4f0cc
2016-03-21 23:33:43 +01:00
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