Commit graph

2841 commits

Author SHA1 Message Date
Translation updater bot 1dac0df7e7 Localisation updates from https://translatewiki.net.
Change-Id: Iaa7ab47005c2879c85c3508ff8bfdfe5cc3c592d
2015-03-30 21:47:52 +02:00
physikerwelt (Moritz Schubotz) 6889086753 Move integration tests to a new special page
The integration tests depend on the presence of external servers
and the user settings.
First, people are bothered by  failing test due to problems with
those servers and second, administrators need to run phpunit tests
to verify the configuration settings.
Therefore, we move the integration tests to a special page.

Bug: T87389
Change-Id: If66f13fe7fa16868cd4b1d8f0e0a6e3d49448b27
2015-03-30 11:47:31 -04:00
Translation updater bot 117a1b6200 Localisation updates from https://translatewiki.net.
Change-Id: I4bb006afe2ab9ef7d339a97a3b771a705f29b008
2015-03-23 21:59:23 +01:00
Translation updater bot 9cad49cd51 Localisation updates from https://translatewiki.net.
Change-Id: Id68f3d58a5fda8fdd01e04df5424114f379c1026
2015-03-22 21:16:43 +01:00
Translation updater bot 89e49230a8 Localisation updates from https://translatewiki.net.
Change-Id: I9e637943f80aad75824443393e8f770ce42d0a7f
2015-03-20 21:34:27 +01:00
Bryan Davis 23ff28d71d PSR-3 logging cleanup
* Limit levels to MediaWiki recommended debug, info, warning, error
* Don't add trailing newlines
* Capitalize messages

Change-Id: I211357b1cc014d6bed1717f22e2bf8ebfc4f386f
2015-03-18 12:13:05 -06:00
physikerwelt 5e46586ada Update to PSR-3 logging
Change-Id: I8b61cec606e75a3cf2143b1fa54e5dff2cfa3c7f
2015-03-18 17:26:01 +00:00
Bryan Davis 81dbee82c9 Fix PHPUnit provider name
MathCoverageTest::testProvider -> MathCoverageTest::provideCoverage

'test*' reserved for PHPUnit tests and have to make assertions.

Change-Id: If46684eb27a2282b4cd6261bd0a19dba9bc20e27
2015-03-18 17:16:27 +00:00
physikerwelt 6742dedda4 Code style cleanup
Cleanup whitespace and quoting, mostly related to logging function
usage.

Change-Id: I82ff6a31cd191119ec0c71c32eeb9570afd629db
2015-03-18 15:41:04 +00:00
Translation updater bot de79176fe1 Localisation updates from https://translatewiki.net.
Change-Id: I1c24a27975e87619c7bc6d2bfe09ebfafc4a3ae8
2015-03-18 16:04:24 +01:00
physikerwelt (Moritz Schubotz) c8edf95e80 New hook MathFormulaPostRender (replaces MathFormulaRendered)
* Update hook to new extension registration mechanism
* Expose full parser context

Change-Id: I201f80bbee16617ef88417a2430261167aaca4ae
2015-03-17 21:44:47 +00:00
Translation updater bot a240ca5393 Localisation updates from https://translatewiki.net.
Change-Id: I233a8f14ff0935c5d8d5680bbe70871a2098cab0
2015-03-16 21:57:49 +01:00
Translation updater bot d948697702 Localisation updates from https://translatewiki.net.
Change-Id: I8f3bd780e39e1a7cf5eb8eaaafdc9883d011b742
2015-03-14 21:34:25 +01:00
Translation updater bot 534579875b Localisation updates from https://translatewiki.net.
Change-Id: I96a65a4fafefac9171a060aea868a2c079560f2b
2015-03-12 21:28:38 +01:00
Kunal Mehta 5a50bb312c Remove U+FEFF before opening <?php tag
Change-Id: Ib2f1a75f4a3b5879809243cf43124bf3ebf83127
2015-03-12 11:50:11 -07:00
Translation updater bot aacda9f1ed Localisation updates from https://translatewiki.net.
Change-Id: I85a37db9977ef576931b1f0dc58cd323e950f377
2015-03-11 22:14:14 +01:00
Translation updater bot 45f36145c8 Localisation updates from https://translatewiki.net.
Change-Id: Ie990bacb402b7fa214ed8ac3f10e3cd9280d232e
2015-03-10 22:34:33 +01:00
Translation updater bot 0a8e64f2f9 Localisation updates from https://translatewiki.net.
Change-Id: I78b84adce8883a01f40f70ddcc1d70d5e19e2e35
2015-03-08 21:46:25 +01:00
Translation updater bot 758a56a163 Localisation updates from https://translatewiki.net.
Change-Id: Ic4dec76e06a5f39606f3bde91c42ad39b45c6650
2015-03-05 22:24:01 +01:00
Derk-Jan Hartman fbfefac248 LivePreview: Use setTimeout to delay rendering of MathJax
wikipage.content hook is fired before the new content is attached, but
MathJax cannot deal with that. Use setTimeout to delay execution until
next execution run.

