MediaWiki:Gadget-checkboxList.js

From Brighter Shores Wiki
Revision as of 16:22, 15 November 2024 by BlackHawk (talk | contribs) (Created page with "// <nowiki> $(function () { if ($("ul.checklist, div.checklist > ul, body:not(.ns-3000) ul:has(span[data-achievement-id])").length || (mw.config.get('wgAction') === 'edit' && mw.config.get('wgPageContentModel') === 'wikitext')) { mw.loader.load( 'ext.gadget.checkboxList-core' ); } }) // </nowiki>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.

  • In most Windows and Linux browsers: Hold down Ctrl and press F5.
  • In Safari: Hold down ⇧ Shift and click the Reload button.
  • In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
// <nowiki>
$(function () {
	if ($("ul.checklist, div.checklist > ul, body:not(.ns-3000) ul:has(span[data-achievement-id])").length ||
        (mw.config.get('wgAction') === 'edit' && mw.config.get('wgPageContentModel') === 'wikitext')) {
		mw.loader.load( 'ext.gadget.checkboxList-core' );
	}
})
// </nowiki>