Commit graph

1403 commits

Author SHA1 Message Date
James D. Forrester 4a06cdf728 Follow-up 75db3ed9: Also fall back to symbol.insert in MWMathPage
Bug: T157751
Change-Id: Ia0d40c70f52f41eb07dcbe121437379419b861b3
2017-02-09 17:47:27 -08:00
Ed Sanders 75db3ed9fe Math symbols: Remove 'tex' when identical to 'insert'
Change-Id: I3e9abc923eb686a60b9ae5359d8b823acc863f31
2017-02-09 19:22:47 +00:00
Translation updater bot d9ac1fad43 Localisation updates from https://translatewiki.net.
Change-Id: I4bc64f2774b9c4f527b1158fb2c8faf3a869783c
2017-02-06 22:40:09 +01:00
Brad Jorsch 1c3dd4fb0d Replace use of &$this
Use of &$this doesn't work in PHP 7.1. For callbacks to methods like
array_map() it's completely unnecessary, while for hooks we still need
to pass a reference and so we need to copy $this into a local variable.

Bug: T153505
Change-Id: Ib31f3bbffdd6b25ad9a21498294644e4dde33bd1
2017-01-31 22:54:07 -05:00
Translation updater bot 0677292659 Localisation updates from https://translatewiki.net.
Change-Id: Ib6937cccf5e345cb1889280e35047cd0cd74d318
2017-01-30 22:36:32 +01:00
Translation updater bot 1a21f0b509 Localisation updates from https://translatewiki.net.
Change-Id: I22bbbf8babff372d83b4003d9c292e255d080dd2
2017-01-27 14:44:16 +01:00
jenkins-bot b968932701 Merge "build: Re-use MessageDirs in banana conf" 2017-01-24 08:03:56 +00:00
Ed Sanders 40f5a212ab build: Re-use MessageDirs in banana conf
Change-Id: I9cc8593d38154dd092f576443ea3a5c2302d7cd7
2017-01-23 13:48:34 +00:00
Darian Anthony Patrick a16c563459 Skip shell invocation on large input
Add a sanity check to the math extension that skips shelling out to
texvc if the input is insanely large.

Bug: T129506
Change-Id: I2c7b6561464bddb4c3eab9230fa8168b24adaa37
2017-01-20 15:09:56 -08:00
jenkins-bot cb190d507d Merge "Add scrollbars to displaystyle formulae" 2017-01-17 18:51:13 +00:00
Amire80 48a5a0a7e8 Split ve.ui.MWMathPage.css from ve.ui.MWMathDialog.css
There are separate JS files for them, so the CSS should be separate, too.

This is a part of the refactoring that is required for bug T153365.

Change-Id: Iadbe5eeccff25ed1d184658945a4eb52e465d863
2017-01-11 19:44:31 -08:00
jenkins-bot f8ceb1d495 Merge "Add word list to math dialog for autocompletion" 2017-01-11 23:57:20 +00:00
jenkins-bot ca22dee516 Merge "Create chemistry icon for upcoming VE chemistry support" 2017-01-11 23:33:27 +00:00
Thalia 06f6af78dc Add word list to math dialog for autocompletion
Bug: T155107
Change-Id: I57bbf9d9a75810cd06b9ba43a173f9bf4a74c9fc
2017-01-11 14:44:16 -08:00
Ed Sanders edd166cfa3 Create chemistry icon for upcoming VE chemistry support
Bug: T153365
Change-Id: Ieaf5708932cfc91de6c293fd752dd64b8a73c73d
2017-01-11 14:28:31 -08:00
Moritz Schubotz 63082595d9 Change chemistry tag name from ce to chem
<ce> will still work, but it's deprecated.

Bug: T153606
Change-Id: Idef1078b188f2b945c9e1f8f66096779cc37133f
2017-01-11 11:55:01 -08:00
Moritz Schubotz c877e564fc Add scrollbars to displaystyle formulae
Add mwe-math-element class attribute to the outermost element
holding mathematical expressions. Add a css rule that adds a
scrollbar to the element in case it's a div, which is the case
for displaystyle formulae.

Note, there will be no scroll bar if long formulae are not
explicitly marked up das displaystyle formulae.ƒ

