text:
User:Flewis/twinklebatchdelete.js

// If TwinkleConfig aint exist. if( typeof( TwinkleConfig ) == 'undefined' ) { TwinkleConfig = {}; }

/** TwinkleConfig.summaryAd (string) If ad should be added or not to summary, default TWINKLE */ if( typeof( TwinkleConfig.summaryAd ) == 'undefined' ) { TwinkleConfig.summaryAd = " using TW"; }

/** TwinkleConfig.deletionSummaryAd (string) If ad should be added or not to deletion summary, default TWINKLE */ if( typeof( TwinkleConfig.deletionSummaryAd ) == 'undefined' ) { TwinkleConfig.deletionSummaryAd = " using TW"; }

/** TwinkleConfig.batchdeleteChunks (integer) How many pages should be processed at a time */ if( typeof( TwinkleConfig.batchDeleteChunks ) == 'undefined' ) { TwinkleConfig.batchdeleteChunks = 50; }

/** TwinkleConfig.batchDeleteMinCutOff (integer) How many pages left in the process of being completed should allow a new batch to be initialized */ if( typeof( TwinkleConfig.batchDeleteMinCutOff ) == 'undefined' ) { TwinkleConfig.batchDeleteMinCutOff = 5; } /** TwinkleConfig.batchMax (integer) How many pages should be processed maximum */ if( typeof( TwinkleConfig.batchMax ) == 'undefined' ) { TwinkleConfig.batchMax = 5000; }

function twinklebatchdelete { if( userIsInGroup( 'sysop' ) && (wgNamespaceNumber > 0 || wgCanonicalSpecialPageName == 'Prefixindex') ) { mw.util.addPortletLink( 'p-cactions', "javascript:twinklebatchdelete.callback", "d-batch", "tw-batch", "Delete pages found in this category/on this page", ""); } } $(twinklebatchdelete);

