Nutza:WikiBayer/del.js

Aus Wikipedia

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
            
             var wgpageName = encodeURI(mw.config.get('wgPageName'));
			if (mw.config.get('wgDBname') === 'barwiki') {
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Spam','Spam-löschen', 'a-delete', 'Spam');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Koa%20Artikl','Kein Artikel', 'a-delete', 'Kein Artikel');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Test','Test', 'a-delete', 'Test');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Unsinn','Unsinn', 'a-delete', 'Unsinn');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Vandalismus','Vandalismus', 'a-delete', 'Vandalismus');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Werbung%2FSpam','Werbung', 'a-delete', 'Werbung');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Nicht%20regelgem%C3%A4%C3%9Fe%20Diskussionsseite','Diskussionsseite', 'a-delete', 'Nicht regelgemäße Diskussionsseite');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Wunsch%20vom%20Nutza','Wunsch des Benutzers', 'a-delete', 'Wunsch des Benutzers');
						mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Fehlerhafte%20oder%20unnötige%20Weiterleitung','Weiterleitung', 'a-delete', 'Weiterleitung');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Vom%20%5B%5BSpezial%3ABeitr%C3%A4ge%2FInternetArchiveBot%7CInternetArchiveBot%5D%5D%20angelegte%20Diskussionsseite%20','InternetArchiveBot', 'a-delete', 'InternetArchiveBot');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Bild%20existeriert%20auf%20Commons','Commons', 'a-delete', 'Commons');
			}
			else if (mw.config.get('wgDBname') === 'metawiki') {
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Spam','Spam-löschen', 'a-delete', 'Spam');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=no%20useful%20content','no useful content', 'a-delete', 'no useful content');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=vandalism','vandalism', 'a-delete', 'vandalism');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=%5B%5BWM%3ACSD%23G7%7CG7%5D%5D%3A%20Out%20of%20project%20scope%3A%20please%20read%20Meta%27s%20%5B%5BWM%3AIP%7Cinclusion%20policy%5D%5D','Out of project scope', 'a-delete', 'Out of project scope');
		    mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=%5B%5BWM%3ACSD%23G9%7CG9%5D%5D%3A%20Attack%20page','Attack page', 'a-delete', 'Attack page');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=%5B%5BWM%3ACSD%23G1%7CG1%5D%5D%3A%20Test%2C%20please%20use%20the%20%5B%5BMeta%3ASandbox%7Csandbox%5D%5D','Test', 'a-delete', 'Testseite');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=%5B%5BWM%3ACSD%23G8%7CG8%5D%5D%3A%20Advertising%20or%20other%20inappropriate%20promotion','Werbung', 'a-delete', 'Werbung');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=%5B%5BWM%3ACSD%23G6%7CG6%5D%5D%3A%20Author%20request','Author request', 'a-delete', 'Author request');
			}
				else if (mw.config.get('wgDBname') === 'wikidatawiki') {
				
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Spam','Spam-löschen', 'a-delete', 'Spam');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=empty%20Item','empty', 'a-delete', 'emtpy');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=no%20useful%20content','no useful content', 'a-delete', 'no useful content');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=vandalism','vandalism', 'a-delete', 'vandalism');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Out%20of%20project%20scope','Out of project scope', 'a-delete', 'Out of project scope');
		    mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Attack%20page','Attack page', 'a-delete', 'Attack page');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Test page','Test', 'a-delete', 'Testseite');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Advertising%20or%20other%20inappropriate%20promotion','Werbung', 'a-delete', 'Werbung');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Author%20request','Author request', 'a-delete', 'Author request');
			}
			else {
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=no%20useful%20content%20%5B%5B%3Ameta%3AGlobal%20sysops%7C%28global%20sysop%20action%29%5D%5D','n-u-c-löschen', 'a-delete', 'no useful content');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=vandalism%20%5B%5B%3Ameta%3AGlobal%20sysops%7C%28global%20sysop%20action%29%5D%5D','vandalism', 'a-delete', 'vandalism');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Out%20of%20project%20scope%20%5B%5B%3Ameta%3AGlobal%20sysops%7C%28global%20sysop%20action%29%5D%5D','Out of project scope', 'a-delete', 'Out of project scope');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Author%20request%20%5B%5B%3Ameta%3AGlobal%20sysops%7C%28global%20sysop%20action%29%5D%5D','Author request', 'a-delete', 'Author request');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Machine%20translation%20%2F%20No%20meaningful%20content%20%5B%5B%3Ameta%3AGlobal%20sysops%7C%28global%20sysop%20action%29%5D%5D','Maschinenübersetzung', 'a-delete', 'Maschinenübersetzung');
			mw.util.addPortletLink('deletescript', 'https://' +  mw.config.get( 'wgServerName' ) + '/w/index.php?title=' + wgpageName + '&action=delete&wpReason=Unneeded%20or%20broken%20redirect%20%5B%5B%3Ameta%3AGlobal%20sysops%7C%28global%20sysop%20action%29%5D%5D','Weiterleitung', 'a-delete', 'Weiterleitung');

						}