मिडियाविकी:Gadget-NewImageThumb.js
चत्राय: सांबाळ्ळ्या उपरांत, तुका घडयेक तुज्या ब्रावसराचो कॅश कडसरावंक पडत बदल पळोंवचे खातीर.
- Firefox / Safari: Shift > धर Reload क्लीक करताना, वा दाम Ctrl-F5 वा Ctrl-R (⌘-R मॅक-आचेर)
- Google Chrome: Ctrl-Shift-R दाम (⌘-Shift-R एका मॅक-आचेर)
- Internet Explorer: Ctrl dhor Refresh क्लीक करताना, वा दाम Ctrl-F5
- Opera: हांगा वच: Menu → Settings (Opera → Preferences मॅक-आचेर) आनी उपरांत Privacy & security → Clear browsing data → Cached images and files.
/* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
* |_____________________________________________________________________________|
*
* New image thumb design
*
* @dependencies none
* @source en.wikipedia.org/wiki/MediaWiki:Gadget-NewImageThumb.js
* @revision 1
* @maintainer: Community
*/
mw.hook( 'wikipage.content' ).add( function( $content ) {
$content.find( '.thumbinner' ).not( '.mp-thumb' ).each( function() {
$( this ).css( 'width', ( parseInt( $( this ).css( 'width' ) ) - 2 ) + 'px' );
} );
} );