twinklebatchdelete.unlinkCache = {}; twinklebatchdelete.callback = function twinklesbatchdeleteCallback { if( wgCanonicalSpecialPageName == 'Prefixindex' && ! QueryString.exists( 'from' ) ) { // Hey, we need "something" at least return; }	var Window = new SimpleWindow( 800, 400 ); Window.setTitle( "Batch deletion" );

var form = new QuickForm( twinklebatchdelete.callback.evaluate ); form.append( {			type: 'checkbox',			list: [				{ 					label: 'Delete pages',					name: 'delete_page',					value: 'delete',					checked: true				},				{					label: 'Remove backlinks to the page',					name: 'unlink_page',					value: 'unlink',					checked: true				}			]		} ); form.append( {			type: 'textarea',			name: 'reason',			label: 'Reason: '		} ); if( wgNamespaceNumber == Namespace.CATEGORY ) {

var query = { 'action': 'query', 'generator': 'categorymembers', 'gcmtitle': wgPageName, 'gcmlimit' : TwinkleConfig.batchMax, // the max for sysops 'prop': [ 'categories', 'revisions' ], 'rvprop': [ 'size' ] };	} else if( wgCanonicalSpecialPageName == 'Prefixindex' ) { var query = { 'action': 'query', 'generator': 'allpages', 'gapnamespace': QueryString.get( 'namespace' ), 'gapprefix': QueryString.get( 'from' ).toUpperCaseFirstChar, 'gaplimit' : TwinkleConfig.batchMax, // the max for sysops 'prop' : ['categories', 'revisions' ], 'rvprop': [ 'size' ] }	} else { var query = { 'action': 'query', 'generator': 'links', 'titles': wgPageName, 'gpllimit' : TwinkleConfig.batchMax, // the max for sysops 'prop': [ 'categories', 'revisions' ], 'rvprop': [ 'size' ] };	}

var wikipedia_api = new Wikipedia.api( 'Grabbing pages', query, function( self ) {			var xmlDoc = self.responseXML;			var snapshot = xmlDoc.evaluate('//page[@ns != "' + Namespace.IMAGE + '" and not(@missing)]', xmlDoc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );			var list = [];			for ( var i = 0; i < snapshot.snapshotLength; ++i ) {				var object = snapshot.snapshotItem(i);				var page = xmlDoc.evaluate( '@title', object, null, XPathResult.STRING_TYPE, null ).stringValue;				var size = xmlDoc.evaluate( 'revisions/rev/@size', object, null, XPathResult.NUMBER_TYPE, null ).numberValue;

var disputed = xmlDoc.evaluate( 'boolean(categories/cl[@title="Category:Contested candidates for speedy deletion"])', object, null, XPathResult.BOOLEAN_TYPE, null ).booleanValue; list.push( {label:page + ' (' + size + ')' + ( disputed ? ' DISPUTED' : '' ), value:page, checked:!disputed }); }			self.params.form.append( {					type: 'checkbox',					name: 'pages',					list: list				}			) self.params.form.append( { type:'submit' } );

var result = self.params.form.render; self.params.Window.setContent( result );

} );

wikipedia_api.params = { form:form, Window:Window }; wikipedia_api.post; var root = document.createElement( 'div' ); Status.init( root ); Window.setContent( root ); Window.display; }

twinklebatchdelete.currentDeleteCounter = 0; twinklebatchdelete.currentUnlinkCounter = 0; twinklebatchdelete.currentdeletor; twinklebatchdelete.callback.evaluate = function twinklebatchdeleteCallbackEvaluate(event) { Wikipedia.actionCompleted.notice = 'Status'; Wikipedia.actionCompleted.postfix = 'batch deletion is now completed'; wgPageName = wgPageName.replace( /_/g, ' ' ); // for queen/king/whatever and country! var pages = event.target.getChecked( 'pages' ); var reason = event.target.reason.value; var delete_page = event.target.delete_page.checked; var unlink_page = event.target.unlink_page.checked; if( ! reason ) { return; }	Status.init( event.target ); if( !pages ) { Status.error( 'Error', 'nothing to delete, aborting' ); return; }

function toCall( work ) { if( work.length == 0 && twinklebatchdelete.currentDeleteCounter <= 0 && twinklebatchdelete.currentUnlinkCounter <= 0 ) { window.clearInterval( twinklebatchdelete.currentdeletor ); Wikipedia.removeCheckpoint; return; } else if( work.length != 0 && ( twinklebatchdelete.currentDeleteCounter <= TwinkleConfig.batchDeleteMinCutOff || twinklebatchdelete.currentUnlinkCounter <= TwinkleConfig.batchDeleteMinCutOff ) ) { twinklebatchdelete.unlinkCache = []; // Clear the cache var pages = work.shift; twinklebatchdelete.currentDeleteCounter += pages.length; twinklebatchdelete.currentUnlinkCounter += pages.length; for( var i = 0; i < pages.length; ++i ) { var page = pages[i]; var query = { 'action': 'query', 'titles': page }				var wikipedia_api = new Wikipedia.api( 'Checking if page ' + page + ' exists', query, twinklebatchdelete.callbacks.main ); wikipedia_api.params = { page:page, reason:reason, unlink_page:unlink_page, delete_page:delete_page }; wikipedia_api.post; }		}	}	var work = pages.chunk( TwinkleConfig.batchdeleteChunks ); Wikipedia.addCheckpoint; twinklebatchdelete.currentdeletor = window.setInterval( toCall, 1000, work ); } twinklebatchdelete.callbacks = { main: function( self ) { var xmlDoc = self.responseXML; var normal = xmlDoc.evaluate( '//normalized/n/@to', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue; if( normal ) { self.params.page = normal; }		var exists = xmlDoc.evaluate( 'boolean(//pages/page[not(@missing)])', xmlDoc, null, XPathResult.BOOLEAN_TYPE, null ).booleanValue;

if( ! exists ) { self.statelem.error( "It seems that the page doesn't exists, perhaps it has already been deleted" ); return; }		if( self.params.unlink_page ) { var query = { 'action': 'query', 'list': 'backlinks', 'blfilterredir': 'nonredirects', 'blnamespace': [0, 100], // main space and portal space only 'bltitle': self.params.page, 'bllimit': userIsInGroup( 'sysop' ) ? 5000 : 500 // 500 is max for normal users, 5000 for bots and sysops };			var wikipedia_api = new Wikipedia.api( 'Grabbing backlinks', query, twinklebatchdelete.callbacks.unlinkBacklinksMain ); wikipedia_api.params = self.params; wikipedia_api.post; } else { --twinklebatchdelete.currentUnlinkCounter; }		if( self.params.delete_page ) { var query = { 'action': 'query', 'list': 'backlinks', 'blfilterredir': 'redirects', 'bltitle': self.params.page, 'bllimit': userIsInGroup( 'sysop' ) ? 5000 : 500 // 500 is max for normal users, 5000 for bots and sysops };			var wikipedia_api = new Wikipedia.api( 'Grabbing backlinks', query, twinklebatchdelete.callbacks.deleteRedirectsMain ); wikipedia_api.params = self.params; wikipedia_api.post;

var query = { 'title': self.params.page, 'action': 'delete' };			var wikipedia_wiki = new Wikipedia.wiki( 'Deleting page ' + self.params.page, query, twinklebatchdelete.callbacks.deletePage, function( self ) { 					--twinklebatchdelete.currentDeleteCounter;					var link = document.createElement( 'a' );					link.setAttribute( 'href', wgArticlePath.replace( '$1', self.query['title'] ) );					link.setAttribute( 'title', self.query['title'] );					link.appendChild( document.createTextNode( self.query['title'] ) );					self.statelem.info( [ 'completed (', link , ')' ] );

} );			wikipedia_wiki.params = self.params;			wikipedia_wiki.followRedirect = false;			wikipedia_wiki.get;				} else {			--twinklebatchdelete.currentDeleteCounter;		}	},	deleteRedirectsMain: function( self ) {		var xmlDoc = self.responseXML;		var snapshot = xmlDoc.evaluate('//backlinks/bl/@title', xmlDoc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );

var total = snapshot.snapshotLength * 2;

if( snapshot.snapshotLength == 0 ) { return; }

var statusIndicator = new Status('Deleting redirects', '0%');

var onsuccess = function( self ) { var obj = self.params.obj; var total = self.params.total; var now = parseInt( 100 * ++(self.params.current)/total ) + '%'; obj.update( now ); self.statelem.unlink; if( self.params.current >= total ) { obj.info( now + ' (completed)' ); Wikipedia.removeCheckpoint; }		}		var onloaded = onsuccess;

var onloading = function( self ) {}

Wikipedia.addCheckpoint; if( snapshot.snapshotLength == 0 ) { statusIndicator.info( '100% (completed)' ); Wikipedia.removeCheckpoint; return; }

var params = clone( self.params ); params.current = 0; params.total = total; params.obj = statusIndicator;

for ( var i = 0; i < snapshot.snapshotLength; ++i ) { var title = snapshot.snapshotItem(i).value; var query = { 'title': title, 'action': 'delete' }			var wikipedia_wiki = new Wikipedia.wiki( "Deleting " + title, query, twinklebatchdelete.callbacks.deleteRedirects ); wikipedia_wiki.params = params; wikipedia_wiki.onloading = onloading; wikipedia_wiki.onloaded = onloaded; wikipedia_wiki.onsuccess = onsuccess; wikipedia_wiki.followRedirect = false; wikipedia_wiki.get; }	},	deleteRedirects: function( self ) { var form = this.responseXML.getElementById( 'deleteconfirm' ); if( ! form ) { // Hell, image deletion is b0rked :(			form = this.responseXML.getElementsByTagName( 'form' )[0];			var postData = {				'wpReason': "Speedy deleted per (CSD R1), Redirect to deleted page \"" + self.params.page + "\"." + TwinkleConfig.deletionSummaryAd,				'wpEditToken': form.wpEditToken.value			}		} else {

var postData = { 'wpWatch': form.wpWatch.checked ? '' : undefined, 'wpReason': "Speedy deleted per (CSD R1), Redirect to deleted page \"" + self.params.page + "\"." + TwinkleConfig.deletionSummaryAd, 'wpEditToken': form.wpEditToken.value }		}		self.post( postData ); },	deletePage: function( self ) { var form = this.responseXML.getElementById( 'deleteconfirm' ); var postData = { 'wpWatch': form.wpWatch.checked ? '' : undefined, 'wpReason': "Deleted because \"" + self.params.reason + "\"." + TwinkleConfig.deletionSummaryAd, 'wpEditToken': form.wpEditToken.value }		self.post( postData ); },	unlinkBacklinksMain: function( self ) { var xmlDoc = self.responseXML; var snapshot = xmlDoc.evaluate('//backlinks/bl/@title', xmlDoc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );

if( snapshot.snapshotLength == 0 ) { --twinklebatchdelete.currentUnlinkCounter; return; }

var statusIndicator = new Status('Unlinking backlinks', '0%');

var total = snapshot.snapshotLength * 2;

var onsuccess = function( self ) { var obj = self.params.obj; var total = self.params.total; var now = parseInt( 100 * ++(self.params.current)/total ) + '%'; obj.update( now ); self.statelem.unlink; if( self.params.current >= total ) { obj.info( now + ' (completed)' ); --twinklebatchdelete.currentUnlinkCounter; Wikipedia.removeCheckpoint; }		}		var onloaded = onsuccess;

var onloading = function( self ) {}

Wikipedia.addCheckpoint; if( snapshot.snapshotLength == 0 ) { statusIndicator.info( '100% (completed)' ); --twinklebatchdelete.currentUnlinkCounter; Wikipedia.removeCheckpoint; return; }		self.params.total = total; self.params.obj = statusIndicator; self.params.current =  0;

for ( var i = 0; i < snapshot.snapshotLength; ++i ) { var title = snapshot.snapshotItem(i).value; var query = { 'title': title, 'action': 'submit' }			var wikipedia_wiki = new Wikipedia.wiki( "Unlinking on " + title, query, twinklebatchdelete.callbacks.unlinkBacklinks ); var params = clone( self.params ); params.title = title;

wikipedia_wiki.params = params; wikipedia_wiki.onloading = onloading; wikipedia_wiki.onloaded = onloaded; wikipedia_wiki.onsuccess = onsuccess; wikipedia_wiki.get; }	},	unlinkBacklinks: function( self ) { var form = self.responseXML.getElementById('editform'); if( ! form ) { // we probably just deleted it, as a recursive backlink self.onsuccess( self ); Wikipedia.actionCompleted( self ); return; }		var text;

if( self.params.title in twinklebatchdelete.unlinkCache ) { text = twinklebatchdelete.unlinkCache[ self.params.title ]; } else { text = form.wpTextbox1.value; }		var old_text = text; var wikiPage = new Mediawiki.Page( text ); wikiPage.removeLink( self.params.page );

text = wikiPage.getText; twinklebatchdelete.unlinkCache[ self.params.title ] = text; if( text == old_text ) { // Nothing to do, return self.onsuccess( self ); Wikipedia.actionCompleted( self ); return; }		var postData = { 'wpMinoredit': form.wpMinoredit.checked ? '' : undefined, 'wpWatchthis': undefined, 'wpStarttime': form.wpStarttime.value, 'wpEdittime': form.wpEdittime.value, 'wpAutoSummary': form.wpAutoSummary.value, 'wpEditToken': form.wpEditToken.value, 'wpSummary': 'Removing backlinks to page ' + self.params.page + " that has been deleted because \"" + self.params.reason + "\")" + "; " + TwinkleConfig.deletionSummaryAd,			'wpTextbox1': text		};		self.post( postData );	} }

title: User:Flewis/twinklebatchdelete.js


text:
User:Flewis/twinklebatchprotect.js

// If TwinkleConfig aint exist. if( typeof( TwinkleConfig ) == 'undefined' ) { TwinkleConfig = {}; }

/** TwinkleConfig.summaryAd (string) If ad should be added or not to summary, default TWINKLE */ if( typeof( TwinkleConfig.summaryAd ) == 'undefined' ) { TwinkleConfig.summaryAd = " using TW"; }

/** TwinkleConfig.protectionSummaryAd (string) If ad should be added or not to protection summary, default TWINKLE */ if( typeof( TwinkleConfig.protectionSummaryAd ) == 'undefined' ) { TwinkleConfig.protectionSummaryAd = " using TW"; }

/** TwinkleConfig.batchProtectChunks (integer) How many pages should be processed at a time */ if( typeof( TwinkleConfig.batchProtectChunks ) == 'undefined' ) { TwinkleConfig.batchProtectChunks = 50; }

/** TwinkleConfig.batchProtectMinCutOff (integer) How many pages left in the process of being completed should allow a new batch to be initialized */ if( typeof( TwinkleConfig.batchProtectMinCutOff ) == 'undefined' ) { TwinkleConfig.batchProtectMinCutOff = 5; }

/** TwinkleConfig.batchMax (integer) How many pages should be processed maximum */ if( typeof( TwinkleConfig.batchMax ) == 'undefined' ) { TwinkleConfig.batchMax = 5000; }

function twinklebatchprotect { if( userIsInGroup( 'sysop' ) && (wgNamespaceNumber > 0 || wgCanonicalSpecialPageName == 'Prefixindex') ) { mw.util.addPortletLink( 'p-cactions', "javascript:twinklebatchprotect.callback", "p-batch", "tw-pbatch", "Protect pages found on this page", ""); } } $(twinklebatchprotect);

twinklebatchprotect.unlinkCache = {}; twinklebatchprotect.callback = function twinklesbatchprotectCallback { var Window = new SimpleWindow( 800, 400 ); Window.setTitle( "Batch protection" );

var form = new QuickForm( twinklebatchprotect.callback.evaluate ); form.append( {			type: 'select',			name: 'move',			label: 'Move protection',			list: [				{ 					label: 'Allow all users (still autoconfirmed)',					value: '',					selected: true				},				{ 					label: 'Block new and unregistered users',					value: 'autoconfirmed'				},				{					label: 'Block all non-admin users',					value: 'sysop'				}			]		} ); form.append( {			type: 'select',			name: 'edit',			label: 'Edit protection',			list: [				{ 					label: 'Allow all users',					value: '',					selected: true				},				{ 					label: 'Block new and unregistered users',					value: 'autoconfirmed'				},				{					label: 'Block all non-admin users',					value: 'sysop'				}			]		} ); form.append( {			type: 'select',			name: 'create',			label: 'Create protection',			list: [				{ 					label: 'Allow all users (still autoconfirmed)',					value: '',					selected: true				},				{ 					label: 'Block new and unregistered users',					value: 'autoconfirmed'				},				{					label: 'Block all non-admin users',					value: 'sysop'				}			]		} ); form.append( {			type: 'checkbox',			list: [				{					name: 'cascade',					label: 'Cascade protection'				}			]		} ); form.append( {			type: 'select',			name: 'expiry',			label: 'Expiration: ',			list: [				{ label: '15 minutes', value: '15 minutes' },				{ label: '30 minutes', value: '30 minutes' },				{ label: '45 minutes', value: '45 minutes' },				{ label: '1 hour', value: '1 hour' },				{ label: '2 hours', value: '2 hours' },				{ label: '3 hours', value: '3 hours' },				{ label: '6 hours', value: '6 hours' },				{ label: '12 hours', value: '12 hours' },				{ label: '1 day', value: '1 day' },				{ label: '2 days', value: '2 days' },				{ label: '3 days', value: '3 days' },				{ label: '4 days', value: '4 days' },				{ label: '5 days', value: '5 days' },				{ label: '6 days', value: '6 days' },				{ label: '1 week', value: '1 week' },				{ label: '2 weeks', value: '2 weeks' },				{ label: '1 month', value: '1 month' },				{ label: '2 months', value: '2 months' },				{ label: '3 months', value: '3 months' }, { label: '6 months', value: '6 months' }, { label: '1 year', value: '1 year' }, { label: '2 years', value: '2 years' }, { label: '3 years', value: '3 years' }, { label: '6 years', value: '6 years' }, { label: 'indefinite', selected: true, value:'indefinite' } ]		} );	form.append( { type: 'textarea', name: 'reason', label: 'Reason: ' } );

if( wgNamespaceNumber == Namespace.CATEGORY ) {

var query = { 'action': 'query', 'generator': 'categorymembers', 'gcmtitle': wgPageName, 'gcmlimit' : TwinkleConfig.batchMax, // the max for sysops 'prop': [ 'revisions' ], 'rvprop': [ 'size' ] };	} else if( wgCanonicalSpecialPageName == 'Prefixindex' ) { var query = { 'action': 'query', 'generator': 'allpages', 'gapnamespace': QueryString.get( 'namespace' ), 'gapprefix': QueryString.get( 'from' ).toUpperCaseFirstChar, 'gaplimit' : TwinkleConfig.batchMax, // the max for sysops 'prop' : [ 'revisions' ], 'rvprop': [ 'size' ] }	} else { var query = { 'action': 'query', 'gpllimit' : TwinkleConfig.batchMax, // the max for sysops 'generator': 'links', 'titles': wgPageName, 'prop': [ 'revisions' ], 'rvprop': [ 'size' ] };

}	var wikipedia_api = new Wikipedia.api( 'Grabbing pages', query, function( self ) {			var xmlDoc = self.responseXML;			var snapshot = xmlDoc.evaluate('//page', xmlDoc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );			var list = [];			for ( var i = 0; i < snapshot.snapshotLength; ++i ) {				var object = snapshot.snapshotItem(i);				var page = xmlDoc.evaluate( '@title', object, null, XPathResult.STRING_TYPE, null ).stringValue;				var size = xmlDoc.evaluate( 'revisions/rev/@size', object, null, XPathResult.NUMBER_TYPE, null ).numberValue;

list.push( {label:page + (size ? ' (' + size + ')' : '' ), value:page, checked: true }); }			self.params.form.append( {					type: 'checkbox',					name: 'pages',					list: list				}			) self.params.form.append( { type:'submit' } );

var result = self.params.form.render; self.params.Window.setContent( result );

} );

wikipedia_api.params = { form:form, Window:Window }; wikipedia_api.post; var root = document.createElement( 'div' ); Status.init( root ); Window.setContent( root ); Window.display; }

twinklebatchprotect.currentProtectCounter = 0; twinklebatchprotect.currentprotector; twinklebatchprotect.callback.evaluate = function twinklebatchprotectCallbackEvaluate(event) { wgPageName = wgPageName.replace( /_/g, ' ' ); // for queen/king/whatever and country! var pages = event.target.getChecked( 'pages' ); var reason = event.target.reason.value; var create = event.target.create.value; var edit = event.target.edit.value; var cascade = event.target.cascade.checked; var expiry = event.target.expiry.value; var move = event.target.move.value; if( ! reason ) { return; }	Status.init( event.target ); if( !pages ) { Status.error( 'Error', 'nothing to delete, aborting' ); return; }

function toCall( work ) { if( work.length == 0 && twinklebatchprotect.currentProtectCounter <= 0 ) { Status.info( 'work done' ); window.clearInterval( twinklebatchprotect.currentprotector ); Wikipedia.removeCheckpoint; return; } else if( work.length != 0 && twinklebatchprotect.currentProtectCounter <= TwinkleConfig.batchProtectMinCutOff ) { var pages = work.shift; twinklebatchprotect.currentProtectCounter += pages.length; for( var i = 0; i < pages.length; ++i ) { var page = pages[i]; var query = { 'action': 'query', 'titles': page }				var wikipedia_api = new Wikipedia.api( 'Checking if page ' + page + ' exists', query, twinklebatchprotect.callbacks.main ); wikipedia_api.params = { page:page, reason:reason, move: move, edit: edit, create: create, expiry: expiry, cascade: cascade 	}; wikipedia_api.post; }		}	}	var work = pages.chunk( TwinkleConfig.batchProtectChunks ); Wikipedia.addCheckpoint; twinklebatchprotect.currentprotector = window.setInterval( toCall, 1000, work ); } twinklebatchprotect.callbacks = { main: function( self ) { var xmlDoc = self.responseXML; var normal = xmlDoc.evaluate( '//normalized/n/@to', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue; if( normal ) { self.params.page = normal; }

var query = { 'title': self.params.page, 'action': 'protect' };		var wikipedia_wiki = new Wikipedia.wiki( 'Protecting page ' + self.params.page, query, twinklebatchprotect.callbacks.protectPage, function( self ) { 				--twinklebatchprotect.currentProtectCounter;				var link = document.createElement( 'a' );				link.setAttribute( 'href', wgArticlePath.replace( '$1', self.query['title'] ) );				link.setAttribute( 'title', self.query['title'] );				link.appendChild( document.createTextNode( self.query['title'] ) );				self.statelem.info( [ 'completed (', link , ')' ] );

} );		wikipedia_wiki.params = self.params;		wikipedia_wiki.followRedirect = false;		wikipedia_wiki.get;			},	protectPage: function( self ) {		var form = self.responseXML.getElementById( 'mw-Protect-Form' );		var postData = {			'wpEditToken': form.wpEditToken.value,			'mwProtectWatch': form.mwProtectWatch.checked ?  : undefined,			'mwProtect-cascade': self.params.cascade ?  : undefined,			'mwProtect-expiry': self.params.expiry != 'indefinite' ? self.params.expiry : undefined,			'mwProtect-level-edit': self.params.edit,			'mwProtect-level-move': self.params.move,			'mwProtect-level-create': self.params.create,			'mwProtect-reason': self.params.reason + TwinkleConfig.protectionSummaryAd		};

self.post( postData ); } }

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

title: User:Flewis/twinklebatchprotect.js


text:
User:Flewis/twinkleimagetraverse.js

// If TwinkleConfig aint exist. if( typeof( TwinkleConfig ) == 'undefined' ) { TwinkleConfig = {}; }

/** TwinkleConfig.summaryAd (string) If ad should be added or not to summary, default TWINKLE */ if( typeof( TwinkleConfig.summaryAd ) == 'undefined' ) { TwinkleConfig.summaryAd = " using TW"; }

/** TwinkleConfig.deletionSummaryAd (string) If ad should be added or not to deletion summary, default TWINKLE */ if( typeof( TwinkleConfig.deletionSummaryAd ) == 'undefined' ) { TwinkleConfig.deletionSummaryAd = " using TW"; }

function twinkleimagetraverse { if( userIsInGroup( 'sysop' ) && wgNamespaceNumber == Namespace.CATEGORY ) {

mw.util.addPortletLink( 'p-cactions', "javascript:twinkleimagetraverse.callback", "traverse", "tw-imagetraverse", "Traverse category", ""); } } $(twinkleimagetraverse);

twinkleimagetraverse.basequery = { 'action': 'query', 'rawcontinue': '', 'generator': 'categorymembers', 'gcmtitle': wgPageName, 'gcmnamespace': Namespace.IMAGE, 'gcmlimit' : 1, 'prop': [ 'imageinfo', 'categories', 'revisions' ], 'rvlimit': 20, 'iihistory': true, 'rvprop': [ 'user', 'size', 'flags', 'ids', 'comment', 'timestamp' ], 'iiprop': [ 'timestamp', 'user', 'url', 'size', 'comment' ] }; twinkleimagetraverse.callback = function { var Window = new SimpleWindow( 1200, 800 ); Window.setTitle( "Image traverse" ); var form = new QuickForm( twinkleimagetraverse.callback.evaluate ); form.append( {			type: 'button',			label: 'Skip',			event: twinkleimagetraverse.callbacks.skip		} ); form.append( {			type: 'button',			label: 'Delete',			event: twinkleimagetraverse.callbacks.deleteMain		} ); form.append( {			type: 'input',			label: 'Reason',			name: 'reason',			value: 'Speedy deleted',			size: 80		} ); form.append( {			type: 'checkbox',			list: [				{					label: 'Remove image instances to the image',					name: 'unlink',					value: 'unlink',					checked: true				}			]		} ); var root = document.createElement( 'table' );

root.style.background = 'transparent'; root.style.height = '780px'; var row = root.appendChild( document.createElement( 'tr' ) ); var options = row.appendChild( document.createElement( 'td' ) ); options.setAttribute( 'colspan', 2 ); var rendered = form.render; options.appendChild( rendered );

rendered.root = root;

options.style.borderBottom = '1px solid gray'; options.style.height = '80px'; var row = root.appendChild( document.createElement( 'tr' ) ); var oview = row.appendChild( document.createElement( 'td' ) ); var ohistbox = row.appendChild( document.createElement( 'td' ) ); ohistbox.style.width = '250px'; ohistbox.style.verticalAlign = 'top'; var histbox = ohistbox.appendChild( document.createElement( 'div' ) ); histbox.style.overflow = 'auto'; histbox.style.height = '500px'; oview.style.verticalAlign = 'top'; var view = oview.appendChild( document.createElement( 'div' ) ); view.style.height = '500px'; view.style.overflow = 'auto'; var row = root.appendChild( document.createElement( 'tr' ) ); var ostatus = row.appendChild( document.createElement( 'td' ) ); ostatus.style.borderTop = '1px solid gray'; ostatus.setAttribute( 'colspan', 2 ); var status = ostatus.appendChild( document.createElement( 'div' ) ); ostatus.style.verticalAlign = 'top'; status.style.height = '180px'; status.style.overflow = 'auto'; Wikipedia.actionCompleted.event = function {} // just avoid it	var wikipedia_api = new Wikipedia.api( 'Grabbing images', twinkleimagetraverse.basequery, twinkleimagetraverse.callbacks.main ); wikipedia_api.params = { root:root, view:view, histbox:histbox, status:status, Window:Window }; root.params = wikipedia_api.params; wikipedia_api.post;

Status.init( status ); Window.setContent( root ); Window.display; }

twinkleimagetraverse.callback.evaluate = function { }

function make_wikilink( page, title, oldid, diff ) { var query = { 'title': page, 'diff': diff, 'oldid': oldid }	var url = wgScriptPath + '/index.php?' + QueryString.create( query ); var a = document.createElement( 'a' ); a.setAttribute( 'href', url ); a.setAttribute( 'title', page ); a.appendChild( document.createTextNode( title ) ); return a; }

twinkleimagetraverse.callbacks = { main: function( self ) { var xmlDoc = self.responseXML;

var image = xmlDoc.evaluate( '//pages/page/@title', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue;

if( !image ) { alert( 'no more images' ); return; }		var next = xmlDoc.evaluate( '//query-continue/categorymembers/@gcmcontinue', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue; var pagehistory = xmlDoc.evaluate( '//pages/page/revisions/rev', xmlDoc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null ); var filehistory = xmlDoc.evaluate( '//pages/page/imageinfo/ii', xmlDoc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null ); var categories = xmlDoc.evaluate( '//pages/page/categories/cl', xmlDoc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null );

var pagehistorylist = document.createElement( 'ul' ); var filehistorylist = document.createElement( 'ul' ); var categorylist = document.createElement( 'ul' );

var entry = document.createElement( 'li' );

for( var i = 0; i < pagehistory.snapshotLength; ++i ) { var cur = pagehistory.snapshotItem(i); var tmp = entry.cloneNode(false); tmp.appendChild( make_wikilink( image, cur.getAttribute( 'timestamp' ), cur.getAttribute( 'revid' ) ) ); tmp.appendChild( document.createTextNode( ' ' ) ); tmp.appendChild( make_wikilink( 'User:' + cur.getAttribute( 'user' ), cur.getAttribute( 'user' ) ) ); tmp.appendChild( document.createTextNode( ' \(' + ( new Bytes( cur.getAttribute( 'size' ) ) ).toString + '\) \(' ) );			tmp.appendChild( document.createElement( 'em' ) ).appendChild(document.createTextNode( cur.getAttribute( 'comment' ) ) );			tmp.appendChild( document.createTextNode( '\)' ) ); pagehistorylist.appendChild( tmp ); }		for( var i = 0; i < filehistory.snapshotLength; ++i ) { var cur = filehistory.snapshotItem(i); var tmp = entry.cloneNode(false); var link = document.createElement( 'a' ); link.setAttribute( 'href', cur.getAttribute( 'url' ) ); link.appendChild( document.createTextNode( cur.getAttribute( 'timestamp' ) ) ); tmp.appendChild( link ); tmp.appendChild( document.createTextNode( ' ' ) ); tmp.appendChild( make_wikilink( 'User:' + cur.getAttribute( 'user' ), cur.getAttribute( 'user' ) ) ); tmp.appendChild( document.createTextNode( ' \(' + ( new Bytes( cur.getAttribute( 'size' ) ) ).toString + '\) \(' ) );			tmp.appendChild( document.createElement( 'em' ) ).appendChild(document.createTextNode( cur.getAttribute( 'comment' ) ) );			tmp.appendChild( document.createTextNode( '\)' ) ); filehistorylist.appendChild( tmp ); }

for( var i = 0; i < categories.snapshotLength; ++i ) { var cur = categories.snapshotItem(i); var tmp = entry.cloneNode(false); tmp.appendChild( make_wikilink( cur.getAttribute( 'title' ), cur.getAttribute( 'title' ).replace( /Category:/, '' ) ) ); categorylist.appendChild( tmp ); }		self.params.next = next; self.params.image = image; var hist = self.params.histbox; while( hist.hasChildNodes ) { hist.removeChild( hist.lastChild ); }		hist.appendChild( document.createElement( 'h2' ) ).appendChild( document.createTextNode( 'Image usage' ) ); var placeholder = hist.appendChild( document.createElement( 'div' )); placeholder.appendChild( document.createTextNode( 'Grabbing data...' ) ); self.params.imageusageplaceholder = placeholder; hist.appendChild( document.createElement( 'h2' ) ).appendChild( document.createTextNode( 'Page history' ) ); hist.appendChild( pagehistorylist ); hist.appendChild( document.createElement( 'h2' ) ).appendChild( document.createTextNode( 'File history' ) ); hist.appendChild( filehistorylist ); hist.appendChild( document.createElement( 'h2' ) ).appendChild( document.createTextNode( 'Categories' ) ); hist.appendChild( categorylist );

var query = { 'action': 'parse', 'title': image, 'text': '\{\{Wikipedia:WikiProject User scripts/Scripts/Twinkle/Template|' + image.replace(/^Image:/, '') + '\}\}', 'prop': 'text' }		var wikipedia_api = new Wikipedia.api( 'Rendering', query, twinkleimagetraverse.callbacks.render1 ); wikipedia_api.params = self.params; wikipedia_api.post; },	render1: function( self ) { var xmlDoc = self.responseXML; var html = xmlDoc.evaluate( '//parse/text', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue; self.params.view.innerHTML = html; // gah!

// add instance usage var query = { 'action': 'query', 'list': 'imageusage', 'iutitle': self.params.image, 'iulimit': 20, 'iufilterredir': 'nonredirects' }		var wikipedia_api = new Wikipedia.api( 'Rendering', query, twinkleimagetraverse.callbacks.render2 ); wikipedia_api.params = self.params; wikipedia_api.post; },	render2: function( self ) { var xmlDoc = self.responseXML; var usage = xmlDoc.evaluate( '//imageusage/iu', xmlDoc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null );

var usagelist = document.createElement( 'ul' );

var entry = document.createElement( 'li' );

for( var i = 0; i < usage.snapshotLength; ++i ) { var cur = usage.snapshotItem(i); var tmp = entry.cloneNode(false); tmp.appendChild( make_wikilink( cur.getAttribute( 'title' ), cur.getAttribute( 'title' ) ) ); usagelist.appendChild( tmp ); }		var hist = self.params.histbox; hist.replaceChild( usagelist, self.params.imageusageplaceholder );

},	next: function( params ) { twinkleimagetraverse.basequery['gcmcontinue'] = params.next; var wikipedia_api = new Wikipedia.api( 'Grabbing images', twinkleimagetraverse.basequery, twinkleimagetraverse.callbacks.main ); wikipedia_api.params = params; wikipedia_api.post; },	skip: function( event ) { var form = event.target.form; var params = form.root.params; twinkleimagetraverse.callbacks.next( params ); Status.info( 'Skipped', params.image ); },	deleteMain: function( event ) { var form = event.target.form; var params = form.root.params; params.reason = form.reason.value;

if( form.unlink.checked ) { var query = { 'action': 'query', 'list': 'imageusage', 'titles': params.image, 'iulimit': 5000, 'iufilterredir': 'nonredirects' };			var wikipedia_api = new Wikipedia.api( 'Grabbing image links', query, twinkleimagetraverse.callbacks.unlinkImageInstancesMain ); wikipedia_api.params = params;

wikipedia_api.post; }		var query = { 'title': params.image, 'action': 'delete' };		var wikipedia_wiki = new Wikipedia.wiki( 'Deleting image ' + params.image, query, twinkleimagetraverse.callbacks.deleteImage, function( self ) {				twinkleimagetraverse.callbacks.next( self.params );				self.statelem.unlink;				Status.info( 'Deleted', self.params.image );

});		wikipedia_wiki.params = params;		wikipedia_wiki.followRedirect = false;		wikipedia_wiki.get;		},	deleteImage: function( self ) {		var form = this.responseXML.getElementById( 'deleteconfirm' );		if( ! form ) { // Hell, image deletion is b0rked :( form = this.responseXML.getElementsByTagName( 'form' )[0]; var postData = { 'wpDeleteReasonList': 'other', 'wpReason': "Deleted because \"" + self.params.reason + "\"." + TwinkleConfig.deletionSummaryAd, 'wpEditToken': form.wpEditToken.value }			self.post( postData ); } else {

var postData = { 'wpWatch': form.wpWatch.checked ? '' : undefined, 'wpDeleteReasonList': 'other', 'wpReason': "Deleted because \"" + self.params.reason + "\"." + TwinkleConfig.deletionSummaryAd, 'wpEditToken': form.wpEditToken.value }			self.post( postData ); }	},	unlinkImageInstancesMain: function( self ) { var xmlDoc = self.responseXML; var snapshot = xmlDoc.evaluate('//imageusage/iu/@title', xmlDoc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );

if( snapshot.snapshotLength == 0 ) { return; }

var statusIndicator = new Status('Unlinking instances image', '0%');

var total = snapshot.snapshotLength * 2;

var onsuccess = function( self ) { var obj = self.params.obj; var total = self.params.total; var now = parseInt( 100 * ++(self.params.current)/total ) + '%'; obj.update( now ); self.statelem.unlink; if( self.params.current >= total ) { obj.info( now + ' (completed)' ); Wikipedia.removeCheckpoint; }		}		var onloaded = onsuccess;

var onloading = function( self ) {}

Wikipedia.addCheckpoint; if( snapshot.snapshotLength == 0 ) { statusIndicator.info( '100% (completed)' ); Wikipedia.removeCheckpoint; return; }		self.params.total = total; self.params.obj = statusIndicator; self.params.current =  0;

for ( var i = 0; i < snapshot.snapshotLength; ++i ) { var title = snapshot.snapshotItem(i).value; var query = { 'title': title, 'action': 'submit' }			var wikipedia_wiki = new Wikipedia.wiki( "Unlinking on " + title, query, twinkleimagetraverse.callbacks.unlinkImageInstances ); var params = clone( self.params ); params.title = title;

wikipedia_wiki.params = params; wikipedia_wiki.onloading = onloading; wikipedia_wiki.onloaded = onloaded; wikipedia_wiki.onsuccess = onsuccess; wikipedia_wiki.get; }	},	unlinkImageInstances: function( self ) { var image = self.params.image.replace( /^Image:/, '' ); var form = self.responseXML.getElementById('editform'); var text;

if( self.params.title in twinkledeli.unlinkCache ) { text = twinkledeli.unlinkCache[ self.params.title ]; } else { text = form.wpTextbox1.value; }		var old_text = text; var wikiPage = new Mediawiki.Page( text ); wikiPage.commentOutImage( image, 'Commented out because image was deleted' );

text = wikiPage.getText; twinkledeli.unlinkCache[ self.params.title ] = text; if( text == old_text ) { // Nothing to do, return self.onsuccess( self ); Wikipedia.actionCompleted( self ); return; }		var postData = { 'wpMinoredit': form.wpMinoredit.checked ? '' : undefined, 'wpWatchthis': undefined, 'wpStarttime': form.wpStarttime.value, 'wpEdittime': form.wpEdittime.value, 'wpAutoSummary': form.wpAutoSummary.value, 'wpEditToken': form.wpEditToken.value, 'wpSummary': 'Removing instance of image ' + image + " that has been deleted because \"" + self.params.reason + "\")" + "; " + TwinkleConfig.deletionSummaryAd,			'wpTextbox1': text		};		self.post( postData );	} }

title: User:Flewis/twinkleimagetraverse.js


text:
User:Flewis/twinklebatchundelete.js

// If TwinkleConfig aint exist. if( typeof( TwinkleConfig ) == 'undefined' ) { TwinkleConfig = {}; }

/** TwinkleConfig.deletionSummaryAd (string) If ad should be added or not to deletion summary, default TWINKLE */ if( typeof( TwinkleConfig.deletionSummaryAd ) == 'undefined' ) { TwinkleConfig.deletionSummaryAd = " using TW"; } /** TwinkleConfig.batchundeleteChunks (integer) How many pages should be processed at a time */ if( typeof( TwinkleConfig.batchUndeleteChunks ) == 'undefined' ) { TwinkleConfig.batchundeleteChunks = 50; }

/** TwinkleConfig.batchUndeleteMinCutOff (integer) How many pages left in the process of being completed should allow a new batch to be initialized */ if( typeof( TwinkleConfig.batchUndeleteMinCutOff ) == 'undefined' ) { TwinkleConfig.batchUndeleteMinCutOff = 5; } /** TwinkleConfig.batchMax (integer) How many pages should be processed maximum */ if( typeof( TwinkleConfig.batchMax ) == 'undefined' ) { TwinkleConfig.batchMax = 5000; }

function twinklebatchundelete { if( wgNamespaceNumber != Namespace.USER ) { return; }	if( userIsInGroup( 'sysop' ) ) { mw.util.addPortletLink( 'p-cactions', "javascript:twinklebatchundelete.callback", "und-batch", "tw-batch-undel", "Undelete 'em all", ""); } } $(twinklebatchundelete);

twinklebatchundelete.callback = function twinklebatchundeleteCallback { var Window = new SimpleWindow( 800, 400 ); var form = new QuickForm( twinklebatchundelete.callback.evaluate ); form.append( {			type: 'textarea',			name: 'reason',			label: 'Reason: '		} );

var query = { 'action': 'query', 'generator': 'links', 'titles': wgPageName, 'gpllimit' : TwinkleConfig.batchMax, // the max for sysops };	var wikipedia_api = new Wikipedia.api( 'Grabbing pages', query, function( self ) {			var xmlDoc = self.responseXML;			var snapshot = xmlDoc.evaluate('//page[@missing]', xmlDoc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );			var list = [];			for ( var i = 0; i < snapshot.snapshotLength; ++i ) {				var object = snapshot.snapshotItem(i);				var page = xmlDoc.evaluate( '@title', object, null, XPathResult.STRING_TYPE, null ).stringValue;				list.push( {label:page, value:page, checked: true });			}			self.params.form.append( { type: 'checkbox', name: 'pages', list: list }			)			self.params.form.append( { type:'submit' } );

var result = self.params.form.render; self.params.Window.setContent( result );

} );	wikipedia_api.params = { form:form, Window:Window };	wikipedia_api.post;	var root = document.createElement( 'div' );	Status.init( root );	Window.setContent( root );	Window.display; } twinklebatchundelete.currentUndeleteCounter = 0; twinklebatchundelete.currentundeleteor; twinklebatchundelete.callback.evaluate = function( event ) {	Wikipedia.actionCompleted.notice = 'Status';	Wikipedia.actionCompleted.postfix = 'batch undeletion is now completed';

var pages = event.target.getChecked( 'pages' ); var reason = event.target.reason.value; if( ! reason ) { return; }	Status.init( event.target );

if( !pages ) { Status.error( 'Error', 'nothing to undelete, aborting' ); return; }

var work = pages.chunk( TwinkleConfig.batchUndeleteChunks ); Wikipedia.addCheckpoint; twinklebatchundelete.currentundeleteor = window.setInterval( twinklebatchundelete.callbacks.main, 1000, work, reason ); }

twinklebatchundelete.callbacks = { main: function( work, reason ) 	{ if( work.length == 0 && twinklebatchundelete.currentUndeleteCounter <= 0 ) { Status.info( 'work done' ); window.clearInterval( twinklebatchundelete.currentundeleteor ); Wikipedia.removeCheckpoint; return; } else if( work.length != 0 && twinklebatchundelete.currentUndeleteCounter <= TwinkleConfig.batchUndeleteMinCutOff ) { var pages = work.shift; twinklebatchundelete.currentUndeleteCounter += pages.length; for( var i = 0; i < pages.length; ++i ) { var title = pages[i]; var query = { 'title': 'Special:Undelete', 'target': title, 'action': 'submit' };				var wikipedia_wiki = new Wikipedia.wiki( "Undeleting " + title, query, twinklebatchundelete.callbacks.undeletePage, function( self ) { 						--twinklebatchundelete.currentUndeleteCounter;						var link = document.createElement( 'a' );						link.setAttribute( 'href', wgArticlePath.replace( '$1', self.params.title ) );						link.setAttribute( 'title', self.params.title );						link.appendChild( document.createTextNode( self.params.title ) );						self.statelem.info( [ 'completed (', link , ')' ] );

});				wikipedia_wiki.params = { title:title, reason: reason };				wikipedia_wiki.get;

}		}	},	undeletePage: function( self ) { var form = self.responseXML.getElementById('undelete'); var postData = { 'wpComment': self.params.reason + '.' + TwinkleConfig.deletionSummaryAd, 'target': self.params.image, 'wpEditToken': form.wpEditToken.value, 'restore': 1 }		self.post( postData );

} };

title: User:Flewis/twinklebatchundelete.js


text:
User:Flewis/twinkle.js

importScript('User:Flewis/morebits.js'); importScript('User:Flewis/twinklefluff.js'); importScript('User:Flewis/twinklewarn.js'); importScript('User:Flewis/twinklearv.js'); importScript('User:Flewis/twinklespeedy.js'); importScript('User:Flewis/twinklediff.js'); importScript('User:Flewis/twinkleprotect.js'); importScript('User:Flewis/twinkleprod.js'); importScript('User:Flewis/twinklexfd.js'); importScript('User:Flewis/twinkleimage.js'); importScript('User:Flewis/twinkleunlink.js'); importScript('User:Flewis/twinkledelimages.js'); importScript('User:Flewis/twinkledeprod.js'); importScript('User:Flewis/twinklebatchdelete.js'); importScript('User:Flewis/twinklebatchprotect.js'); importScript('User:Flewis/twinkleimagetraverse.js'); importScript('User:Flewis/twinklebatchundelete.js');

title: User:Flewis/twinkle.js


text:
Comments:Over 100 people die in stampede at Hindu temple near Jodhpur, India

Doesn't something like this happen every year? Religious gathering, too many people there, some people get spooked, trample others, people die. You'd think they'd learn something from this, but no. --156.34.243.188 19:52, 1 October 2008 (UTC)


text:
User:JoJo

I am the same en:User:JoJo as on the English wiki, my home wiki. My husband is en:User:Rlevse.

I have the global account (SUL) JoJo.

title: User:JoJo


text:
Talk:Hurricane Dean is upgraded to a Category 2 storm

I'd like to add Category:Hurricane Dean to this and other Dean articles, to facilitate linkage from wikipedia. 66.243.195.110 01:09, 2 October 2008 (UTC)
 * [[Image:Yes_check.svg|16px]] Done -- Sken   my talk 11:01, 5 October 2008 (UTC)


text:
Talk:Hurricane Dean now a Category 4 storm

I'd like to add Category:Hurricane Dean to this and other Dean articles, to facilitate linkage from wikipedia. 66.243.195.110 01:09, 2 October 2008 (UTC)
 * [[Image:Yes_check.svg|16px]] Done -- Sken   my talk 11:02, 5 October 2008 (UTC)


text: Category:Hurricane Dean

title: Category:Hurricane Dean


text:
U.S. Senate approves revised bailout package after controversial additions

October 4, 2008

The U.S. Senate passed a revised bailout bill designed to help the struggling U.S. financial economy, which has measures nearly identical to the bill rejected by the U.S. House of Representatives on Monday.

"Senate Democrats and Republicans believe it is essential that we work quickly on this important legislation to restore confidence to our financial system and strengthen the economy," said Senate Majority Leader Harry Reid. The new revisions include raising the FDIC insurance cap to $250,000, a move designed to please progressives. However, the $110 billion in tax breaks, earmarks and what has been called pork barrel spending is not offset by any increases in revenues and has added opposition to the bill from some Representatives in the House.

Earmarks added into the bailout bill included $192 million in tax rebates for the Virgin Islands rum industry, $148 million in tax cuts for the wool industry, $100 million tax cuts to the auto racing industry, and $48 million in Hollywood tax incentives.

Vice President of Taxpayers for Common Sense, Steve Ellis, offered his explanation for the pork and earmarks added in. "People who support some of these provisions will forget about the $700 billion and concerns they may have on that, and say, 'If you give me a few million in tax breaks for my constituents, I'll go along'".

The tactic seems to have worked, however, managing to flip enough votes to pass the bill.

"The inclusion of parity, tax extenders and the FDIC increases has caused me to reconsider my position," said Representative Jim Ramstad (R Minnesota), who voted against the previous bill on Monday. "All three additions have greatly improved the bill."

But Representative Marcy Kaptur (D Ohio) was not changing her no vote. "I will not support this legislation because it's the wrong medicine," she said.

The Senate took H.R.1424, a bill originating in the House concerning "equity in the provision of mental health and substance-related disorder benefits under group health plans, to prohibit discrimination on the basis of genetic information with respect to health insurance and employment," and extended it with the bailout provisions.

H.R.1424 was introduced on March 9, 2007, by Rep. Patrick Kennedy (RI-1) and had the support of First Lady Rosalind Carter. It is noted on the Congressional Website that "On 10/1/2008, the Senate passed H.R.1424 as the vehicle for the economic rescue legislation. In the EAS version of the bill (Engrossed Amendment as Agreed to by the Senate), Division A (pp.1-110) is referred to as the Emergency Economic Stabilization Act of 2008; Division B (pp. 110-255) is referred to as the Energy Improvement and Extension Act of 2008; and Division C (pp. 255-441) is referred to as the Tax Extenders and Alternative Minimum Tax Relief Act of 2008." It was not treated as an appropriations bill in the House.

There were two votes in the Senate. The first was to amend H.R.1424, which required 3/5 to be accepted, which it was. The second was a vote on the bill. Passage of the Bill required only a 1/2 majority. It was passed with 74 yeas and 25 nays. Senator Kennedy did not vote.


text:
Talk:U.S. Senate approves revised bailout package after controversial additions

Quick article, no formatting or anything. Breaking news, collaboration needed.


text:
User talk:The Legendary Shadow!

ShadowVsScientology
Are you the same individual as, and if so, why the new account on Wikinews ? Cirt (talk) 02:17, 2 October 2008 (UTC)

That account was suspended as they said the username was pushing a POV. I can see where they were coming from, so anyway they suggested setting up a new account. —The preceding unsigned comment was added by The Legendary Shadow! (talk • contribs)
 * Ah okay thanks. Cirt (talk) 12:43, 2 October 2008 (UTC)

title: User talk:The Legendary Shadow!


text:
Wikinews interviews Donald K. Allen, independent candidate for US presidency

October 2, 2008

While nearly all mainstream coverage of the 2008 Presidential election has focused on the Democratic and Republican candidates, the race for the White House also includes independents and third-party candidates. These prospects represent a variety of views that may not be acknowledged by the major party platforms.

Wikinews has reached out to these candidates throughout the campaign and now presents an interview with Donald K. Allen of Youngstown, Ohio, an independent presidential candidate who registered with the Federal Election Committee in January 2007. He says that his three major policies are "1. Take care of America and Americans first. 2. Turn our economy around. 3. Secure our borders."

Allen was previously interviewed by Wikinews, although the previous interview was only five questions long, and did not go into the candidate's policy in much detail. As a result, Wikinews has decided to do a more in depth interview, which is available below.

Interview
For our readers who did not read the previous interview, could you please explain why you have decided to run for President?
 * Donald K. Allen: The vast majority of Americans are furious with their government, disappointed with their elected officials, and afraid of the direction our country has taken. After 150 years of Republican and Democratic control of Washington, they are looking for someone who will truly bring about a new course and return respect and accountability to our Nation.  With Edmund Burke's "The only thing necessary for the triumph of evil is for good men to do nothing" encouraging me, I chose to challenge the two Goliath political parties and run as an independent, unaffiliated candidate for President of the United States of America.

On the economy
'''For many voters, the government's proposed $700 billion dollar bail out of banks is a very important issue. What is your opinion on the bail out?'''
 * Donald K. Allen: If our government decides to bail out a private corporation's failure it will set a precedent for other bailouts, which will surely ruin our economy. Where will the money come from?  Just print more Federal Reserve Notes that have nothing backing them up, or borrow it from China and the Middle East?  I hope Congress rejects this proposal, because if it is passed our great grandchildren will inherit the debt, and inflation in this country will increase from the dilution of $700 billion into the economy.

What do you think is the best way to address the current economic crisis?
 * Donald K. Allen: Let the private sector do the rescue, not the government. There is nothing in the Constitution that allows for or even hints at this action, and national security is not a justification.

On taxation
What will taxes be like if you become president?

 * Donald K. Allen: Both Senators Obama and McCain are talking about tax breaks. The Tax Code is already 67,000 pages thick and nobody understands it.  Just dump it in favor of The Fair Tax Bill, which will repeal the 16th Amendment and do away with federal income tax.  In its place will be a National Sales Tax of roughly 18 to 23 percent on all new products, but I would not tax food or medicine and not give out a monthly "prebate," which is included in the current Fair Tax structure.  With wage earners keeping 25 to 35 percent of their income instead of the government taking it in income tax, the 18 to 23 percent will be more than affordable.

On immigration
What do you believe should happen to illegal immigrants in the United States?
 * Donald K. Allen: Regardless of what country they come from, they should return to their home countries.  There are thousands of people around the world who are waiting for their legal immigration procedures to be finalized.  Why should they have to wait sometimes years before being allowed into the USA when others just walk in?  Return home and file for immigration the legal way.  No amnesty.

What do you believe should be done to secure the borders with Canada and Mexico?
 * Donald K. Allen: We should complete a secure border fence on our southern border.  It will not be 100 percent effective, but people who live on our borders where there are fences will tell you that they do work.  Supplement the fence with unmanned aerial surveillance, infrared and motion detectors, and increased security personnel, and it will cut illegal immigration 95 plus percent.

What do you believe the guidelines on allowing immigrants into the US should be?
 * Donald K. Allen: Our immigration laws are sufficient. They simply need to be enforced.  Follow the laws we have; they've worked for over 230 years.  They worked for my maternal grandparents, who immigrated from Lithuania around 1900.

On foreign policy
What do you believe the government policy on war should be?
 * Donald K. Allen: Declaration of war should reside solely with Congress. The President is allowed some leeway in small conflicts that require immediate action.  We should primarily be noninterventionist, but not isolationist.  In nearly every foreign conflict, it should be up to the United Nations to decide on military intervention, but we all know how ineffective the UN has been.  Why did the UN allow Idi Amin to slaughter his people, or the genocide in Darfur?  The whole world looks upon the UN as a paper tiger.

'''What is your opinion on the war in Iraq? '''
 * Donald K. Allen: I believe it is coming to a resolution with both the Iraqi government seeking a timetable and both Iraqi and US military forces finding success in quelling hostility. I cannot change what is in the past, but I can shape the future.  I would seek total drawdown in Iraq within two years.

'''What is your opinion on the war in Afghanistan? '''
 * Donald K. Allen: The real focus of our "war on terror" should be where al Qaeda is, and that is primarily in eastern Afghanistan. The war against bin Laden and his group will continue, as will the war against the Taliban.  It will not be an easy task, as we have already seen.  More troops will be needed and more international cooperation to wipe out this societal cancer.

'''What is your opinion on the creation of a North American Union? '''

 * Donald K. Allen: I am totally against the formation of a North American Union. This is a goal of the Council on Foreign Relations, which you could call America's "shadow government."  Both Obama and McCain are members of the CFR, as are many of President Bush's administrative staff.  Who needs foreign affairs experience when the CFR is going to tell you what to do?  I will investigate all work to date on this effort to create the NAU, including the NAFTA superhighway and Rudi Giuliani's law firm's involvement in it.  There is a lot of "quiet" work that has already been done on the NAU project without the American public's knowledge.  This will make the Teapot Dome scandal look like kids' play.

On other issues
'''Is there anything else you would like to say to people reading this article? '''

 * Donald K. Allen: If you think the safe thing to do Nov. 4 is vote for the Republican or Democratic candidate of your "choice," then you are sadly mistaken. Both will continue to lead this country down the road to a North American Union and the New World (socialist) Order.  The only way "we the people" can shake up Washington and bring about revolutionary change in our government is through the election of a true independent President - our first since George Washington!  Following is a list of my intentions.

 * As President I Will:

 * 1.  Complete a secure border fence on our southern border.

 * 2.  Sign The Fair Tax Bill to rejuvenate economy.

 * 3.  Establish “loser pays” litigation reform and work tirelessly for real tort reform.

 * 4.  Transition our monetary system to a specie-backed currency and close the Federal Reserve System.

 * 5.  Seek to overturn Roe vs. Wade and return the decision to the States.

 * 6.  Work to establish term limits for Congress.

 * 7.  Promote oil drilling everywhere in the USA and its territories while encouraging development of all other energy providing systems.

 * 8.  Use increased oil royalty revenues from 7. to fund Social Security, while removing SS funds from Treasury to a real trust.

 * 9.  Close the UN Headquarters in New York and move it to Geneva.

 * 10. Revoke Most Favored Nation status from China.

 * 11. Withdraw from the North American Free Trade Agreement and renegotiate all trade agreements.

 * 12. With respect to the First Amendment’s law to not establish a National Religion, allow coexistence of religion and education throughout the Nation.

 * 13. Establish compulsory National Service to include a Civilian Conservation Corps and other non-military and military options.

 * 14. Strictly enforce Article II to “preserve, protect and defend the Constitution of the United States.” This will include preventing the Supreme Court from usurping legislative powers and the legislature from overstepping its authority through misinterpretation or expanding on the Constitution’s written word.

 * 15. Privatize all Foreign Aid

 * 16. Require initial and random drug testing of all federally-elected officials.

 * 17. Ban access to Congressional offices and grounds of all professional lobbyists, political action committees, corporate representatives, and special interest groups. Allow individual citizens continued access to their elected representatives and senators.

Thanks for agreeing to be interviewed by Wikinews.


text:
Comments:Wikinews interviews Donald K. Allen, independent candidate for US presidency

=Would Donald K. Allen be a good president?=

Were I American I wouldn't vote for him
Sales tax instead of income tax? Dumb idea. Low income people then lose a larger percentage of their income in taxes. --Brian McNeil / talk 12:59, 2 October 2008 (UTC)

Sales taxes have their uses, and his comment about food not being taxed is certainly helpful for the poor... But they do more than just eat. Even poor people can't live on bread alone. Indeed lower income people would now be paying a considerably larger amount of money to the gov. "Fair tax" is a nice name, sounds like it should be good, but really just fucks the poor over. 67.193.146.210 20:14, 2 October 2008 (UTC)

Great interview with great candidate
Before reading this interview I had thought our country should be handed over to Barrack Obama, the only one of the two "superstar" candidates in this election that I thought made any sense. I can only hope enough people look more closely this year into Donald Allen, who's proposed changes go above and beyond what anyone else is offering to do as president of this great country.

ANYONE BUT OBAMA, PLEASE GOD ANYONE BUT OBAMA!!!!!
This sounds great and the prioritizing is right on for what needs to happen in this country. Maybe Mr.Allen would sell this platform to McCain-Palin to implement for us. —Preceding unsigned comment added by 68.116.98.171 (talk) 20:11, 2 October 2008 (UTC)

Oh My God!
Has this guy actually given any thought to his ideas? Policies like "privatizing foreign aid" and allowing oil drilling anywhere in the nation are completely mad. Don't people realise that privatization will just increase costs even more and result in less control over where aid will go? We'll see private countries only donating aid to places which have plentiful supplies of oil. Private companies are there to make a profit so how would the tax payer benefit? Expanding oil drilling is no solution. You need to solve the problem of oil consumption not just find a few more holes in the ground to delay making proper decisions for a few more years. This guy appears to be nothing more than a bag of hot air trying to appeal to the seriously stupid or the insanely right wing. Obama will make a great president. McCain, I believe, will also perform well. The American people have a difficult decision to make in November but the decision will be between Obama and McCain and not Donald Allen.--Xania (talk) 23:43, 2 October 2008 (UTC)
 * lol. Fephisto (talk) 11:52, 6 October 2008 (UTC)

A Right to be Where they Choose
Land cannot be claimed. Undocumented immigrants have as much right to be in the United States as anyone else, and as a show of good faith should be afforded constitutional rights (free speech, protection from search and siezure, excessive bail, cruel and unusual punishment) while here.

Most of them do no harm and simply want to make a life for their families and not bother people.

However, it should be made extremely difficult to obtain social services like medicaid and social security. They have a right to BE here but should not be easily able to obtain services reserved for citizens. —Preceding unsigned comment added by 71.99.101.132 (talk) 00:11, 3 October 2008 (UTC)

Question...
Yeah, I've got a question for this guy. How many votes do you think you'll get? 10...20? Good luck becoming relevant.

Total Nutcase
Sales tax and NO income tax??!! I guess this guy is just thinking, "what the heck, I might just get elected" —Preceding unsigned comment added by 198.91.8.99 (talk) 19:52, 3 October 2008 (UTC)

Don't mince words, Mr. Allen, tell us how you REALLY feel
While I may not necessarily agree with some of the things he's saying, I have to respect the fact that Mr. Allen actually has strong opinions that he expresses freely. It's refreshing to see a candidate say what he actually believes in instead of making vague positive-sounding statements designed to get him elected all while bound by his party's platform. I would love it if the two main candidates were as frank as Mr. Allen about their own beliefs and their desired policies.

good policies, sales tax is better than income tax, and builds up the middle class
the independent movement should work together to achieve a 35 to 40% share of the electoral votes.

once a presidential candidate has been agreed on, the campaign can begin.

to secure america's borders, American interests should lobby the Canadian government for increased border security, and patrol the arctic, atlantic, and pacific territorial waters more effectively.

the southern border states should deploy their state guard forces to watch the border, and get the federal government to make legal immigration from Mexico easier.

to fix the economy, the most essential services such as agriculture and utilities should be protected by increased trade with Canada and Mexico, and tariffs to support domestic and north american agriculture.

the electricity imported from Quebec can be increased by reducing the diplomatic and economic pressure on Canada, and the american dollar could be loaned in large amounts to canadian and mexican investors.

in the political theatre, all pressure on Israel and Serbia to surrender portions of their homelands should be eliminated.

if Israel, heaven forbid, faces another catastrophic war on the scale of the 1973 yom kippur war, then the price of oil will likely go through the top of the graph.

these energy imports from the persian gulf region can be gradually replaced with increased exploration of alaskan, canadian, and mexican oil reserves.

refineries are essential to boosting the economy as we know it. until switchgrass and other domestic forms of energy become popular, more refineries will help with America's energy inputs. Yosef.garibaldi (talk) 21:28, 4 October 2008 (UTC)
 * One question. Where are you going to get this money to lend to Canadian and Mexican investors? With the credit crunch there isn't any to spare. --Brian McNeil / talk 21:58, 4 October 2008 (UTC)

"On the economy" part
I don't think that Donald K. Allen would make a good president. I say that the $700 billion bailout plan wouldn't work as well, but "Let the private sector do the rescue, not the government"? That really sounds like Calvin Coolidge and we all know that's what caused the Great Depression. Sean gorter (talk) 04:16, 8 October 2008 (UTC)


text:
Talk:Wikinews interviews Donald K. Allen, independent candidate for US presidency

OR Notes

Interview conducted via email. Full transcript below. Anonymous101talk 06:44, 2 October 2008 (UTC)

Emails in full (note that this has some of the emails from the July interview as well as this interview)† Mr. Allen,

As you will know, the election is now just over a month away, so I would like to ask you if you are still OK with the follow up interview which I said would take place at a time close to the election date.

This email interview will be 10-15 questions long (although if you are short on time you don't have to answer all of them), and it will be an opportunity for you to explain your policy in more detail to our readers.

If you are still willing to take part in the interview please indicate that in a reply to this message so I can provide you with the questions.

Many thanks,

Jonathan Winterfield

On Wed, Jul 9, 2008 at 9:42 PM,  wrote: Yes, that would be fine. I look forward to it. Sincerely, Don Allen, DVM - Original Message - From: Wintefield Jonathan To: donkenall Sent: Wednesday, July 09, 2008 12:59 PM Subject: Re: Wikinews

I don't have any more questions at the moment but, if you would be OK with this, I would like to carry out a follow up interview at a time closer to the election date.

Thanks, Jonathan Winterfield

On Tue, Jul 8, 2008 at 3:04 AM, donkenall  wrote: You're welcome, Jonathan. I hope you send more questions!

Sincerely,

Don Allen, DVM

-Original Message- From: Wintefield Jonathan Sent: Jul 7, 2008 3:51 PM To: donkenall@peoplepc.com Subject: Re: Wikinews

Mr. Allen,

Many thanks for your reply. The interview is published at http://en.wikinews.org/wiki/Wikinews_interviews_Donald_K._Allen%2C_independent_candidate_in_US_presidential_elections and linked to from the Wikinews homepage.

Thanks, Jonathan Winterfield

On Mon, Jul 7, 2008 at 7:26 PM,  wrote: - Original Message - From: Wintefield Jonathan To: donkenall Sent: Monday, July 07, 2008 2:43 AM Subject: Re: Wikinews

Mr. Allen,

Thank You for agreeing to be interviewed and apologies for the confusion caused by me sending the wrong email.

Here are the questions:

1.Why do you want to be President? We have had Republican or Democratic control of our government for 150 years, and as we have seen during the last few administrations, it has been very dysfunctional, arbitrary, and often harmful. I believe that electing another party man or woman would simply continue the bipartisanism that has repeatedly brought improvement to a standstill. Only an independent can work with both sides of the aisle and bring back unity for the benefit of this country and its citizens. I want to be President to make major improvements in America, from boosting our economy, to making health care affordable, to resolving the conflict in the Middle East. My platform is extensive, and I discuss many issues that are important to Americans, but are not being debated by the two party candidates, i.e. The Fair Tax and building the border fence/wall. I also hope to involve more Americans in government. Our Founding Fathers envisioned citizen legislators, but instead we have evolved into a ruling class spending 30, 40, and sometimes 50 years in Congress. 2.What are your three key policies? My three key policies will be to: 1. Take care of America and Americans first. 2. Turn our economy around. 3. Secure our borders. As soon as it is before me, I will sign The Fair Tax Bill to eliminate Federal Income Tax on individuals, small businesses, and corporations, creating a truly positive incentive to build and produce in this country. It will also repeal the 16th Amendment and initiate a consumptive tax that will bring everyone into the tax base, instead of only the honest people who work for a paycheck. It will make economic incentive checks look like the Band-Aids and put significantly more money in our pockets and in business' accounts to pay for health insurance or other needs. Eliminating corporate income tax will allow companies to invest in research and development, expand operations, hire more employees, pay for health care, build more factories, and create more jobs. I will order the Army Corps of Engineers to start on the east end and the Navy Seabees to begin on the west end and build an effective barrier on the Mexican border to stop the free flow of illegals into this country, as well as drug traffic. Defeatists say it will not work, but you won't be able to drive a pickup truck across the border anymore. Along with this will be a positive, secure identification system for guest workers who are here or wish to come here. Once the border fence is complete, I will extradite the 25% of our prison population who are illegal aliens. I will establish "loser pays" rule for litigation in this country, greatly reducing frivolous and phony lawsuits in America, freeing up our courts to deal with more serious matters on a timely basis. This will also reduce the cost of doing business for insurance companies, thereby reducing premiums and making health care more affordable, which will work well with The Fair Tax. Coinciding with this will be extreme pressure on Congress to pass true tort reform.

3.Have you ever run for political office before? (President, senate, congress, city councilor, school trustee... etc.)? No, and I consider that a plus. I will be able to view all issues objectively without prior obligations and debts owed to lobbyists, political action committees, corporations, and politically powerful people. I will answer only to you, the people of America, and I will always put you first.

4.Can you win the 2008 Presidential election? This is a land of tremendous opportunity, and possibility. It may not seem probable that I will win, but it is definitely possible. The key is our Nation's media, which is obligated through political pressure to focus on the two parties only, and give virtually no "face time" to anyone else. It is a closed system that makes it extremely difficult for any non-party candidate to even be noticed, but I keep trying. Right now Americans are receiving Pavlovian conditioning, hearing the name, "Obama," ten thousand times a day, and "McCain," six thousand times a day. Remember, the press is liberal. If enough people call in to radio talk shows asking to hear more about Donald K. Allen, and e-mailing television commentators like Bill O'Reilly and Lou Dobbs, then perhaps you will see me or hear me. Otherwise it is up to getting name recognition out there so that when people vote, they can write me in.

5.What made you choose Christopher D. Borcik as your running mate? Chris is a viable, competent, and very capable individual who is a multiplier for the credibility of my campaign. As a Navy pilot and now a Delta pilot, he handles tremendous responsibility on a daily basis, and is trustworthy and serious about his work and committment to this campaign. He is a family man and a sincere Christian who applies his belief to his decision-making process, and puts his religion above political correctness. I met Chris at the first "Independents' Day" forum in Cincinnati, and liked him immediately. I'm totally happy that he consented to run as vice president.

Please note that there may be a few more questions asked in response to your answers to the above questions.

Thanks for your time, Jonathan Winterfield

________________________________________ PeoplePC Online A better way to Internet http://www.peoplepc.com

Reply Forward donkenall@peoplepc.com to me show details Sep 30 (2 days ago) Reply

Hi Jonathan, Yes! The election isn't over yet. Where there's life, there's hope. Sincerely, Don Allen, DVM - Original Message - From: Wintefield Jonathan - Show quoted text - Reply Forward Wintefield Jonathan to donkenall show details 4:19 PM (15 hours ago) Reply

Mr. Allen,

Here are the questions:

Introduction:

1) For are readers who did not read the previous interview, could you please explain why you have decided to run for President?

Economy:

2) For many voters, the government's proposed $700 billion dollar bail out of banks is a very important issue. What is your opinion on the bail out? 3) What do you think is the best way to address the current economic crisis?

Taxation:

4) What will taxes be like if you become president?

Immigration:

5) What do you believe should happen to illegal immigrants in the United States? 6) What do you believe should be done to secure the borders with Canada and Mexico? 7) What do you believe the guidelines on allowing immigrants into the US should be?

Foreign policy:

8) What do you believe the government policy on war should be? 9) What is your opinion on the war in Iraq? 10) What is your opinion on the war in Afghanistan? 11) What is your opinion on the creation of a North American Union?

Other: 11) Is there anything else you would like to say to people reading this article?

Thanks for agreeing to be interviewed by Wikinews and good luck in the election,

Jonathan Winterfield

- Show quoted text - Reply Forward donkenall to me show details 4:08 AM (3 hours ago) Reply

Here are the answers. Thanks, Jonathan.

-Original Message- From: Wintefield Jonathan Sent: Oct 1, 2008 11:19 AM To: donkenall@peoplepc.com Subject: Re: Wikinews follow up interview

Mr. Allen,

Here are the questions:

Introduction:

1) For are readers who did not read the previous interview, could you please explain why you have decided to run for President? The vast majority of Americans are furious with their government, disappointed with their elected officials, and afraid of the direction our country has taken. After 150 years of Republican and Democratic control of Washington, they are looking for someone who will truly bring about a new course and return respect and accountability to our Nation.  With Edmund Burke's "The only thing necessary for the triumph of evil is for good men to do nothing" encouraging me, I chose to challenge the two Goliath political parties and run as an independent, unaffiliated candidate for President of the United States of America.

Economy:

2) For many voters, the government's proposed $700 billion dollar bail out of banks is a very important issue. What is your opinion on the bail out? If our government decides to bail out a private corporation's failure it will set a precedent for other bailouts, which will surely ruin our economy. Where will the money come from?  Just print more Federal Reserve Notes that have nothing backing them up, or borrow it from China and the Middle East?  I hope Congress rejects this proposal, because if it is passed our great grandchildren will inherit the debt, and inflation in this country will increase from the dilution of $700 billion into the economy. 3) What do you think is the best way to address the current economic crisis? Let the private sector do the rescue, not the government. There is nothing in the Constitution that allows for or even hints at this action, and national security is not a justification.

Taxation:

4) What will taxes be like if you become president? Both Senators Obama and McCain are talking about tax breaks. The Tax Code is already 67,000 pages thick and nobody understands it.  Just dump it in favor of The Fair Tax Bill, which will repeal the 16th Amendment and do away with federal income tax.  In its place will be a National Sales Tax of roughly 18 to 23 percent on all new products, but I would not tax food or medicine and not give out a monthl "prebate," which is included in the current Fair Tax structure.  With wage earners keeping 25 to 35 percent of their income instead of the government taking it in income tax, the 18 to 23 percent will be more than affordable.

Immigration:

5) What do you believe should happen to illegal immigrants in the United States? Regardless of what country they come from, they should return to their home countries. There are thousands of people around the world who are waiting for their legal immigration procedures to be finalized.  Why should they have to wait sometimes years before being allowed into the USA when others just walk in?  Return home and file for immigration the legal way.  No amnesty. 6) What do you believe should be done to secure the borders with Canada and Mexico? We should complete a secure border fence on our southern border. It will not be 100 percent effective, but people who live on our borders where there are fences will tell you that they do work. Supplement the fence with unmanned aerial surveillance, infrared and motion detectors, and increased security personnel, and it will cut illegal immigration 95 plus percent. 7) What do you believe the guidelines on allowing immigrants into the US should be? Our immigration laws are sufficient. They simply need to be enforced.  Follow the laws we have; they've worked for over 230 years.  They worked for my maternal grandparents, who immigrated from Lithuania around 1900.

