User:SleepyMode/rollbackmiraheze.js

///////////////////////////////////////////// // Made by SleepyMode to Miraheze Services // //           (C) Miraheze 2016            // /////////////////////////////////////////////

/*function forceload_smrbs{ var construct = new smrollbackscript or return false("Error: failed in constructing function[Error code 2]") }*/

// *.onLoad=forceload_smrbs;

class smrollbackscript { private constructor { this.author = "SleepyMode"; this.copyright = "(C) Miraheze 2016 and SleepyMode - All rights Reserved."; this.information = "Supposed to only add a Mass-Rollback script, As changed to be a script for rollback globaly."; this.usage = "Just DONT USE it yet!"; }	protected function miraheze_massrollback { var url = document.URL; function url_v { if( url.slice(25, 27) = "/w/" ) {				//TODO: with titles and stuff } else if( url.slice(25, 30) = "/wiki/" ) { //TODO: Normal "/" and "_", 100% normal. } else { return false("Error: failed in the verficiation of the URL - Not a Wiki[Error code 1]"); }		};		//TODO: Create ofcourse }	protected function rollback_message { //TODO: Create } }