MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 162: Line 162:
infoboxes: ['.infobox', '.testchamber'], // Selectors of infobox-style boxes that should be deducted from the page's available width
infoboxes: ['.infobox', '.testchamber'], // Selectors of infobox-style boxes that should be deducted from the page's available width
ratioR: /ratio-(\d+)x(\d+)/i,
ratioR: /ratio-(\d+)x(\d+)/i,
widthsR: /widths((?:-\d+)+)/i,
widthsR: /widths((?:\D+\d+)+)/i,
setSize:function() {
setSize:function() {
var widths = youtubeHelper.widthsR.exec($(this).attr('class'));
var widths = youtubeHelper.widthsR.exec($(this).attr('class'));

Navigation menu