Foreign policy:

8) What do you believe the government policy on war should be? Declaration of war should reside solely with Congress. The President is allowed some leeway in small conflicts that require immediate action.  We should primarily be noninterventionist, but not isolationist.  In nearly every foreign conflict, it should be up to the United Nations to decide on military intervention, but we all know how ineffective the UN has been.  Why did the UN allow Idi Amin to slaughter his people, or the genocide in Darfur?  The whole world looks upon the UN as a paper tiger. 9) What is your opinion on the war in Iraq? I believe it is coming to a resolution with both the Iraqi government seeking a timetable and both Iraqi and US military forces finding success in quelling hostility. I cannot change what is in the past, but I can shape the future. I would seek total drawdown in Iraq within two years. 10) What is your opinion on the war in Afghanistan? The real focus of our "war on terror" should be where al Qaeda is, and that is primarily in eastern Afghanistan. The war against bin Laden and his group will continue, as will the war against the Taliban.  It will not be an easy task, as we have already seen.  More troops will be needed and more international cooperation to wipe out this societal cancer. 11) What is your opinion on the creation of a North American Union? I am totally against the formation of a North American Union. This is a goal of the Council on Foreign Relations, which you could call America's "shadow government." Both Obama and McCain are members of the CFR, as are many of President Bush's administrative staff. Who needs foreign affairs experience when the CFR is going to tell you what to do? I will investigate all work to date on this effort to create the NAU, including the NAFTA superhighway and Rudi Giuliani's law firm's involvement in it. There is a lot of "quiet" work that has already been done on the NAU project without the American public's knowledge. This will make the Teapot Dome scandal look like kids' play.

