TheDJ has uploaded a new change for review. https://gerrit.wikimedia.org/r/174665
Change subject: Add error dialog handler on wikipage.content hook ...................................................................... Add error dialog handler on wikipage.content hook Bug: 73618 Change-Id: Ic5fe43df28fded2936add68a172b264ee22ce89c --- M modules/ext.scribunto.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto refs/changes/65/174665/1 diff --git a/modules/ext.scribunto.js b/modules/ext.scribunto.js index 8cb9646..f227214 100644 --- a/modules/ext.scribunto.js +++ b/modules/ext.scribunto.js @@ -41,7 +41,7 @@ } }; - $( mw.scribunto.init ); + mw.hook( 'wikipage.content' ).add( mw.scribunto.init ); } ) ( jQuery, mediaWiki ); -- To view, visit https://gerrit.wikimedia.org/r/174665 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic5fe43df28fded2936add68a172b264ee22ce89c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Scribunto Gerrit-Branch: master Gerrit-Owner: TheDJ <hartman.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits