Add the skin-invert class to latex symbols (insert chemical formula and
math formula dialogues) so that they appear legible in night mode. This
is likely the only way we can accomplish this until mathml is fully
rolled out, at which I believe this will no longer be necessary
Bug: T366737
Change-Id: Ia0dfa4ab684f5205d109da7f9aefad927be70eb0
* Be more specific about the type of context which a
context item belongs to.
* Make grammar clearer.
Change-Id: I6f7abc777c378be2f1ac3f8db678363664d46ccd
We can now serve the JSON data almost directly (although, curiously,
we need a main file in the module that is JavaScript, not JSON),
and without using global state in the JS code.
Change-Id: I203b3e396b28f4b4ef49c3c0918a4025082308c4
Add a mw.hook to enable gadget for T316816 reacting on opening the LatexDialog and
assign classes to ooui components to enable browser-JS manipulation.
Change-Id: Ib004c3e8b0926a0bd5febfaf4910bb4d9ed6bc58
This reverts commit 422be143f6.
Reason for revert: Caused hard dependancy on Wikibase
Bug: T313143
Change-Id: Ia6f551307f0fbaa2a3fc5747ed180e588c60b02f
Add the MathWbEntitySelector field to provide a dropdown menu which retrieves
the expression or qid from wikidata instead of the simple TextInputWidget to
edit the qid in the Visual Editor.
Change-Id: I0a6fddd2c2978c9c4f195d668458b8d2ed478d98
Makes it possilbe to change the QID of a formula in the visual editor
quick editor and in the dialog editor inside the options panel.
Change-Id: Ie4cb651939a59bf4446cd3e5327522d100eac5bf
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle
* mediawiki/minus-x: 1.1.0 → 1.1.1
npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
The following rules are failing and were disabled:
* no-useless-escape
Additional changes:
* Added the "composer phan" command to conveniently run phan.
Change-Id: I1c641a4945f94337ca22763920601400ee9ab691
The patch removes the following texvc macros conflicting with generic LaTeX syntax from the autocomplete suggestions of the visual formula editor:
* \and
* \or
* \pagecolor
* \part
* \ang
* \C
* \H
* \bold
* \Bbb
and replaces the following commands with the LaTeX equivalents in the visual formula editors math dialogue
* \and -> \land
* \or -> \lor
according to https://www.mediawiki.org/w/index.php?title=Extension:Math/Roadmap&oldid=2808288
Bug: T197842
Change-Id: Id3a085dc0a7551b582a9a0a759a838411d1ecf71