Other: 11) Is there anything else you would like to say to people reading this article? If you think the safe thing to do Nov. 4 is vote for the Republican or Democratic candidate of your "choice," then you are sadly mistaken. Both will continue to lead this country down the road to a North American Union and the New World (socialist) Order.  The only way "we the people" can shake up Washington and bring about revolutionary change in our government is through the election of a true independent President - our first since George Washington!  Following is a list of my intentions. As President I Will: 1.   Complete a secure border fence on our southern border. 2.   Sign The Fair Tax Bill to rejuvenate economy. 3.   Establish “loser pays” litigation reform and work tirelessly for real tort reform. 4.   Transition our monetary system to a specie-backed currency and close the Federal Reserve System. 5.  Seek to overturn Roe vs. Wade and return the decision to the States. 6.  Work to establish term limits for Congress. 7.  Promote oil drilling everywhere in the USA and its territories while encouraging development of all other energy providing systems. 8.  Use increased oil royalty revenues from 7. to fund Social Security, while removing SS funds from Treasury to a real trust. 9.  Close the UN Headquarters in New York and move it to Geneva. 10. Revoke Most Favored Nation status from China. 11. Withdraw from the North American Free Trade Agreement and renegotiate all trade agreements. 12. With respect to the First Amendment’s law to not establish a National Religion, allow coexistence of     religion and education throughout the Nation. 13. Establish compulsory National Service to include a Civilian Conservation Corps and other non- military and military options. 14. Strictly enforce Article II to “preserve, protect and defend the Constitution of the United States.” This will include preventing the Supreme Court from usurping legislative powers and the legislature from overstepping its authority through misinterpretation or expanding on the Constitution’s written word. 15. Privatize all Foreign Aid 16. Require initial and random drug testing of all federally-elected officials. 17. Ban access to Congressional offices and grounds of all professional lobbyists, political action committees, corporate representatives, and special interest groups. Allow individual citizen continued access to their elected representatives and senators. - Hide quoted text -

