Content deleted Content added
-3.0 |
-3.2 |
||
Line 1:
/// User:PerfektesChaos/js/citoidWikitext/core.js
// Execute core functionality for citoid on wikitext source editing
/// 2017-05-
// ResourceLoader: compatible;
// dependencies: --
Line 17:
( function ( mw, $ ) {
"use strict";
var Version = -3.
MW_LIB = "citoidWikitext",
Sub = "core",
Line 177:
// (APIC.fault)
// Remark: Used as event handler -- 'this' is not APIC
// 2017-05-
var f, i, seek, service;
if ( typeof APIC.jq !== "object" ) {
Line 197:
APIC.jq.type = "POST";
} else if ( APIC.stateless ) {
window.___location. hostname + APIC.stateless;
} else {
APIC.jq.data = APIC.data;
Line 216:
APIC.jq.data = JSON.stringify( APIC.data );
} else if ( APIC.stateless ) {
APIC.jq.url =
} else {
APIC.jq.data.search = seek;
Line 402:
// > PROJ
// mw.config.get()
//
var r = false,
env, got, i, ns, sign, space, suffix;
Line 440:
case "DNB":
case "DOI":
case "ISBN":
case "LCCN":
case "OCLC":
case "PMC":
case "PMID":
case "RFC":
got = /^\|\s*([^|}]+)\s*[|}]/.exec( suffix );
if ( got ) {
|