Content deleted Content added
{{Please check ISBN}} is placed after the ISBN, not used as a replacement |
m get rid of warnings by using mw.config.get |
||
Line 122:
// It is convenient to embed in a help popup.
ct.hlink = function (toWhat, text) {
var wgServer =
var wgArticlePath =
var url = (wgServer + wgArticlePath).replace('$1', toWhat);
return '<a href="' + url + '" target="_blank">' + (text || toWhat) + '</a>';
Line 618:
// Wikipedia.
if (!ct.noDefaultRules && (!
// === Linking rules ===
Line 1,136:
ct.rules.push(function (s) {
var exceptions = {};
var wgTitle =
if (exceptions[wgTitle]) {
return [];
Line 1,181:
ct.rules.push(function (s) {
var wgTitle =
var reTitle = /^(a|the) (.*)$/i;
if (!reTitle.test(wgTitle) || (s.indexOf('DEFAULTSORT') !== -1)) {
Line 1,480:
});
} // end if (
|