Content deleted Content added
-1.25 |
-1.26 |
||
Line 1:
/// User:PerfektesChaos/js/citoidWikitext/core.js
// Execute core functionality for citoid on wikitext source editing
///
// ResourceLoader: compatible;
// dependencies: --
Line 17:
( function ( mw, $ ) {
"use strict";
var VERSION = -1.
MW_LIB = "citoidWikitext",
APIC = { },
Line 1,723:
// mw.util.getUrl()
// Remark: Used as event handler -- 'this' is not GUIP.gadget
// 2015-
var support = "https://" + I18N.fair( "helpSite", true )
+ ".wikipedia.org"
+ mw.util.getUrl( CITWT.support );
Line 2,449:
// mw.loader.getState()
// mw.loader.implement()
// 2015-
var source = address;
if ( ! mw.loader.getState( assigned ) ) {
if ( ! source ) {
source = "https://en.wikipedia.org"
+ "/w/index.php?title="
+ "User:PerfektesChaos/js/"
Line 2,644:
// Uses:
// > SIG
// > VERSION
// > .signature
// >< .core.loaded
Line 2,655 ⟶ 2,656:
// mw.loader.using()
// (TASK.fire)
//
var suitable = "|edit|submit|",
env;
Line 2,675 ⟶ 2,676:
UTIL.fetch( "opus" );
UTIL.feed( "user:PerfektesChaos/js/WikiSyntaxTextMod/U",
"WikiSyntaxTextMod/
+ "U",
( VERSION > 0 ? 604800 : 1000 ) );
if ( typeof CITWT.bibRecord !== "object" ) {
CITWT.bibRecord = false;
|