mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
f38bcde14e
This patch adds 'mw-cite-backlink' to the linkback span for both named and unnamed refs. This requires us to add a span wrapper for the unnamed refs case. Verified in local testing that this causes aria attributes to be added to the linkback tags in Parsoid HTML. This should likely fix other gadgets and code that rely on this class name to do their work. Strictly speaking, this is a breaking change since we add an extra span wrapper for the unnamed ref backlinks which *could* break anyone using a li > a[rel="mw:referencedBy"] selector. But, given the specificity of the a[rel] selector, the "li >" part is unnecessary and might not be used. So, if we wanted to push our luck (and break process), we could get this in. Alternatively, we could: - do this in the the read views OutputTransformPipeline. - do a real major version bump -- we would be exercising that functionality and have to fix and implement any missing pieces that may have broke as part of the RESTBase sunsetting. - not add the span wrapper and fix gadgets to explicitly look for both named and unnamed refs with their selectors. Bug: T328695 Change-Id: Icbd325ebd12cb42186c5b5220dc016835eb18b64 |
||
---|---|---|
.. | ||
bookReferencing.txt | ||
citeParserTests-knownFailures.json | ||
citeParserTests.txt | ||
citeSmokeTests.txt | ||
fragementModes.txt | ||
parserFunctionTests.txt | ||
responsiveReferences.txt |