mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-25 11:17:24 +00:00
Popups: Fix popups for extiw links
These links were not ignored due to a typo. This also threw an error, because these links produced query.interwiki and not in query.pages. Change-Id: I3b5c5b900209323e3e72b41e3b02e90f1f53b4eb
This commit is contained in:
parent
b656841f8f
commit
cc4d67c67c
|
@ -29,7 +29,7 @@
|
|||
* @property {Array} IGNORE_CLASSES
|
||||
*/
|
||||
mw.popups.IGNORE_CLASSES = [
|
||||
'.exitw',
|
||||
'.extiw',
|
||||
'.image',
|
||||
'.new',
|
||||
'.internal'
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
mw.popups.render.currentRequest = undefined;
|
||||
|
||||
if (
|
||||
!re.query.pages ||
|
||||
!re.query.pages[ re.query.pageids[ 0 ] ].extract ||
|
||||
re.query.pages[ re.query.pageids[ 0 ] ].extract === ''
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue