Go to file
Simon Legner fb4e80a1b1 Move HtmlUtils from mmv.bootstrap to mmv module
HtmlUtils is used for stripping HTML code. This is the responsibility of the individual UI components.

More specifically, MultimediaViewerBootstrap.processParsoidThumb no longer strips HTML code. Various UI components were already calling HtmlUtils.htmlToTextWithLinks. Only the error case in MultimediaViewer.loadImage newly needs HTML stripping applied.

Bug: T65504
Change-Id: If24b9c220a6ec43f35251a4ec6a716fd4ba03df6
2024-10-17 22:51:20 +00:00
.phan Use "optional_services" to inject service MobileContext 2024-04-02 19:55:01 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-10-15 09:41:34 +02:00
includes Merge MultimediaViewer bootstrap modules 2024-10-16 23:20:46 +00:00
resources Move HtmlUtils from mmv.bootstrap to mmv module 2024-10-17 22:51:20 +00:00
tests Move HtmlUtils from mmv.bootstrap to mmv module 2024-10-17 22:51:20 +00:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.28.0 and autofix 2024-06-07 17:33:12 +01:00
.gitignore build: Updating mediawiki/mediawiki-codesniffer to 26.0.0 2019-08-04 15:15:13 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:03:01 -07:00
.phpcs.xml Remove phpcs exclusion rule MediaWiki.Commenting.PropertyDocumentation.MissingVar 2023-10-23 20:58:07 +00:00
.stylelintrc.json Use Codex styles for buttons in mmv.bootstrap 2023-07-17 20:19:05 +00:00
.svgo.config.js build: Update SVGO to v3.0.2 2023-06-15 08:43:20 -07:00
AUTHORS Update AUTHORS 2024-06-15 08:52:46 +02:00
bundlesize.config.json Move HtmlUtils from mmv.bootstrap to mmv module 2024-10-17 22:51:20 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 14:22:27 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 22:09:43 +00:00
COPYING Initial commit - working demo 2013-09-03 16:52:28 -07:00
DEVELOPERS.md Follow-up 950577662: Put developer-focussed notes in DEVELOPERS.md 2020-02-24 12:08:52 -08:00
extension.json Move HtmlUtils from mmv.bootstrap to mmv module 2024-10-17 22:51:20 +00:00
Gruntfile.js eslint: Lint Gruntile.js using server rules 2022-02-07 16:38:38 +00:00
jsdoc.json build: Update jsdoc-wmf-theme to 1.1.0 2024-06-26 12:22:54 +01:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-25 06:13:19 +00:00
package.json build: Update jsdoc-wmf-theme to 1.1.0 2024-06-26 12:22:54 +01:00
README.md Add jsdoc to MMV 2023-06-12 22:08:14 +02:00

MultimediaViewer

Provided interface for viewing full-size, or nearly full-size, images in their browser without extraneous page loads or confusing interstitial pages.