MediaWiki:View Raw/code.js

var url = new mw.Uri; url.query.action = 'raw'; $('.UserProfileActionButton .WikiaMenuElement, .wds-button-group .wds-list').append('Raw');