MediaWiki:Monaco.js

// This JS is to hide the edit button on the GTA 5 Wishlist page. Users should use the "click this link to add a suggestion" button to avoid people accidentally inserting suggestions at the top or deleting other peoples' suggestions. Eventually this should be imported into a template if possible.

function HideEditButton { try {

//If the article is the correct page, proceed if ( wgTitle == 'GTA 5 Wishlist' ) {

// Hide the edit button var EditThisPageButton = document.getElementById('ca-edit'); EditThisPageButton.style.display="none"; } } catch(e) { // In case it does not work, do nothing return; } }

addOnloadHook( HideEditButton );