Jump to content

MediaWiki talk:Gadget-purgetab.js

Add topic
From Wikisource
Latest comment: 7 years ago by Tpt in topic Throws error on Minerva skin

Throws error on Minerva skin

[edit]

When I visit https://en.wikisource.org/w/index.php?title=Page:Folk-lore_-_A_Quarterly_Review._Volume_16,_1905.djvu/532&useskin=minervaneue&debug=true I see

Uncaught TypeError: Cannot read property 'addEventListener' of null
    at HTMLDocument.<anonymous> (load.php?debug=true&lang=en&modules=ext.gadget.PurgeTab&only=scripts&skin=minerva&version=0yun4hp:23)
    at fire (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=minerva&version=0ynbgde:3148)
    at Object.fireWith [as resolveWith] (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=minerva&version=0ynbgde:3260)
    at Function.ready (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=minerva&version=0ynbgde:3472)
    at completed (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=minerva&version=0ynbgde:3503)

I guess the skins not compatible? Jdlrobson (talk) 14:08, 22 August 2017 (UTC)Reply

@Ankry: @Tpt: 67.245.150.136 17:58, 1 September 2017 (UTC)Reply
It's probably because mw.util.addPortletLink is not supported by Minerva. Tpt (talk) 18:18, 1 September 2017 (UTC)Reply