MediaWiki:HealdImages.js
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
$( function () {
// Finds an image info section and moves it to the bottom
var $imageInfo = $( '#mw-content-text .about-image-section' ),
$parserOutput = $( '#mw-content-text > .mw-parser-output' );
if ( $imageInfo.length ) {
$imageInfo.appendTo( $parserOutput );
}
moveFreeTextNs6();
} );
function moveFreeTextNs6(){
// Move freetext in File namespace HEAL-146
var target = $('.ns-6 #file .mw-filepage-resolutioninfo');
if(target.length){
$('#free-text-section').detach().insertBefore(target);
}
}