FANDOM


NoLicenseWarning shows warning message when user attempts to file upload without selecting license. However, they can upload file anyway by simple resending the form so it's just information script.

Installation

Custom message

If you want to use different warning message than default, add following code to MediaWiki:Wikia.js page on your wiki:

window.dev = window.dev || {};
window.dev.i18n = window.dev.i18n || {};
window.dev.i18n.overrides = window.dev.i18n.overrides || {};
window.dev.i18n.overrides['NoLicenseWarning'] = window.dev.i18n.overrides['NoLicenseWarning'] || {};
window.dev.i18n.overrides['NoLicenseWarning']['warning-text'] = 'Your custom warning message';
Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+