Bug: T134281
Change-Id: Iba462601bb15f8667d1284282ba4f6c2020a02b9
2017-01-11 10:49:40 -08:00
Translation updater bot f5778bafd2 Localisation updates from https://translatewiki.net.
Change-Id: If94ed000794117f38b672f27e3f41212b547c6f2
2017-01-05 23:46:34 +01:00
jenkins-bot 7b3494ede4 Merge "Revert "Add class mwe-math-element to math elements"" 2017-01-04 00:12:02 +00:00
Physikerwelt 797c8ddfc9 Revert "Add class mwe-math-element to math elements"
This reverts commit e674d7e73b.
That commit does not help to solve T134281.
It adds a CSS class name which is configurable
by a global variable to various math elements, which is confusing.

Change-Id: Iea5f231e0cea1221dc717b3409b36c0baf11bb24
2017-01-03 23:57:46 +00:00
Translation updater bot b1f72b3aec Localisation updates from https://translatewiki.net.
Change-Id: Id5a8cdd18b66519b866fc5579b1e482ec5933b95
2017-01-01 10:02:31 +01:00
Translation updater bot 28f19f6af5 Localisation updates from https://translatewiki.net.
Change-Id: I0385e599eb32cb19d2031f642086662950992de5
2016-12-28 10:47:25 +01:00
jenkins-bot d1cdb84e20 Merge "Remove broken test script texvccheck/test.pl" 2016-12-26 00:05:16 +00:00
jenkins-bot 922149ac83 Merge "Remove unused Makefile variable "DIRS"" 2016-12-25 14:28:38 +00:00
Tim Landscheidt 352abc726f Do not ignore all .mli files in texvccheck
The pattern "*.mli" was incorrectly added to texvccheck/.gitignore by
4c9dc2f08e with the comment "Compiled
source".  As with d9a7da14f1, .mli files
define the interfaces for the corresponding .ml module and thus should
not be ignored.

The only exception to this is parser.mli which is generated by the
ocamlyacc from the parser.mly definition, so this change only ignores
those files.

Change-Id: I263df70e58fb14a7228c32d5c985ff7f1b841891
2016-12-25 13:39:20 +00:00
Tim Landscheidt a98ebf457c Remove unused Makefile variable "DIRS"
Change-Id: I72eb49e2c0c1bd3afd0e3f76bb596fa87d10dc2b
2016-12-25 13:35:16 +00:00
jenkins-bot 5939ee17fa Merge "Fix "make texvccheck" in top-level Makefile" 2016-12-25 13:24:11 +00:00
Tim Landscheidt ed740e7946 Remove broken test script texvccheck/test.pl
The script has a syntax error, the program tex2svg is not contained in
this repository, "texvc" should probably be "texvccheck", and the
result of this invocation is thrown away, thus always outputting
"bad".

Change-Id: I9ca0324d58f81dbb9e1bfb31e677fc877172675f
2016-12-25 13:17:42 +00:00
Tim Landscheidt 698f2c9fec Fix "make texvccheck" in top-level Makefile
As texvccheck is a directory, make always considered the target
texvccheck to be up-to-date, thus never invocating make in the
subdirectory itself.  This change marks texvccheck as a .PHONY target,
causing make to compile texvccheck in the subdirectory.

Change-Id: Ib758965c1eb53e1f7221e304fc808dc68136a219
2016-12-25 12:45:09 +00:00
Tim Landscheidt d9a7da14f1 Do not ignore .mli files
The pattern "*.mli" was incorrectly added to math/.gitignore by
159708754c with the comment "Compiled
source".  Actually, .mli files define the interfaces for the
corresponding .ml module.  They are manually created and maintained,
akin to .h files in C, and thus changes to them should not be ignored.

Change-Id: I1eee6b46f8f81a7a0085901f602eb7a1f4ae6fd4
2016-12-25 11:53:20 +00:00
jenkins-bot 513372bae2 Merge "Add class mwe-math-element to math elements" 2016-12-21 23:17:39 +00:00
tameeshb e674d7e73b Add class mwe-math-element to math elements
This is the fix for the bug that makes the whole page scroll when long 
equations are present in the wiki article.

