Commit graph

947 commits

Author SHA1 Message Date
physikerwelt df19011704 Fix: Special page ShowMathImage should read the mode as string
The special page used getInt to read the mode parameter that was
changed to be a string and no longer an integer.

Bug: T108388
Change-Id: Ia63fad2d08cca2d4b0ed6ce09b72a30d6cfc9cac
2015-08-09 07:53:09 -03:00
Translation updater bot 90e0f3f6b6 Localisation updates from https://translatewiki.net.
Change-Id: I656ff02dba82680d2bec8a907e615dd00c79e3a5
2015-08-06 21:37:39 +02:00
jenkins-bot 032fb79f67 Merge "Remove use of deprecated wfRunHooks" 2015-08-06 18:03:31 +00:00
addshore a1c1e759a6 Remove use of deprecated wfRunHooks
Change-Id: I9800664555a9a6a54c3a62ed29928346fb87b194
2015-08-06 18:58:42 +01:00
Translation updater bot 77f6e3cea5 Localisation updates from https://translatewiki.net.
Change-Id: Ib1cc01339057d828c087c6ec52b9238e2c652575
2015-08-05 22:35:53 +02:00
physikerwelt f93333686d Fix: Set default MathStyle to inlineDisplaystyle
Redo Ibf6bdbd4ea36b4905445d5878f32f7e0b2bc8bac, which was
reverted by I029328849f05ec2afcabf38d2b79b337cb54cbd5.

