Special:Export remove "Category:" (or local name) from text box
Closed, ResolvedPublic


Would it be possible for when the user presses "Add" that if they have put "Category:" (or whatever the localised version is), that it is removed by the software

I've done it a couple of times with it in, and then am like WTF when it doesnt work


Version: 1.13.x
Severity: minor
URL: http://en.wikipedia.org/wiki/Special:Export


bzimport set Reference to bz14790.
bzimport added a subscriber: Unknown Object (MLST).
Reedy created this task.Jul 11 2008, 5:21 PM
Reedy added a comment.Jul 11 2008, 6:43 PM

Changing to Enhancement (as it isnt really a bug)

I'd say this is a real bug, since we usually accept such things with namespace prefixes with no problem.

Steps to reproduce:

  1. Go to http://en.wikipedia.org/wiki/Special:Export
  1. In "Add pages to from category" box type "Category:Long Island"
  1. Click "Add" button

Expected results:

A bunch of pages from http://en.wikipedia.org/wiki/Category:Long_Island should be listed in the export page list box.

Actual results:

No pages are listed.


Type "Long Island" without the "Category:" namespace prefix.

Suggested fix:

Normalize the category name more sensible in Special:Export, so that category names are accepted both with and without the 'Category:' prefix.

Reedy added a comment.Jul 31 2008, 9:20 AM

Cheers Brion,

I suppose, its only a case of sending it to a function thats already written and having the normalised title sent back

Fixed in r39184.

Add Comment