Is this sample outdated?
Apparently the code that is passed to mw.libs.ve.addPlugin
never gets a chance to run
Is this sample outdated?
Apparently the code that is passed to mw.libs.ve.addPlugin
never gets a chance to run
There are some strange race conditions with mw.libs.ve.addPlugin
(phab:T149758, phab:T157113, phab:T156346), but I just tried the code in the console and it worked for me.
Thanks for the quick reply.
It seems like a race condition, because although it doesn't work for me from the console, it does work (slightly modified) from common.js