In addition this patch simplifies the tex sent to the mathoid
server. Instead of {\displaystyle {\textstyle ... } } only
{\textstyle is sent (which overwrites \displaystyle anyway).

Change-Id: I16d6f67215c2f85ecd1d3a0bddacfc1700681557
2015-08-05 12:35:30 +02:00
Translation updater bot 82db12579e Localisation updates from https://translatewiki.net.
Change-Id: I55818597b7892b0bf2bbc13fb151477d66299936
2015-08-04 23:16:54 +02:00
Translation updater bot da445d8c8f Localisation updates from https://translatewiki.net.
Change-Id: I0035ba8c0ab8bd670d4952725023dfebf5cbb483
2015-08-03 22:04:47 +02:00
Translation updater bot 876f09b423 Localisation updates from https://translatewiki.net.
Change-Id: Ida8d26eb215c52c3e1ed6b2eccb1b1acaa9f954e
2015-08-02 21:52:38 +02:00
physikerwelt 866854b7ca Support for LaTeXML line break feature
* LaTeXML has a feature to add automatic line breaks
* This change adds a new integration test
* Sets a default line length of 90
* add the additional display attribute 'linebreak' which
  can be used to enable the feature
* mathoid support for line breaks will follow shortly

Bug: T106423
Change-Id: I029328849f05ec2afcabf38d2b79b337cb54cbd5
2015-08-02 11:55:25 +00:00
Translation updater bot deb557d828 Localisation updates from https://translatewiki.net.
Change-Id: I081187de535aca35dcfc9bf63fb1381212770f3b
2015-08-01 21:47:30 +02:00
jenkins-bot cd65aa0e13 Merge "Add en.json credits" 2015-08-01 17:14:08 +00:00
jenkins-bot f1ecf1410e Merge "Remove double space in a message" 2015-08-01 14:27:14 +00:00
Amir E. Aharoni 01fb7d0736 Remove double space in a message
Change-Id: I67e529e974c19b182a8ce981ea31c19adfb0c917
2015-08-01 12:13:41 +03:00
Amir E. Aharoni 629d9541fb Add en.json credits
Using `git blame` and `git shortlog -s -n`
on en.json and Math.i18n.php.

Change-Id: I942748b68cd707d19308e048e3b2c835ed8473fb
2015-08-01 12:11:19 +03:00
Amir E. Aharoni efc8e845f8 Add full stop to a message for consistency with a similar message
Change-Id: I2a5251286c9522688c842785089390045fe9d3ae
2015-08-01 12:10:12 +03:00
Amir E. Aharoni 992f781c88 Convert spaces to tabs in en.json
According to the usual i18n json convention.

Change-Id: Ic288f4dbf12d9c3bc04e28cb5cb64f153cdc76b5
2015-08-01 12:06:41 +03:00
Translation updater bot 31f80b4161 Localisation updates from https://translatewiki.net.
Change-Id: I0507b61d408d6b192e11736b6a4be9fbc48a402d
2015-07-31 21:47:52 +02:00
jenkins-bot c27a1e3a90 Merge "Disable overwriting of the fallback image" 2015-07-31 17:40:25 +00:00
jenkins-bot 9a8455cec1 Merge "Fix: Set default MathStyle to inlineDisplaystyle" 2015-07-31 17:01:14 +00:00
physikerwelt fdf791d02a Fix: Set default MathStyle to inlineDisplaystyle
In I6d1094ece79e912d9ddbef6681a25196c7a6e801 math styles
were renamed from integer constants to string constants.
Before NULL corresponded to inlineDisplaystyle. This is
no longer the case so NULL has to be replaced by the actual
default value.

Change-Id: Ibf6bdbd4ea36b4905445d5878f32f7e0b2bc8bac
2015-07-31 18:09:40 +02:00
physikerwelt (Moritz Schubotz) 248ea7ea91 Disable overwriting of the fallback image
The style information for the fallback image is quite sophisticated
and should not be changed.

Bug: 72626
Change-Id: I553cf7209d87517b8c8841cc25df74ebd4c683f4
2015-07-31 08:40:55 +00:00
physikerwelt 40c6bb69af Add info about failed tests to MathStatus
* Prints expected and real results for failed tests.
* Adopts to the new LaTeXML naming conventions.

Bug: T94434
Change-Id: I72bc6df7e9a85ae5c14cc7f82df072adfa65b67e
2015-07-31 08:40:00 +00:00
physikerwelt bc52c77d24 Use extension.json, empty PHP entry point
* Use string constants instead of integers
* Derive new names from old via conversion of constant
  naming convention to CamelCase.
* Replace old constant string e.g. 'MW_MATH_ABC_DEF'
  with new string 'abcDef'
* Replace old constant value with new string.
* Tests to demonstrates what is actually done.
* Rename constants

Bug: T106630
Bug: T106631
Bug: T87941
Change-Id: I6d1094ece79e912d9ddbef6681a25196c7a6e801
2015-07-30 22:01:20 +00:00
Translation updater bot e32ba69383 Localisation updates from https://translatewiki.net.
Change-Id: Ia996ef6b63930008c038f6f25d0957d581e24b90
2015-07-28 21:49:29 +02:00
Translation updater bot ebf78d9aa3 Localisation updates from https://translatewiki.net.
Change-Id: I701b1a8674667ddd953ba0cb24cf2f5dde6972df
2015-07-26 21:40:04 +02:00
paladox bf6b1f3272 Add release notes for version 3.0.0
Add release note for math 3.0.0.

Add HISTORY file for old release notes for older releases.

Bug: T106953
Change-Id: I7cb0c3c03bc60de3b3503edeaf74d46f935ac581
2015-07-25 22:01:48 +01:00
Translation updater bot 5477d44323 Localisation updates from https://translatewiki.net.
Change-Id: I441bbee800381bdf2919dc26de1d77b17493cc1f
2015-07-25 21:57:18 +02:00
Translation updater bot a3c1b0d61f Localisation updates from https://translatewiki.net.
Change-Id: I0cde7bb467e3dd3e87bf2dda6924066a2abc919b
2015-07-24 21:07:48 +02:00
Translation updater bot db45934a1e Localisation updates from https://translatewiki.net.
Change-Id: I19462041d5c87cf906cca88147c96097e7630222
2015-07-22 22:15:27 +02:00
Bartosz Dziewoński bc81cdd4b7 Pass arguments to ParserAfterParse by reference
The workaround to save PNG images calls the hook wrong,
the parameters must be passed as references.

Bug: T105598
Change-Id: Ic77aa79aa6e2bf2a9ec00be4cc775d0123bed91a
2015-07-22 15:36:48 +00:00
Translation updater bot 925deaf1d6 Localisation updates from https://translatewiki.net.
Change-Id: Ib96803d4b12ebc71f4aac8956765a81beb8eccc6
2015-07-20 21:55:54 +02:00
jenkins-bot f3adeebb19 Merge "Remove client-side MathJax support" 2015-07-19 19:44:54 +00:00
Translation updater bot 021c2d1135 Localisation updates from https://translatewiki.net.
Change-Id: I09569db9e76a2be7a6b002cf8ccbdc91b0ecd109
2015-07-18 22:00:22 +02:00
Translation updater bot 63ea3a5930 Localisation updates from https://translatewiki.net.
Change-Id: Ic28c0cc6522ce5b12e97b2e7c0feec362aa61974
2015-07-17 22:22:38 +02:00
physikerwelt b938099820 Fix: Undefined variable passed to hook
* This problem was introduced in
  I6fad69b5d9b9ca8a7d12c7e410d3ae6180fbddbf
* The $render variable is undefined in that context
* $this should be used instead

Change-Id: I70e0a03e41f0312a458d1dd27b766452ae093093
2015-07-16 10:33:34 -04:00
physikerwelt 1157896149 Remove client-side MathJax support
Bug: T99369
Change-Id: I767dd2720386221891f25b5c692b766b4708be15
2015-07-16 00:46:29 +00:00
Translation updater bot 3a55d1212c Localisation updates from https://translatewiki.net.
Change-Id: I2f84f433119f6ea48c06832d087eb43a7d15f017
2015-07-15 21:41:30 +02:00
physikerwelt 5c12ed983f Remove useless debug functionality
* MathDebug was intended to provide advanced debugging functionality
  for the math extension. However, the interesting debugging and
  logging feature never made it from the debug branch to the master.
* The current debug functionality is mostly useless. Only some values
  are written to memory and never used thereafter.
* This change moves the existing functionality to the MathSearch
  extension and introduced the required hook for that.

Details:
* $wgMathDebug is removed
* A new Hook MathRenderingResultRetrieved is created
* The math rendering object is printed to the svg error
  page if wgDebugComments is active (instead of wgMathDebug)

Change-Id: I6fad69b5d9b9ca8a7d12c7e410d3ae6180fbddbf
2015-07-14 10:34:37 -04:00
physikerwelt da6865c014 Fix: SVG images for LaTeXML were not cached
* The createSvg function calculated the new SVG image
  but did not set the change bit

Change-Id: Ib797f607386013960edafb33c609c9cff4de0e4b
2015-07-13 11:45:30 -04:00
Translation updater bot b1efca8de4 Localisation updates from https://translatewiki.net.
Change-Id: Ia4dcf62de7c54225157b4676e269a2ff419a25c0
2015-07-11 22:06:23 +02:00
Translation updater bot 83a947724c Localisation updates from https://translatewiki.net.
Change-Id: Ib78abcd1e568ef765962cfcad135ee5864631574
2015-07-09 22:02:59 +02:00
Translation updater bot f20df9a244 Localisation updates from https://translatewiki.net.
Change-Id: I90d2829a56f22bc94d7802c7dc66b77028d7dd72
2015-07-04 20:37:39 +02:00
James D. Forrester ce0a32532d Delete unused <math-preference*> i18n strings
These i18n strings stopped being used in this repo by 60411b9a, but
were not removed then as an over-sight. Deleting only the en and qqq
messages as normal, and letting the TWN bot delete the others.

Change-Id: I86e1a09f3ddcc2e558a4f04a606cc26ab379d05e
2015-07-03 13:28:35 -07:00
Translation updater bot 12dab81fcf Localisation updates from https://translatewiki.net.
Change-Id: I5b46eeaa60ef33e9ef57f3e11ddcbd24d6f4b5bf
2015-07-03 20:40:54 +02:00
Derk-Jan Hartman b1f6f22904 Fix perl script permissions and shebang
Bug: T104050
Change-Id: I19767efd410f04deb7ac6b122427d630735d778a
2015-07-01 13:27:22 +00:00
Translation updater bot 2ba9c21744 Localisation updates from https://translatewiki.net.
Change-Id: Ib4ea199f290f1195b454a8e9932f88cce527bfe0
2015-06-25 20:44:24 +02:00
jenkins-bot e53596ba9b Merge "build: Configure banana-checker and jsonlint" 2015-06-22 22:32:33 +00:00
Translation updater bot c5958e54b6 Localisation updates from https://translatewiki.net.
Change-Id: I63f7136eb37812a67f4c956c92856a0caca6fc28
2015-06-21 20:01:31 +02:00
Kunal Mehta 7aab828848 build: Configure banana-checker and jsonlint
Change-Id: Ic23af37d4353cfb5f663f84317c862f47ce26637
2015-06-19 21:54:10 -07:00