MediaWiki:Gadget-articlefeedback.js: Difference between revisions
Jump to navigation
Jump to search
(Created page with "// <nowiki> if (mw.config.get('wgNamespaceNumber') === 0 && mw.config.get('wgAction') === 'view' && mw.config.get('wgArticleId') > 0) { mw.loader.load( 'ext.gadget.articlefeedback-core' ); } if (mw.config.get('wgUserGroups').includes('autoconfirmed') && $('.gloop-feedback-wrapper').length > 0) { mw.loader.load( 'ext.gadget.articlefeedback-tools' ); } // </nowiki>") |
No edit summary Tag: Manual revert |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 17:14, 17 October 2024
// <nowiki>
if (mw.config.get('wgNamespaceNumber') === 0 && mw.config.get('wgAction') === 'view' && mw.config.get('wgArticleId') > 0) {
mw.loader.load( 'ext.gadget.articlefeedback-core' );
}
if (mw.config.get('wgUserGroups').includes('autoconfirmed') && $('.gloop-feedback-wrapper').length > 0) {
mw.loader.load( 'ext.gadget.articlefeedback-tools' );
}
// </nowiki>