Thanks for agreeing to be interviewed by Wikinews and good luck in the election,

Jonathan Winterfield

- Hide quoted text - On Tue, Sep 30, 2008 at 10:48 PM,  wrote: Hi Jonathan, Yes! The election isn't over yet. Where there's life, there's hope. Sincerely, Don Allen, DVM - Original Message - From: Wintefield Jonathan To: donkenall@peoplepc.com Sent: Tuesday, September 30, 2008 2:22 PM Subject: Wikinews follow up interview

Mr. Allen,

As you will know, the election is now just over a month away, so I would like to ask you if you are still OK with the follow up interview which I said would take place at a time close to the election date.

This email interview will be 10-15 questions long (although if you are short on time you don't have to answer all of them), and it will be an opportunity for you to explain your policy in more detail to our readers.

If you are still willing to take part in the interview please indicate that in a reply to this message so I can provide you with the questions.

Many thanks,

Jonathan Winterfield

On Wed, Jul 9, 2008 at 9:42 PM,  wrote: Yes, that would be fine. I look forward to it. Sincerely, Don Allen, DVM - Original Message - From: Wintefield Jonathan To: donkenall Sent: Wednesday, July 09, 2008 12:59 PM Subject: Re: Wikinews

I don't have any more questions at the moment but, if you would be OK with this, I would like to carry out a follow up interview at a time closer to the election date.

Thanks, Jonathan Winterfield

On Tue, Jul 8, 2008 at 3:04 AM, donkenall  wrote: You're welcome, Jonathan. I hope you send more questions!

Sincerely,

Don Allen, DVM

-Original Message- From: Wintefield Jonathan Sent: Jul 7, 2008 3:51 PM To: donkenall@peoplepc.com Subject: Re: Wikinews

Mr. Allen,

Many thanks for your reply. The interview is published at http://en.wikinews.org/wiki/Wikinews_interviews_Donald_K._Allen%2C_independent_candidate_in_US_presidential_elections and linked to from the Wikinews homepage.

Thanks, Jonathan Winterfield

On Mon, Jul 7, 2008 at 7:26 PM,  wrote: - Original Message - From: Wintefield Jonathan To: donkenall Sent: Monday, July 07, 2008 2:43 AM Subject: Re: Wikinews

Mr. Allen,

Thank You for agreeing to be interviewed and apologies for the confusion caused by me sending the wrong email.

Here are the questions:

1.Why do you want to be President? We have had Republican or Democratic control of our government for 150 years, and as we have seen during the last few administrations, it has been very dysfunctional, arbitrary, and often harmful. I believe that electing another party man or woman would simply continue the bipartisanism that has repeatedly brought improvement to a standstill. Only an independent can work with both sides of the aisle and bring back unity for the benefit of this country and its citizens. I want to be President to make major improvements in America, from boosting our economy, to making health care affordable, to resolving the conflict in the Middle East. My platform is extensive, and I discuss many issues that are important to Americans, but are not being debated by the two party candidates, i.e. The Fair Tax and building the border fence/wall. I also hope to involve more Americans in government. Our Founding Fathers envisioned citizen legislators, but instead we have evolved into a ruling class spending 30, 40, and sometimes 50 years in Congress. 2.What are your three key policies? My three key policies will be to: 1. Take care of America and Americans first. 2. Turn our economy around. 3. Secure our borders. As soon as it is before me, I will sign The Fair Tax Bill to eliminate Federal Income Tax on individuals, small businesses, and corporations, creating a truly positive incentive to build and produce in this country. It will also repeal the 16th Amendment and initiate a consumptive tax that will bring everyone into the tax base, instead of only the honest people who work for a paycheck. It will make economic incentive checks look like the Band-Aids and put significantly more money in our pockets and in business' accounts to pay for health insurance or other needs. Eliminating corporate income tax will allow companies to invest in research and development, expand operations, hire more employees, pay for health care, build more factories, and create more jobs. I will order the Army Corps of Engineers to start on the east end and the Navy Seabees to begin on the west end and build an effective barrier on the Mexican border to stop the free flow of illegals into this country, as well as drug traffic. Defeatists say it will not work, but you won't be able to drive a pickup truck across the border anymore. Along with this will be a positive, secure identification system for guest workers who are here or wish to come here. Once the border fence is complete, I will extradite the 25% of our prison population who are illegal aliens. I will establish "loser pays" rule for litigation in this country, greatly reducing frivolous and phony lawsuits in America, freeing up our courts to deal with more serious matters on a timely basis. This will also reduce the cost of doing business for insurance companies, thereby reducing premiums and making health care more affordable, which will work well with The Fair Tax. Coinciding with this will be extreme pressure on Congress to pass true tort reform.

3.Have you ever run for political office before? (President, senate, congress, city councilor, school trustee... etc.)? No, and I consider that a plus. I will be able to view all issues objectively without prior obligations and debts owed to lobbyists, political action committees, corporations, and politically powerful people. I will answer only to you, the people of America, and I will always put you first.

4.Can you win the 2008 Presidential election? This is a land of tremendous opportunity, and possibility. It may not seem probable that I will win, but it is definitely possible. The key is our Nation's media, which is obligated through political pressure to focus on the two parties only, and give virtually no "face time" to anyone else. It is a closed system that makes it extremely difficult for any non-party candidate to even be noticed, but I keep trying. Right now Americans are receiving Pavlovian conditioning, hearing the name, "Obama," ten thousand times a day, and "McCain," six thousand times a day. Remember, the press is liberal. If enough people call in to radio talk shows asking to hear more about Donald K. Allen, and e-mailing television commentators like Bill O'Reilly and Lou Dobbs, then perhaps you will see me or hear me. Otherwise it is up to getting name recognition out there so that when people vote, they can write me in.

5.What made you choose Christopher D. Borcik as your running mate? Chris is a viable, competent, and very capable individual who is a multiplier for the credibility of my campaign. As a Navy pilot and now a Delta pilot, he handles tremendous responsibility on a daily basis, and is trustworthy and serious about his work and committment to this campaign. He is a family man and a sincere Christian who applies his belief to his decision-making process, and puts his religion above political correctness. I met Chris at the first "Independents' Day" forum in Cincinnati, and liked him immediately. I'm totally happy that he consented to run as vice president.

Please note that there may be a few more questions asked in response to your answers to the above questions.

Thanks for your time, Jonathan Winterfield

________________________________________ PeoplePC Online A better way to Internet http://www.peoplepc.com

- Hide quoted text -

________________________________________ PeoplePC Online A better way to Internet http://www.peoplepc.com


text:
Talk:Hurricanes may be associated with sunspots

Review

 * Waiting for the second review. Thanks.--  T harikrish  Talk 15:41, 3 October 2008 (UTC)

References & casually added sources
--Brian McNeil / talk 13:48, 2 October 2008 (UTC)
 * 1) References is not a valid Wikinews section header. It should be external links.
 * 2) Sources should not be added which no content is drawn from. This is apparent here as one edit adds these sources with no changes to the article body to evidence they have been used.
 * ✅ (?)--  T harikrish  Talk 14:51, 2 October 2008 (UTC)


