Content deleted Content added
-3.3 |
-3.4 |
||
Line 1:
/// User:PerfektesChaos/js/citoidWikitext/core.js
// Execute core functionality for citoid on wikitext source editing
/// 2017-06-
// ResourceLoader: compatible;
// dependencies: --
Line 17:
( function ( mw, $ ) {
"use strict";
var Version = -3.
MW_LIB = "citoidWikitext",
Sub = "core",
Line 119:
// >< APIC.queries
// TASK.follow()
// 2017-06-
var n = APIC.queries.length,
i, j, q, r, ufo;
for ( i = 0; i < n; i++ ) {
r = APIC.results[ i ];
for ( j = 0; j < n; j++ ) {▼
q = APIC.queries[ j ];▼
if ( q === r.url ) {▼
r.lucky = true;▼
APIC.queries[ j ] = r;▼
r = false;▼
break; // for j▼
}▼
} // for j▼
if ( r ) {
▲ if ( q === r.url ) {
▲ r.lucky = true;
▲ r = false;
▲ break; // for j
▲ }
▲ } // for j
}
ufo.push( r );
}
▲ r.idResult = i;
▲ ufo.push( r );
}
} // for i
|