w/skins/MinervaNeue/resources/skins.minerva.scripts/init.js
/**
	 * Initialize and inject the download button
	 *
	 * There are many restrictions when we can show the download button, this function should handle
	 * all device/os/operating system related checks and if device supports printing it will inject
	 * the Download icon
	 * @ignore
	 */
Initialize and inject the download button
There are many restrictions when we can show the download button, this function should handle
all device/os/operating system related checks and if device supports printing it will inject
the Download icon
@ignore
Initialize and inject the download button There are many restrictions when we can show the download button this function should handle all device / os / operating system related checks and if device supports printing it will inject the Download icon @ignore
function appendDownloadButton() {
		var downloadIcon = new DownloadIcon( skin, config.get( 'wgMinervaDownloadNamespaces' ), window );
		if ( downloadIcon.isAvailable( navigator.userAgent ) ) {
			downloadIcon.$el.insertAfter( '#ca-watch' );
			track( 'minerva.downloadAsPDF', {
				action: 'buttonVisible'
			} );
		}
	}
function appendDownloadButton ( ) { var downloadIcon = new DownloadIcon ( skin , config . get ( 'wgMinervaDownloadNamespaces' ) , window ) ; if ( downloadIcon . isAvailable ( navigator . userAgent ) ) { downloadIcon . $el . insertAfter ( '#ca-watch' ) ; track ( 'minerva.downloadAsPDF' , { action : 'buttonVisible' } ) ; } }
Initialize and inject the download button
 There are many restrictions when we can show the download button, this function should handle
 all device/os/operating system related checks and if device supports printing it will inject
 the Download icon
 @ignore
Initialize and inject the download button There are many restrictions when we can show the download button this function should handle all device / os / operating system related checks and if device supports printing it will inject the Download icon @ignore
// Because the page actions are floated to the right, their order in the // DOM is reversed in the display. The watchstar is last in the DOM and // left-most in the display. Since we want the download button to be to // the left of the watchstar, we put it after it in the DOM.