text:
Comments:University of Calgary scientist Keith cracks carbon capture conundrum

=Should North American governments invest in bringing this technology to market?=

Technology
Certainly this technology should be explored by US markets. With worldwide concerns about global warming increasing by the day, investing in this technology would not only be an investment in the environment, but also an economic goldmine. Although the technology may not be ready for widespread implementation, it is clearly ready to set off a technological revolution. This technology looks much more promising than many of the other assets that the US is currently investing in. —Preceding unsigned comment added by 128.61.77.11 (talk) 16:32, 2 October 2008 (UTC)

 * This and others. The University of Minnesota built a prototype energy cell that used thin-film technology to provide pure hydrogen from liquid fuels like alcohol or gasoline. Meaning that we could all switch to hydrogen cell driven vehicles *today*, without any other changes to the fuel infrastructure, pumping from the same fueling stations.
 * But they did that almost 10 years ago. And the US government has done nothing to implement it, or convince automakers to use it. Instead we have "hybrid" cars which barely get any better fuel economy than economical cars, but cost the environment and the consumer twice as much. -  Amgine | t 16:39, 2 October 2008 (UTC)

 * Eh, I think you are both oversimplifying and exaggerating the findings of Lanny Schmidt (assuming you are talking about this). As of September, Schmidt's research hasn't yielded any workable results, as most require extreme heat, which—as you can imagine—requires a lot of energy in itself. --SVTCobra 22:42, 2 October 2008 (UTC)

