MediaWiki:Gadget-articlefeedback.js: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(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: Reverted
Line 1: Line 1:
// <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>
// <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>

Revision as of 17:12, 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>