Content deleted Content added
(bot/CD) |
(bot/CD) |
||
Line 351:
var version = "0.6.0";
var gitAbbrevHash = "
var gitBranch = "main";
var gitDate = "
var gitVersion = "0.6.0+
/**
Line 14,941:
}
/**
* A much more loose version of {@link CopyrightProblemsListing#getListing},
* which only checks if a given page is a link at the start of a paragraph or
* `<[uo]l>` list. Metadata is unavailable with this method.
*
* @param el
Line 15,054:
}
}
// `startLine` is only
// that if `startLine`
// in the page, then we've found the listing (and it is the last listing on the
// page, where `endLine` would have been set if it had comments).
if ((startLine != null && endLine != null) ||
(startLine != null && startLine === lines.length - 1)) {
return { start: startLine, end: endLine !== null && endLine !== void 0 ? endLine : startLine };
}
// Couldn't find an ending. Malformed listing?
// It should be nearly impossible to hit this condition.
// Gracefully handle this.
throw new Error("Couldn'
});
}
Line 15,075 ⟶ 15,081:
const range = yield this.getListingWikitextLines();
if (indent) {
// This usually isn't needed. {{CPC}} handles the bullet.
message = (this.element.parentElement.tagName === 'LI' ?
'*:' :
|