mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-04 18:58:37 +00:00
da9b6fffbd
* In normal images, parse relative 'href' attributes instead of expanding them to absolute, and parse 'resource' to keep it identical to 'href' if they refer to the same page (including same percent-encoding and space/underscore). This resolves Parsoid generating |link= options for copy-pasted images (T193253). * In gallery images stuff, prefix the 'resource' attribute with './', same as normal images do. This causes no functional changes, but it makes updating tests easier, and the consistency is probably good. * Update test examples to also prefix 'resource' and relative 'href' attributes with './', like the real Parsoid does. Bug: T193253 Change-Id: If2d7f080d9d693568054f8311c1e1b15ca27ea5c |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.Converter.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.mwExample.js | ||
ve.dm.MWImageModel.test.js | ||
ve.dm.MWInternalLinkAnnotation.test.js | ||
ve.dm.SurfaceFragment.test.js |