MediaWiki:Common.js

//Redirect Special:Chat to Discord if (mw.config.get('wgPageName') === 'Special:Chat') { window.location = 'https://community.fandom.com/wiki/Discord'; }

//LockForums - lock after 60 days (default: 30) window.LockForums = { expiryDays: 60 };

window.AddRailModule = [{ page: 'MediaWiki:DiscordAMA', prepend: true }];

// Configuration for adoptions form window.adoptInternational = { unsupportedLanguages: ['es','de','fr','ru','it','nl','pl','pt','pt-br','zh'], adoptionConfig: { activityDays: 10, adminsDays: 60, permissionTypes: [ 'bureaucrat', 'sysop' ],   },    pageConfig: { namespace: 'Adoption', namespaceId: 118, adoptionsPage: 'Adoption:Requests' },   /**     * Wikitext schema for adoption requests created by this form * It uses Mustache.js template form *    * You add variables using the following syntax: ``. * If you want your variable to be unescaped (e.g. include HTML tags or URLs), you need to use ``. *    * This format doesn't particularly work with wikitext templates and magic words, thus I added `bStart` and `bEnd` * variables, which correspond to "" characters repsectively, but are to be used for *wikitext* syntax only. *    * Example: * `` will produce: "https:&#x2F;&#x2F;wiki.fandom.com&#x2F;xx&#x2F;f&#x2F;p&#x2F;420" * `` will produce: "https://wiki.fandom.com/xx" * `wikiURL` will produce: "" (wikitext) *    * List of available variables: * - Currently logged user * - name of the wiki they want to adopt * - URL of the wiki they want to adopt * - Type of permissions they request * - Number of days they were active in within last 10 days * - Number of admins active in last 60 days * - Their comments and rationale for adoption * - URL to Discussions post with community vote for their request *    * Technical: * - - replaced with "" */   wikitextSchema: "Adoption request\n" + "|1-User           = \n" + "|2-Link to wiki   = \n" + "|3-Rights type    = \n" + "|4-Your activity  = \n" + "|5-Admin activity = \n" + "|6-Your motivation = \n" + "|7-Community vote = \n" + "" };