mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
c7fce9b2be
We normalize underscores to spaces in sortkeys in toDataElement, but when toDomElements recomputes the normalization to decide if the sortkey really changed, it doesn't normalize underscores. This is broken, both code paths need to use the same normalization; we do this correctly for the category name. This bug appears to date back to the introduction of category support in March 2013 :( Spotted in https://it.wikipedia.org/?diff=67220927 Change-Id: Ie3257fa335f3bd24a36c8654f3f5a24e89d7a9b9 |
||
---|---|---|
.. | ||
ve.dm.MWAlienMetaItem.js | ||
ve.dm.MWCategoryMetaItem.js | ||
ve.dm.MWDefaultSortMetaItem.js | ||
ve.dm.MWDisplayTitleMetaItem.js | ||
ve.dm.MWHiddenCategoryMetaItem.js | ||
ve.dm.MWIndexDisableMetaItem.js | ||
ve.dm.MWIndexForceMetaItem.js | ||
ve.dm.MWLanguageMetaItem.js | ||
ve.dm.MWNewSectionEditDisableMetaItem.js | ||
ve.dm.MWNewSectionEditForceMetaItem.js | ||
ve.dm.MWNoContentConvertMetaItem.js | ||
ve.dm.MWNoEditSectionMetaItem.js | ||
ve.dm.MWNoGalleryMetaItem.js | ||
ve.dm.MWNoTitleConvertMetaItem.js | ||
ve.dm.MWRedirectMetaItem.js | ||
ve.dm.MWStaticRedirectMetaItem.js | ||
ve.dm.MWTOCDisableMetaItem.js | ||
ve.dm.MWTOCForceMetaItem.js | ||
ve.dm.MWTransclusionMetaItem.js |