MediaWiki:Gadget-articlefeedback-core.js: Difference between revisions

no edit summary
(Created page with "→‎* <nowiki> * Gadget for the wiki article feedback feature. * @author Jayden: 'use strict'; (function($, mw){ var conf = mw.config.get([ 'wgNamespaceNumber', 'wgTitle', 'wgAction', 'wgArticleId', 'wgUserGroups' ]), self = { // Constants API_ENDPOINT: 'https://api.weirdgloop.org/wiki/feedback', RESTRICTED_PAGES: [ // List of pages where...")
 
No edit summary
Tag: Reverted
Line 18:
API_ENDPOINT: 'https://api.weirdgloop.org/wiki/feedback',
RESTRICTED_PAGES: [
// List of mw.pages where only logged-in users should see the feedback button
'Gender', 'Makeover Mage', 'Pronouns', 'Body type'
],
Line 244:
};
 
mw.loader.using(['mediawiki.api', 'ext.gadget.rsw-mw.util', 'oojs-ui-core', 'oojs-ui.styles.icons-interactions'], function () {
$(self.init);
});