Go to file
Thiemo Kreuz 0f309f5b90 Hide "required" indicator in new sidebar
The previous patch I15aa2c0 (approved by UX) was incomplete. The
required indicator was still shown, depending on the skin.

This patch also reduces the amount of generated HTML when it
doesn't have an effect anyway. At the moment an empty <span></span>
is generated for _every_ parameter in the dialog. That's potentially
hundreds. But the element is only needed for deprecated and
(in the old UI) required parameters.

A missing space is added while we touch this code anyway. The
missing whitespace between label and indicator icon is confirmed to
be a bug by UX.

Styles that are the same on all skins are moved to the .css file
that's loaded for all skins. Missing word-wrapping for overly long
template parameter names (on the right side of the dialog) is added.
The position of the indicator icon was broken on Minerva the moment
a parameter name is a bit longer. Fixed by replacing `inline-block`
with `inline`.

Bug: T290492
Change-Id: Ie346d88969cec2effaf90d328d08567ab7b7bf75
2021-09-14 18:05:11 +02:00
.jsduck More complete top-level part selection support in new sidebar 2021-08-27 19:16:00 +02:00
.phan Zero-configuration VisualEditor + PHP for MediaWiki LTS 2020-07-13 18:39:08 +00:00
bin
build Support watchlist expiry 2021-06-08 20:14:45 +00:00
i18n Localisation updates from https://translatewiki.net. 2021-09-14 08:33:27 +02:00
images Manually optimize BetaFeatures .svg files 2021-09-02 11:38:14 +02:00
includes Merge "Simplify some API PHP code where possible" 2021-09-07 14:54:05 +00:00
lib Update VE core submodule to master (f89945db3) 2021-09-13 09:25:59 -07:00
maintenance Avoid using User::setOption() 2021-03-30 21:47:04 +00:00
modules Hide "required" indicator in new sidebar 2021-09-14 18:05:11 +02:00
screenshots
tests/phpunit Add a first PHPUnit test for SpecialCollabPad 2021-08-26 12:09:59 +02:00
.eslintrc.json build: Remove max-len over-ride (leave as warning) 2021-06-28 11:30:06 +01:00
.gitignore eslint: Enable caching 2019-02-19 18:53:11 +00:00
.gitmodules .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported 2019-03-19 16:49:03 +00:00
.gitreview
.mailmap
.phpcs.xml Fix a series of minor style issues in PHP code 2021-06-03 15:55:38 +02:00
.stylelintrc.json build: Updating dependencies 2021-09-02 03:43:02 +00:00
AUTHORS.txt Update principal authors 2020-05-15 20:25:36 +01:00
composer.json build: Updating mediawiki/mediawiki-phan-config to 0.11.0 2021-09-05 00:16:17 +00:00
CONTRIBUTING.md doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
extension.json Add tests for ve.ui.MWParameterPage class 2021-09-11 17:39:17 +00:00
Gruntfile.js stylelint: Remove needless disables 2020-11-19 23:38:11 +00:00
jsduck.json Update all tests in the ve-mw module to use ES6 syntax 2021-04-30 08:07:54 +00:00
LICENSE.txt doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
package-lock.json build: Updating dependencies 2021-09-02 03:43:02 +00:00
package.json build: Updating dependencies 2021-09-02 03:43:02 +00:00
Rakefile
README.md Add newline to README.md to fx render issue 2021-09-03 14:54:50 +02:00
VisualEditor.i18n.alias.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00

VisualEditor

VisualEditor provides a visual editor for wiki pages. It is written in JavaScript and runs in a web browser.

It uses the Parsoid parser to convert wikitext documents to annotated HTML which the VisualEditor is able to load, modify and emit back to Parsoid at which point it is converted back into wikitext.

For more information about these projects, check out the VisualEditor and Parsoid pages on mediawiki.

Developing and installing

For information on installing VisualEditor on a local wiki, please see https://www.mediawiki.org/wiki/Extension:VisualEditor

For information about running tests and contributing code to VisualEditor, see CONTRIBUTING.md. Patch submissions are reviewed and managed with Gerrit. There is also API documentation available for the VisualEditor.

Terminology