Jump to content

User:SD0001/Gadget sizes

From Wikipedia, the free encyclopedia

Run the following JavaScript to see gadget sizes in the table:

$('.size').get().forEach(async e => {
    const name = e.dataset.name;
    const response = await fetch(mw.config.get('wgScriptPath') + `/load.php?modules=ext.gadget.${name}&skin=${mw.config.get('skin')}`);
    const content = await response.text();
    const size = content.length;
    e.textContent = mw.language.convertNumber(size);
});
Name Size (bytes)
dark-mode-toggle-pagestyles
ProveIt
WikiMiniAtlas
select2
ExternalSearch
Navigation_popups
imagelinks
libExtraUtil
defaultsummaries
SidebarTranslate
WatchlistBase
addsection-plus
UTCLiveClock
exlinks
formWizard
DotsSyntaxHighlighter
PrettyLog
legacyToolbar
dropdown-menus-pagestyles
switcher
removeAccessKeys
Shortdesc-helper
wikEdDiff
contribsrange
CollapsibleNav
CommentsInLocalTime
NewImageThumb
geonotice-core
wikEd
Twinkle-pagestyles
charinsert-core
RegexMenuFramework
SubtleUpdatemarker
ImageAnnotator
modrollback
PrintOptions
responsiveContent
Shortdesc-helper-pagestyles-vector
CategoryAboveAll
find-archived-section
metadata
MenuTabsToggle
ProveIt-classic
ReferenceTooltips
purgetab
searchFocus
WatchlistChangesBold
ShowMessageNames
formWizard-core
Vivarium
PageDescriptions
autonum
confirmationRollback-mobile
dropdown-menus
charinsert
MobileMaps
StickyTableHeaders
watchlist-notice
OldDiff
mobile-sidebar
XFDcloser-core-beta
XFDcloser-core
XFDcloser
revisionjumper
RTRC
HideInterwikiSearchResults
WatchlistGreenIndicators
DebugMode
dark-mode
addMe
XTools-ArticleInfo
DisambiguationLinks
WatchlistGreenIndicatorsMono
Twinkle
BugStatusUpdate
responsiveContentBaseTimeless
extra-toolbar-buttons
responsiveContentBase
morebits
responsiveContentTimeless
script-installer
widensearch
afchelper
search-new-tab
VectorClassic
dark-mode-toggle
Blackskin
refToolbarBase
disablesuggestions
GoogleTrans
NoAnimations
JustifyParagraphs
refToolbar
Calculator
NoSmallFonts
watchlist-notice-core
citations
geonotice
remove-sticky-decoration
libSensitiveIPs
UTCLiveClock-pagestyles
libLua
markblocked
ShowJavascriptErrors
ImageStackPopup
HideCentralNotice
topalert
HotCat
edittop
extra-toolbar-buttons-core
libSettings
righteditlinks
Prosesize