Bug: T90808
Change-Id: I02178bfd61d34dff49435f3a17a0ce385b37d14d
2015-02-27 20:51:30 +01:00
Translation updater bot d4551894a0 Localisation updates from https://translatewiki.net.
Change-Id: I6753ea2f1c4ff86c8fcbd93df06fe95d41483ee8
2015-02-24 22:01:25 +01:00
Translation updater bot 3f1f4fa1ff Localisation updates from https://translatewiki.net.
Change-Id: I935add0fbf139a171b5c4253a5c805bdefc7ad5f
2015-02-21 23:33:18 +01:00
physikerwelt (Moritz Schubotz) 77e82d89af Ignore missing SVG attribute
In some cases the SVG property of the mathoid JSON result
seems to be empty.
In that case we ignore the SVG rendering.


Bug: T87379
Change-Id: I98398ec59e1d0205ee32cca137ad29dbc9dddec9
2015-02-20 07:35:26 +00:00
Chad Horohoe eab415ef71 Math: tidy up error message handling
- We don't localize errors and debug logs like this, it makes them
  impossible to decipher
- Also remove some 1.21 and below back-compat while we're here

Change-Id: Idb23fe5b434fa9fa3518672d57ec6e5466d005ac
2015-02-19 16:22:46 -08:00
jenkins-bot 504a53f8e1 Merge "Refactor code for RSpec3 expect syntax incorporation" 2015-02-16 19:46:21 +00:00
Chad Horohoe 0404113641 Remove obvious function-level profiling
Change-Id: I41d48da124e38c46ce71aa9d3b756096a424df1c
2015-02-12 12:14:24 -08:00
jenkins-bot a24f16d79e Merge "LaTeXML: prevent automatic rerendering of SVG" 2015-02-08 20:22:58 +00:00
jagori 197bd9ccd6 Refactor code for RSpec3 expect syntax incorporation
Bug: T68369
Change-Id: I25e27d8b363957c4217eaf8516d3c9e61ece156e
2015-02-08 18:52:38 +00:00
physikerwelt (Moritz Schubotz) 1c9383d985 LaTeXML: prevent automatic rerendering of SVG
MathMathML::renderingRequired called the getSvg
function in MathLaTeXML that caused an automatic
rerendering of the SVG image if it was not cached.
That this rendering is triggered from the function
renderingRequired is contra intutive and should be
avoided.

Change-Id: Ifa14f50193a05b3058624a18974c56897fcec09e
2015-02-08 16:28:04 +00:00
Translation updater bot 7ae2e74309 Localisation updates from https://translatewiki.net.
Change-Id: I174400c5a3dad8f6bf8d03b7c738d5068682ceb3
2015-02-07 21:47:29 +01:00
Translation updater bot 29fb1f58a2 Localisation updates from https://translatewiki.net.
Change-Id: I7eb73bd36e5cd4461647bf05166fd2fd2fcbee07
2015-02-03 22:55:17 +01:00
Translation updater bot 8264e4575a Localisation updates from https://translatewiki.net.
Change-Id: I2cfa5bae2a6864548816934483cd2276e1071865
2015-02-02 22:28:53 +01:00
Ed Sanders da0e6cab16 Fix rendering issues in MathML mode
Force display:none on a hidden MathML rendering to avoid generating
focusable node highlights.
Move adding of class to setup to ensure it persists after render.

