apprefix b0rken when searching for prefixes ending in a slash
Closed, ResolvedPublic

Description

When using Special:PrefixIndex to search for subpages of a particular page, the recommended practice is to include a slash at the end of the query, e.g. [[Special:PrefixIndex/Main page/]]. However, this is currently b0rken in the API at least as of r40356: http://en.wikipedia.org/w/api.php?action=query&list=allpages&apprefix=Main-page/&aplimit=10 gives an error about "Main page/." being an invalid title.

This may have resulted from r40088; if so, changing the dummy character from '.' to 'x' should fix it. (OTOH, I could just be wrong about it).


Version: 1.14.x
Severity: enhancement

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:20 PM
bzimport set Reference to bz15471.
Anomie created this task.Via LegacySep 4 2008, 11:21 AM
Catrope added a comment.Via ConduitSep 4 2008, 1:42 PM

(In reply to comment #0)

This may have resulted from r40088; if so, changing the dummy character from
'.' to 'x' should fix it. (OTOH, I could just be wrong about it).

You're right about this. The choice for '.' was a stupid one anyway, as apprefix=Main_Page/. would behave very weirdly.

Fixed in r40432.

Anomie added a comment.Via ConduitSep 6 2008, 7:29 PM
  • Bug 15500 has been marked as a duplicate of this bug. ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.