sounds promising, especially if it could be made with a small form factor and inexpensively. —Preceding unsigned comment added by 69.27.237.161 (talk) 15:13, 3 October 2008 (UTC)

Carbon sequestration
As world leaders in pollution (per capita), it is our obligation to spearhead efforts to combat global warming. Carbon dioxide levels are currently higher than they have been in the past six hundred thousand years. Our planet is akin to glass of ice water, staying at the same temperature until all of the ice melts and then heating up. We need to remove significant amounts of CO2 from the atmosphere in order to ensure that we remain in a hospitable environment.

68.111.244.83 18:03, 5 October 2008 (UTC)


text:
User talk:Reep

Welcome
, welcome to Wikinews! I hope you like the place and decide to stay. Here are a few good links for newcomers:

Our key policies - if you read anything, read these! Here are some pointers to help you get to know Wikinews: There are always things to do on Wikinews: By the way, you can sign your name on Talk pages using four tildes ( ~~~~ ), which produces your name and the current date. If you have any questions, you can ask them at the water cooler or to anyone on the Welcommittee, or ask me on my Talk page. Again, welcome! --Brian McNeil / talk 09:41, 2 October 2008 (UTC)
 * Neutral point of view - tell every side to a story in a fair and balanced way
 * Cite sources - everything in a Wikinews article must be sourced
 * Introduction - overview of the site
 * Writing an article - how to write and publish a complete article
 * Content guide - what's suitable for Wikinews
 * Style guide - how articles should look before publishing
 * Reviewing articles - how articles pass through editorial review
 * Contents - the contents page.
 * Existing articles need expanding and checking for spelling and mistakes
 * The front page lead articles often need updating
 * Developing stories need finishing and publishing
 * Discussions need your input
 * Audio Wikinews could always use more contributors
 * And of course, stories need writing!

