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
SubtleUpdatemarker
ImageAnnotator
modrollback
DebugMode
responsiveContent
Shortdesc-helper-pagestyles-vector
CategoryAboveAll
find-archived-section
metadata
PrintOptions
ProveIt-classic
MenuTabsToggle
ReferenceTooltips
searchFocus
WatchlistChangesBold
ShowMessageNames
formWizard-core
purgetab
Vivarium
autonum
confirmationRollback-mobile
PageDescriptions
charinsert
dropdown-menus
MobileMaps
watchlist-notice
StickyTableHeaders
RegexMenuFramework
mobile-sidebar
XFDcloser-core-beta
XFDcloser-core
XFDcloser
revisionjumper
RTRC
WatchlistGreenIndicators
HideInterwikiSearchResults
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
OldDiff
libSensitiveIPs
UTCLiveClock-pagestyles
libLua
markblocked
ShowJavascriptErrors
ImageStackPopup
HideCentralNotice
topalert
HotCat
edittop
extra-toolbar-buttons-core
libSettings
righteditlinks
Prosesize