MediaWiki:Common.js: Difference between revisions

From Tsadra Commons
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
mw.loader.load( 'https://use.fontawesome.com/releases/v5.0.7/js/all.js' );
mw.loader.load( 'https://use.fontawesome.com/releases/v5.0.8/js/all.js' );
mw.loader.load( 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css' );
mw.loader.load( 'https://code.jquery.com/jquery-3.2.1.slim.min.js' );
mw.loader.load( 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js' );
mw.loader.load( 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js' );
mw.loader.load( '/Volumes/TsadraData/HomeDirs/jeremi/GOTHAM-BLACK.TTF' );
 
$(document).ready(function(){
$(".mwe-upwiz-deed-ownwork").prepend('<div class="mwe-upwiz-license-custom"><span class="oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-framed oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" aria-disabled="false"><a class="oo-ui-buttonElement-button" role="button" tabindex="0" aria-disabled="false" rel="nofollow"><span class="oo-ui-iconElement-icon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Preview</span><span class="oo-ui-indicatorElement-indicator oo-ui-image-progressive"></span></a></span><div class="oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-textInputWidget oo-ui-textInputWidget-type-text" aria-disabled="false"><textarea tabindex="0" aria-disabled="false" class="oo-ui-inputWidget-input" name="license2_14_custom" id="license2_14_custom"></textarea><textarea tabindex="0" aria-disabled="false" class="oo-ui-inputWidget-input oo-ui-element-hidden" name="license2_14_custom" aria-hidden="true" rows="10" style="height: auto;"></textarea><span class="oo-ui-iconElement-icon"></span><span class="oo-ui-indicatorElement-indicator"></span></div></div>')
});

Latest revision as of 15:22, 16 April 2020

mw.loader.load( 'https://use.fontawesome.com/releases/v5.0.8/js/all.js' );