Bug: T87007
Change-Id: I5fc21afa61ccc07e9d2126846cf29ee898182a7c
2015-01-29 14:15:45 +00:00
Translation updater bot 6d4912f6f4 Localisation updates from https://translatewiki.net.
Change-Id: I14cfdb2153121a9cbcd40345398dc84d3b17518f
2015-01-25 21:48:21 +01:00
jenkins-bot 865bc6d2a4 Merge "Add dependency on mediawiki.toolbar" 2015-01-22 21:55:50 +00:00
jenkins-bot 8477bdb059 Merge "Minor clean up, optimisations and documentation corrections" 2015-01-22 19:39:56 +00:00
physikerwelt (Moritz Schubotz) 31c38bdf76 MathMathML, MathTexvc: Improve PhpDoc
Change-Id: I84af65e15bdae81f69f0444afdd9ffa5fe9fc326
2015-01-22 19:13:11 +00:00
physikerwelt (Moritz Schubotz) 9c0a2c28b9 MathRenderer, SpecialMathShowImage: Correct phpdoc
Change-Id: Ibce076dfb6bd3676e288cf2d762ebcb55606246d
2015-01-22 19:11:47 +00:00
physikerwelt (Moritz Schubotz) 42f834660d Remove duplicate entry from .gitignore
Change-Id: I78c7e9b630c6e96a2f125f20461ff9e720754ec4
2015-01-22 19:11:08 +00:00
physikerwelt (Moritz Schubotz) 4d7f6f8b77 Add type hinting for newFromMd5 constructor
Bug: T87142
Change-Id: I2989ff42e48e802c1eed1877f0f2ac9316b5fd21
2015-01-22 19:10:57 +00:00
physikerwelt (Moritz Schubotz) 37e61853b5 Remove unused XML namespace
Bug: T87142
Change-Id: I1c900584aeafbeb5848a3300904710ee312d6223
2015-01-22 19:08:26 +00:00
Timo Tijhof 83da0338ec Minor clean up, optimisations and documentation corrections
* Handle-error-first approach for consistent function body
  termination at the root with the main intend, and less indention.

* __DIR__ instead of dirname( __FILE__ )

* Single quotes.

* Correct pickHost documentation: wgMathMathMLUrl is not an array,
  and is not used in this method, that's at a different level
  of abstraction (via the constructor).

* White spacing.

* require_once is not a function.

Change-Id: Id4bec8415893245e2569a39ab5406a0820238ae4
2015-01-22 10:56:16 -08:00
jenkins-bot 6e119fdb9a Merge "Improve Math test generation" 2015-01-22 10:10:30 +00:00
physikerwelt (Moritz Schubotz) 0fd785b7d9 Add dependency on mediawiki.toolbar
Follows-up Ibcda91bbb164b0.

ext.math.editbutton.enabler uses mw.toolbar. The toolbar interface
used to be part of mediawiki.action.edit but is now in its own module.

Bug: T86235
Change-Id: I37a0b8e84a9bd6a0de0386d5b9924bbbbbd7249c
2015-01-22 01:18:18 +00:00
Translation updater bot 7087d457bb Localisation updates from https://translatewiki.net.
Change-Id: Ie012febb53ee642520e71f18285d5b9e4133e224
2015-01-21 22:20:40 +01:00
physikerwelt (Moritz Schubotz) b09107025b Improve Math test generation
* Use the wikitext parser and not regexp to extract math
  tags from the page.
* Extract the attributes from the math tags as well

In a follow up a pseudo attribute in the math tag could
be introduced to provide a bug description.

Change-Id: I0dec18d4e3f87e7b58b097b2a08c4897ceaf29ac
2015-01-19 21:38:58 +00:00
Translation updater bot a3aea9d938 Localisation updates from https://translatewiki.net.
Change-Id: I01c4bbe241c0842027b030ee912b8e481c90f625
2015-01-18 22:19:51 +01:00
jenkins-bot e5574189c4 Merge "Whitespace fixes" 2015-01-16 15:12:47 +00:00
jenkins-bot ff4297026c Merge "Make main code input area monospaced" 2015-01-16 15:11:53 +00:00
Ed Sanders 4ae01c7f5a Make main code input area monospaced
A monospaced font is more suitable for writing LaTeX.

Change-Id: I1a6c7bbbe3618f43808be15eab1579de8b2ad59f
2015-01-16 12:07:31 +00:00