mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
03ef969122
This solves the (I believe) only regression we introduced: A bad fake reference like <span class="reference">[[Other article#Section]]</span> showed a page preview for the "Other article" before we introduced reference previews, but would have shown nothing after I9ec57e0. Checking if the link is a self-link solves this and possibly more related issues. Only self-links can point to a footnote on the same page. Manually created fake-references like <span class="reference">[[#Section]]</span> still have a chance to show nothing in case the manually created HTML does not strictly follow the expectations in the gateway. There is not much we can do about this. We should not accept any arbitrary HTML but need to make at least *some* assumptions. Bug: T214970 Change-Id: I86e91bf45c3ae4c6a4086f7f1c7b1280fd400d17 |
||
---|---|---|
.. | ||
dist | ||
ext.popups | ||
ext.popups.images |