Page MenuHomePhabricator

Review VisualEditor postEdit handler for categories
Open, LowPublicBUG REPORT

Description

As discovered in T307251, VisualEditor after an edit modifies the Vector skin, adding last modified if needed, updating title and categories https://gerrit.wikimedia.org/g/mediawiki/extensions/VisualEditor/+/f247aea770e98a19636fba6ba03fe6e9055d977e/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js#1264

Going forward these may not be future proof and it may be better to provide Vector-specific handling.

More information

As demonstrated in Example skin, we're converting categories into menu data and moving away from a block of HTML:

$( '#footer-info' ).prepend(
				$( '<li>' ).attr( 'id', 'footer-info-lastmod' )
			);