User:Ohconfucius/script/flagcruft.js: Difference between revisions

Content deleted Content added
+GRB
flagicon (optional "image")
Line 287:
 
//strip bare icons
regex(/\{\{\s*flag ?icon\s*(?:image|)\|(?:[^{}]+|)\}\}[ ]*/gi, '');
regex(/\[\[(File|image):(Flag of |Bandera)[^|\]]+\.svg(?:\|[^\]]+)?\|\d{2,3}px(?:\|[^\]]+)?\]\][ ]?/gi, '');
regex(/\[\[\s*Image:Med \d\.png\s*\|\d\d?\s*px\s*\]\][ ]*/gi, '');