Go to file
Arlo Breault 2497a5254e Set alt in data-mw for non-img media
Follow up to I02ea8421e468635ba6297bb5cda488a5a79c9a1d the depends on
I7a5c24f6ffc15ff0455adf5b025b695ee71501b6 in Parsoid.

Note that the mediaTag isn't currently being passed around for gallery
image nodes so, for example, a <video> becomes an <img> as is.  But,
that's independent of this patch, and a follow up will fix it.
Noted in T348703#9278332

Bug: T348703
Bug: T214603
Change-Id: I5f7d3dfe0a41fac1568c97dccc41209c14e741d0
2023-10-25 13:23:47 -04:00
.jsduck Update VE core submodule to master (d90ae3a9c) 2023-08-10 13:59:51 -04:00
.phan build: Restore .phan/config.php 2023-10-06 16:51:51 +02:00
bin updateSubmodule: Put list in topo (merged), not written, order 2018-05-10 08:51:37 -07:00
build screenshots: Fix some bounding box reference elements 2023-07-03 14:19:55 +01:00
i18n Localisation updates from https://translatewiki.net. 2023-10-24 09:38:59 +02:00
includes Merge "Use options-messages to delay message parsing on Special:Preferences" 2023-10-13 23:37:16 +00:00
lib Update VE core submodule to master (8328d7330) 2023-10-16 11:15:45 -05:00
modules Set alt in data-mw for non-img media 2023-10-25 13:23:47 -04:00
screenshots
tests Stop injecting ServiceOptions in VisualEditorParsoidClientFactory 2023-08-30 17:05:17 +02:00
.eslintignore Implement add a reference edit check 2023-08-16 17:19:28 +01:00
.eslintrc.json Add basic end-to-end tests for action=visualeditor 2022-09-28 18:28:05 +02:00
.gitignore .gitignore: Add .vscode directory to .gitignore 2023-05-16 12:50:51 +01:00
.gitmodules .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported 2019-03-19 16:49:03 +00:00
.gitreview
.mailmap Update Legoktm's mailmap entry 2021-04-11 19:18:33 -07:00
.phpcs.xml ApiVisualEditor: Remove $wgTitle hack, set page for {{PAGENAME}} when needed 2022-02-28 23:43:54 +00:00
.stylelintrc.json build: Update stylelint-config-wikimedia 2023-08-21 16:06:40 +01:00
AUTHORS.txt Add VisualEditor's libraries to Special:Version 2023-05-10 08:46:51 +01:00
composer.json Exclude node_modules directories from phpcs 2023-10-12 16:52:22 -05:00
CONTRIBUTING.md doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
extension.json Merge "Fix handling of 'edit-local' and 'create-local' messages" 2023-10-13 15:31:12 +00:00
Gruntfile.js Update banana check to use config.MessagesDirs 2023-09-21 09:18:30 -05:00
jsduck.json Allow using native URL (or polyfill) 2023-01-03 22:18:00 +01:00
LICENSE.txt doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
package-lock.json build: Upgrade grunt-banana-checker from 0.11.0 to 0.11.1 2023-09-26 14:39:59 -04:00
package.json build: Upgrade grunt-banana-checker from 0.11.0 to 0.11.1 2023-09-26 14:39:59 -04: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