Page MenuHomePhabricator

namespace/prefix support to special:contributions URL
Closed, DeclinedPublic

Description

I often want to quickly view a users contributions in a specific namespace.
I can do this by entering
special:contributions/<username>?namespace=<num>

I would like to be able to do
special:contributions/<username>/<namespace>

or to match the prefixindex usage

special:contributions/<username>/<namespace>:

It would also be useful to be able to specify a different prefix, especially for wikis which have subpages enabled in the main namespace

special:contributions/<username>/[<namespace>:]prefix

which would return only contributions to pages with that prefix.


Version: unspecified
Severity: enhancement

Details

Reference
bz28111

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:24 PM
bzimport set Reference to bz28111.
bzimport added a subscriber: Unknown Object (MLST).

Any database query achieving this would be horrendously inefficient.

It also breaks the convention of the "slash" value being passed to 1 primary argument. (ie. "User/Namespace" would not passed entirely to &target= but split' over two arguments).

We dont want "CR params suck" all over again.

If namespace/prefix would be added, imho it should be a simple parameter:

eg. ..Special:Contributions&target=John&namespace=4&prefix=Foo

(In reply to comment #2)

It also breaks the convention of the "slash" value being passed to 1 primary
argument. (ie. "User/Namespace" would not passed entirely to &target= but
split' over two arguments).

We dont want "CR params suck" all over again.

If namespace/prefix would be added, imho it should be a simple parameter:

eg. ..Special:Contributions&target=John&namespace=4&prefix=Foo

A good format for this, which is used in Special:PrefixIndex , is /namespace:prefix