Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Bosco/ReportSRG.js: Difference between revisions

From WikiOasis Meta
report users to SRG to req lock
 
mNo edit summary
 
Line 52: Line 52:
           var api=new mw.Api();
           var api=new mw.Api();
           try{
           try{
             await api.postWithEditToken({action:'edit',title:targetTitle,appendtext:'\n'+wikitext+'\n',summary:'Reporting user(s) for global lock'});
             await api.postWithEditToken({action:'edit',title:targetTitle,appendtext:'\n'+wikitext+'\n',summary:'Reporting user(s) for global lock) ([[User:Bosco/ReportSRG.js|ReportSRG]]'});
             mw.notify('Report successfully submitted to Steward requests on Meta',{type:'success'});
             mw.notify('Report successfully submitted to Steward requests on Meta',{type:'success'});
           }catch(e){
           }catch(e){
Cookies help us deliver our services. By using our services, you agree to our use of cookies.