Commit graph

2868 commits

Author SHA1 Message Date
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
Ed Sanders 7bbff3f208 Update license headers
Change-Id: Ia38926b253e53a2cef5dfab623353e1dd79ad613
2015-01-16 12:06:38 +00:00
Ed Sanders 21ade23c71 Whitespace fixes
Change-Id: Id22a4bfdc1b8c4074f6d7e6f21e8dbc2824d856e
2015-01-16 11:41:51 +00:00
physikerwelt (Moritz Schubotz) 056e85afe6 Update LaTeXML test
* The LaTeXML server was updated. In the new version unneccary id's
  have been removed.

Change-Id: I25927912f1500ebfe6d61505c0e06ae2c24d6f6a
2015-01-15 11:13:40 +01:00
physikerwelt (Moritz Schubotz) c240a5c477 Remove unused global
Change-Id: I8f5f77015de266f5a5b751fd7cfe424784eb3864
2015-01-13 20:15:52 +00:00
physikerwelt (Moritz Schubotz) afc2353a56 Correct wrong variable name
Change-Id: Iecfa0bfa5861e077d98f7bf06af0e98cda56220b
2015-01-13 19:16:37 +00:00
physikerwelt (Moritz Schubotz) fd8eb448a3 Update MathParser tests
In the most recent version of ubuntu14 the outputhash of the
png images for some math objects has changed.
However, the rendered images seem to look ok.

Bug: T86309
Change-Id: I52dbdefdcfa19c10f1d9d1a43369aabe8bfd92bf
2015-01-10 14:54:03 +00:00
Ori Livneh d9b9b06032 MWException -> Exception
Change-Id: I18da1baeb70387b96e30811a049185a264dec26d
2015-01-09 17:55:54 -08:00
Translation updater bot 3b9c5b57a8 Localisation updates from https://translatewiki.net.
Change-Id: Ib5c89c89ba2091f7784cc1c1237150ec55741fd7
2015-01-09 22:09:15 +01:00
Translation updater bot 354c0938db Localisation updates from https://translatewiki.net.
Change-Id: I64dfcdedea5ed345f730fe7080c8b511fe21dc49
2015-01-08 22:45:03 +01:00
Translation updater bot 8435d11cb4 Localisation updates from https://translatewiki.net.
Change-Id: I35f1687b4f4e7030a91bdc8aba3c04bbf71f55a4
2015-01-04 21:48:51 +01:00
Translation updater bot 247563ee5a Localisation updates from https://translatewiki.net.
Change-Id: I0ac3c68f796cde959629d63079d212473ad5a729
2015-01-02 22:35:42 +01:00
Translation updater bot fcbbb80605 Localisation updates from https://translatewiki.net.
Change-Id: I74dcb97bbb16bfc6e0700ed90fcf9705f7bdecf8
2014-12-28 21:44:56 +01:00
Translation updater bot c10f0d3670 Localisation updates from https://translatewiki.net.
Change-Id: If1f94c16fd20feef3403e326d58526eeb17c6a86
2014-12-26 09:46:02 +01:00
Translation updater bot 726edfcfdf Localisation updates from https://translatewiki.net.
Change-Id: I2445b8fbf1b35f437d6dba99d9fe081833ab5089
2014-12-23 21:41:26 +01:00
Translation updater bot e2c8249156 Localisation updates from https://translatewiki.net.
Change-Id: Ie485a03f09f1534071d18abf64bbfa446cdee754
2014-12-22 22:44:52 +01:00
Translation updater bot 32d581ebb0 Localisation updates from https://translatewiki.net.
Change-Id: I6b0398be5ec8ba5bfc71c987f80973bf2bb8afe3
2014-12-20 22:24:22 +01:00
Translation updater bot 841775579a Localisation updates from https://translatewiki.net.
Change-Id: Ib4eb016b1602d94a73c5e355f0ae4a744083b0c3
2014-12-18 23:20:31 +01:00
Translation updater bot c5bbd7bd16 Localisation updates from https://translatewiki.net.
Change-Id: I1b86d72690b5907ef438d69cf067da6dcc1891b2
2014-12-17 21:49:31 +01:00
Translation updater bot 5d23b37d39 Localisation updates from https://translatewiki.net.
Change-Id: Id297a13ca02524d9db16990b6cdd282b0b52fd73
2014-12-15 22:19:32 +01:00
Translation updater bot 2dd751c3e5 Localisation updates from https://translatewiki.net.
Change-Id: Iec289070ab64e2014b4c7f371926c03466258e3c
2014-12-14 22:21:29 +01:00
Translation updater bot cb45c068ac Localisation updates from https://translatewiki.net.
Change-Id: Ib3f357a76752ce2cba8642a02ec4f5373ddabe52
2014-12-13 22:32:21 +01:00
Translation updater bot d1d90e37a1 Localisation updates from https://translatewiki.net.
Change-Id: I204cb407cfb417961da361b4eaa84af432e2bd29
2014-12-11 23:53:27 +01:00
Translation updater bot d45334b8bc Localisation updates from https://translatewiki.net.
Change-Id: I366383149cb56c90800e06f94aaa6c8895d2381c
2014-12-10 22:09:45 +01:00