Bug: T134281
Change-Id: I29f8df027384098cd0923bcfa23a914c8d887bba
2016-12-21 23:03:18 +00:00
Translation updater bot 7bf462f184 Localisation updates from https://translatewiki.net.
Change-Id: I657c2528dd7b08520ae59f3614b014bf5634a4a0
2016-12-19 22:46:32 +01:00
IvanFon b4eb57f164 Updated maintenance scripts to use $this->requireExtension()
Added $this->requireExtension() in maintenance/MathGenerateTests.php

Bug: T152139

Change-Id: I79670c9102e1ea97390edc4c8408d269f3967547
2016-12-17 15:23:58 -05:00
Translation updater bot 3b12174946 Localisation updates from https://translatewiki.net.
Change-Id: I40b5f4605f3cd1b7640ecf8cc4ad502856c7d33d
2016-12-15 23:17:26 +01:00
Translation updater bot dd1d513837 Localisation updates from https://translatewiki.net.
Change-Id: I0b2d5968722454f5f739f83923c9bbde0bfda85e
2016-12-12 22:31:34 +01:00
Translation updater bot e56ce0efcf Localisation updates from https://translatewiki.net.
Change-Id: If8eed32db4e65dece80a9cffd88390a921b50a87
2016-12-06 22:44:59 +01:00
Translation updater bot 1ab560fdb1 Localisation updates from https://translatewiki.net.
Change-Id: I416ebc326868452dbc4ed4fa8bf93bf05c5d6a85
2016-12-05 22:49:56 +01:00
Ed Sanders a182a9d332 Fix primary command name
Primary command name is used by double click and enter.
Make this launch the default edit action 'mathDialog'.

Change-Id: Ie7a87914a55ecc87769c4a1aa029b36966b83a04
2016-11-30 12:39:59 +00:00
Translation updater bot 7be2c2a314 Localisation updates from https://translatewiki.net.
Change-Id: I6f2800f72f843b348e27bbaaf05fc494f6f35551
2016-11-27 22:29:50 +01:00
Translation updater bot 81ad806ab0 Localisation updates from https://translatewiki.net.
Change-Id: I0706577bf1df18c1486025673c0da2650c0181b3
2016-11-24 22:20:39 +01:00
James D. Forrester a1292f458e build: Bump eslint-config-wikimedia to v0.3.0 (already passes)
Change-Id: I84a3a6c550a4989c6ef584b2289272204d1b6eb4
2016-11-15 16:37:57 -08:00
Translation updater bot 4e6a7d21f6 Localisation updates from https://translatewiki.net.
Change-Id: Ic181eac78947924a92c4d7f6097e75d1ed62bf4e
2016-11-15 22:55:53 +01:00
Ed Sanders 422ea757ae eslint: Re-enable wrap-iife and partially enable dot-notation
Also removed upstreamed spaced-comment rule.

Change-Id: Ide83abeedfea27c1f4574af0069d5a9fdb81de84
2016-11-15 13:13:05 +00:00
Translation updater bot 116f588fe2 Localisation updates from https://translatewiki.net.
Change-Id: I807853f5888051b4122c19c7407ebe05426d08ed
2016-11-14 22:55:34 +01:00
Umherirrender 7553b42b97 Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: I5e275167937fac192ef8c1afbe2747edef5f3bd3
2016-11-13 13:22:03 +01:00
Translation updater bot b0f1e2cb60 Localisation updates from https://translatewiki.net.
Change-Id: I2f18661ea1626b672ae1bc2c0c74a8063c696a4f
2016-11-08 22:46:52 +01:00
Translation updater bot 90eb79a5a7 Localisation updates from https://translatewiki.net.
Change-Id: I53006142656a56e6fcc15681eecf6023bcc6a8f1
2016-11-07 22:39:21 +01:00
Translation updater bot e88cc9e0a9 Localisation updates from https://translatewiki.net.
Change-Id: I23266e51718f14452f305e11697640d305ff840b
2016-11-01 22:45:38 +01:00
Translation updater bot 0b371783be Localisation updates from https://translatewiki.net.
Change-Id: I1db8ed007718e70bfe4c0ee2c127adc5d9452a4c
2016-10-29 22:49:27 +02:00