User:ParaNorman Bates/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:View Source/code.js',        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:MediaWiki:UserCheck/code.js',        'u:dev:MediaWiki:Wikificator.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:SOAPReport.js',        'u:dev:MediaWiki:PatrolPanel.js',        'u:dev:MediaWiki:Rollback/code.js'    ] });

window.Rollback = { confirm: true };

/********************************************************************************/ (function{ var prevY = 0; $(window).on('scroll', function (e) { var posY = $(window).scrollTop; if (prevY < posY) { $('.wds-global-navigation-wrapper').hide } else { $('.wds-global-navigation-wrapper').show }; prevY = $(window).scrollTop; }); });