title: User talk:Reep


text:
User:Mankash/monobook.css

img.thumbborder { border: 1px solid #c0c0c0; } div.thumb { margin-bottom: .5em; border-style: solid; border-color: white; width: auto; } td.diff-deletedline span.diffchange { font-weight: bold; color: black !important; background-color: #FFFF80 !important; } td.diff-addedline span.diffchange { font-weight: bold; color: black !important; background-color: #40D040 !important; } td.diff-addedline { background-color: #A0FFA0; } td.diff-deletedline { background-color: #FFC0C0; } td.diff-context { background-color: #FFFFA0; }   background: none !important; color: #008000 !important; padding: 0 !important; } ol.references { font-size: 90%; }
 * 1) bodyContent a.external {

title: User:Mankash/monobook.css


text:
User talk:204.60.65.2

--Brian McNeil / talk 15:10, 2 October 2008 (UTC)

title: User talk:204.60.65.2


text:
Study estimates first human HIV infection 100 years ago

October 4, 2008 An eight year study, published in scientific journal Nature, claims the HIV-1 virus that leads to AIDS could have infected humans around 1908 in Africa. Scientists found traces of the HIV-1 genome collected in 1960 from a woman who lived in Léopoldville, presently called Kinshasa, the capital of the Democratic Republic of the Congo. An earlier study had also isolated the virus from a 1959 blood sample of a male from Léopoldville. Study of both the samples and estimate of the rate at which the virus mutates over time has led the researchers to conclude that the human strain could have been around for 100 years.

The study, co-sponsored by the National Institute of Allergy and Infectious Diseases (NIAID), part of the U.S. National Institutes of Health, was carried out by Michael Worobey of the University of Arizona in Tucson, Arizona and colleagues from the United States, France, Belgium, Australia, Democratic Republic of the Congo and Denmark.

Earlier estimates of this nature had indicated the first infection in humans occurred between 1915 and 1941. The present study pushes the date of the infection back to sometime between 1884 and 1924, with a more focused estimate at 1908. Earlier studies have suggested that HIV-1 virus was spread from chimpanzees to humans in Cameroon.

"Now, for the first time, we have been able to compare two relatively ancient HIV strains. That helped us to calibrate how quickly the virus evolved and make some really robust inferences about when it crossed into humans, how the epidemic grew from that time, and what factors allowed the virus to enter and become a successful human pathogen," Dr. Worobey said.

"HIV is one of these pathogens that you could almost think of as living on the edge of extinction," Worobey continued. He believes that had HIV not been carried to a city, it may not have survived the jump to humans.

"It means there are things we could do to actually make it so that it doesn't have a chance of spreading," Worobey said.

The first human infection could have happened around the time when the colonial cities were established in Africa. Rapid urbanization in colonial Africa around the beginning of the twentieth century may be responsible for the spread of the AIDS pandemic. It is estimated that several thousand people were infected by the 1960s. Today, HIV infection is reported in 33 million people and has killed 25 million. Researchers opine that an understanding of the origin and pathways for human infection of the virus could help in developing a vaccine to fight it.


text:
User talk:Katfury05

Welcome
, welcome to Wikinews! I hope you like the place and decide to stay. Here are a few good links for newcomers:

Our key policies - if you read anything, read these! Here are some pointers to help you get to know Wikinews: There are always things to do on Wikinews: By the way, you can sign your name on Talk pages using four tildes ( ~~~~ ), which produces your name and the current date. If you have any questions, you can ask them at the water cooler or to anyone on the Welcommittee, or ask me on my Talk page. Again, welcome! JoshuaZ (talk) 18:06, 2 October 2008 (UTC)
 * Neutral point of view - tell every side to a story in a fair and balanced way
 * Cite sources - everything in a Wikinews article must be sourced
 * Introduction - overview of the site
 * Writing an article - how to write and publish a complete article
 * Content guide - what's suitable for Wikinews
 * Style guide - how articles should look before publishing
 * Reviewing articles - how articles pass through editorial review
 * Contents - the contents page.
 * Existing articles need expanding and checking for spelling and mistakes
 * The front page lead articles often need updating
 * Developing stories need finishing and publishing
 * Discussions need your input
 * Audio Wikinews could always use more contributors
 * And of course, stories need writing!

title: User talk:Katfury05


text:
29 killed in Algerian floods

October 2, 2008

Floods in the Algerian town of which is in the, a , have killed at least 29 people according to local officials and Ali Belkhir, the head of public health for the north African country.

Belkhir confirmed that "following these floods, we can sadly declare that 29 people have died." He also said that 84 people were injured, although the Algerian interior ministry has since lowered the toll to 48. Six hundred homes were also flooded in the incident, and several hundred people were evacuated by helicopter.

According to reports on, there may also be undiscovered damage in towns nearby Ghardaïa, which is approximately 600 kilometres from the Algerian capital, Algiers.

The flooding was caused by storms that flooded a, known locally as a wadi, which can rise quickly by around 8 metres.

Ghardaïa is the capital of the, located on the edge of the , and it has a population of approximately 100,000. The city was founded in the 11th century and has a pyramid-style mosque at its center.

title: 29 killed in Algerian floods


text: Talk:29 killed in Algerian floods

title: Talk:29 killed in Algerian floods