Commit graph

1612 commits

Author SHA1 Message Date
Translation updater bot 9c9374f9e6 Localisation updates from https://translatewiki.net.
Change-Id: I4db214eb8011d85c0e0e5159308961e77e7c42be
2016-04-26 22:29:22 +02:00
Željko Filipin d2ff0ef699 Fixed broken Selenium test
The test is broken on beta cluster because the formula is rendered as
meta tag. It is rendered at img tag on my mediawiki-vagrant virtual
machine. The test now works on both environments.

Bug: T128190
Change-Id: I458d618af24533d104fcac25a8d8c6468b14605a
2016-04-26 19:07:49 +02:00
jenkins-bot 289e0d3031 Merge "Remove some obsolete CSS rules that are no longer needed in Firefox ESR 45: - Use the non-math font Cambria first (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=598900). - Set line-height to normal (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1187673)." 2016-04-25 18:10:44 +00:00
jenkins-bot 462178f320 Merge "Migration of browsertests* Jenkins jobs to selenium* jobs" 2016-04-25 17:05:39 +00:00
Željko Filipin 7bc7a0cabf Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: Ide349ea15e0c38ff9f61d348abd61cd2349a83f6
2016-04-25 18:31:00 +02:00
Frédéric Wang d808880450 Remove some obsolete CSS rules that are no longer needed in Firefox ESR 45:
- Use the non-math font Cambria first (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=598900).
- Set line-height to normal (fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=1187673).

Change-Id: I19836285e08c2996d611a47361bbb5f9e9eb6921
2016-04-25 16:28:11 +00:00
Moritz Schubotz f071dbcf80 Remove Firefox specific CSS styles
The Firefox specific CSS changes require a special
setup of math fonts on the system. To avoid problems
OS dependent behavior, this browser specific modifications
are removed from the ext.math.css file.
There are a couple of places, where people can overwrite
their CSS rules individually.

For example from version 1.8 the plugin 
cf. de1eec2f0d
Note that this change will make things worse for users
that chose the MathML rendering option and managed to
configure their font setup right.

Change-Id: I5a376904a01a46634eea2160e02736df74cd0b5f
2016-04-24 20:32:28 +00:00
Translation updater bot 3983dcb20b Localisation updates from https://translatewiki.net.
Change-Id: I580d4b413b5c3633e4ec154c0d6bcf3a71d48dc3
2016-04-22 22:23:22 +02:00
physikerwelt 6b984122a1 Ensure use of ; to seperate svg styles
It was reported that under certain circumstances a semicolon was
missing from the SVG style.

Bug: T132563
Change-Id: I148433657848fdc74889fcaf6d883078c46a4006
2016-04-21 08:55:21 +00:00
physikerwelt 0d55341ff9 Fix: Convert all array() syntax to []
The signature of the Hook function is not respected.
Thus parameters need to be passed by reference explicitly.
For syntax validation to pass, this requires
mediawiki-codesniffer to 0.6.0

Change-Id: I90b6501000200c1b462407b769113358eb5c762f
2016-04-19 21:41:42 +00:00
physikerwelt 6f7bcaf2c6 Update to mediawiki-codesniffer 0.6.0
Change-Id: I2a1a74c771bc00f6c1569568dfcf474f06714426
2016-04-19 17:07:21 -04:00
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