Content deleted Content added
. |
. |
||
Line 85:
var getInfoboxTemplate = function getInfoboxTemplate(wikitext) {
var infoboxPattern = /\{\{\s*(.*?[Ii]nfobox.*?|IOS App)\s*(\|(?:.|\n)*?(?:(?:\{\{(?:.|\n)*?(?:(?:\{\{(?:.|\n)*?\}\})(?:.|\n)*?)*?\}\})(?:.|\n)*?)*|)\}\}\n?/;
var infoboxParts = infoboxPattern.exec(wikitext);
if (!infoboxParts || !infoboxParts[0] || !infoboxParts[1]) {
Line 1,474:
'{{Video Infobox game}}',
'{{Infobox book}}',
'{{Infobox foo}}',
'{{IOS Appy}}'
];
for (let infobox of infoboxesExpectedToFail) {
|