Content deleted Content added
No edit summary |
No edit summary |
||
Line 6:
window.popupStructure = 'menus';
window.popupAdminLinks = true;
// initialize the array - only do this once
window.extraPopupFilters = [];
// define the function
function popupFilterHtmlTable (wikiText) {
if (/<table/i.test(wikiText)) return '<table>';
else return '';
};
// add the function for the array (you can repeat this for lots of functions)
extraPopupFilters.push(popupFilterHtmlTable);
|