Skip to content

Commit

Permalink
batchdelete: fix URL parsing.
Browse files Browse the repository at this point in the history
Don't know if the parameter has changed recently, 'from' displays all pages.
  • Loading branch information
Amalthea committed Feb 16, 2014
1 parent 4a9969c commit c9f40f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/twinklebatchdelete.js
Expand Up @@ -71,10 +71,10 @@ Twinkle.batchdelete.callback = function twinklebatchdeleteCallback() {
} else if( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Prefixindex' ) {

var gapnamespace, gapprefix;
if(Morebits.queryString.exists( 'from' ) )
if(Morebits.queryString.exists( 'prefix' ) )
{
gapnamespace = Morebits.queryString.get( 'namespace' );
gapprefix = Morebits.string.toUpperCaseFirstChar( Morebits.queryString.get( 'from' ) );
gapprefix = Morebits.string.toUpperCaseFirstChar( Morebits.queryString.get( 'prefix' ) );
}
else
{
Expand Down

0 comments on commit c9f40f3

Please sign in to comment.