User:Psl631/common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 77:
"use strict";
document.getElementById( "t-upload" ).addEventListener( "click", function( evt ) {
if ( !alert( "Please upload files to <a href="http://commons.wikimedia.org" target="_blank">Commons</a>. Images used here are hosted by Wikimedia Commons." ) ) {
evt.preventDefault();
}
215

edits