Page MenuHomePhabricator

Exclusion of certain page images does not work – notpageimage does not work on <figure>
Open, Needs TriagePublic

Description

Steps to replicate the issue (include links if applicable):

What happens?:

Page image is Datei:Karte_A_Tirol_I.svg despite having notpageimage (on the <figure>, though)

<figure class="mw-halign-center noviewer notpageimage" typeof="mw:File" id="mwEL0"><a href="//de.wikipedia.org/wiki/Datei:Austria_adm_location_map.svg" class="mw-file-description" title="Innsbruck (Österreich)" id="mwEL4"><img alt="Innsbruck (Österreich)" resource="//de.wikipedia.org/wiki/Datei:Austria_adm_location_map.svg" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c6/Austria_adm_location_map.svg/155px-Austria_adm_location_map.svg.png" decoding="async" data-file-width="1256" data-file-height="700" data-file-type="drawing" height="86" width="155" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c6/Austria_adm_location_map.svg/233px-Austria_adm_location_map.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c6/Austria_adm_location_map.svg/310px-Austria_adm_location_map.svg.png 2x" class="mw-file-element" id="mwEL8"></a><figcaption id="mwEMA">Innsbruck (Österreich)</figcaption></figure>

What should have happened instead?:

A photo of the article is taken as page image.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change #1064122 had a related patch set uploaded (by Simon04; author: Simon04):

[mediawiki/extensions/PageImages@master] Add parser test for Extension:ImageMap

https://gerrit.wikimedia.org/r/1064122

Change #1064122 abandoned by Simon04:

[mediawiki/extensions/PageImages@master] Add parser test for Extension:ImageMap

https://gerrit.wikimedia.org/r/1064122