Page MenuHomePhabricator

add column option to Special:PrefixIndex
Closed, ResolvedPublic

Description

Author: ddm

Description:
it would be very useful to be able to specify the number of columns in the
output table when using Special:PrefixIndex and looking at the code, this seems
to be a trivial addition. I can provide a patch if there's interest.

To support something like this:
{{Special:PrefixIndex/{{FULLPAGENAME}}/|columns=2}}

Thanks


Version: 1.23.0
Severity: enhancement

Details

Reference
bz60759

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:05 AM
bzimport set Reference to bz60759.
bzimport added a subscriber: Unknown Object (MLST).

Please do provide such a patch; it would indeed be useful.

ddm wrote:

I submitted the patch as a pull request on github:
https://github.com/wikimedia/mediawiki-core/pull/18

Change 110987 had a related patch set uploaded by Yuvipanda:
Bug 60759: add columns option to Special:PrefixIndex

https://gerrit.wikimedia.org/r/110987

Se4598 added a comment.Feb 3 2014, 8:25 PM

As you can also add the parameter while viewing the special page directly (I personally wouldn't create a extra input field for this), you should also add it to the "next page"-query if not default, so it will be honored on the next page as well (the query should be around line 270)

If you have time, you may want to create an developer account and participate directly at the patch, which is now submitted in our code review system gerrit. See https://www.mediawiki.org/wiki/Gerrit/Getting_started for more information or ask here

ddm wrote:

I uploaded a new patchset fixing the query as well. Thank you

ddm wrote:

any update on this?

Patch still awaiting review in Gerrit... :-/

Yuvi: Any spare cycles?

Change 110987 had a related patch set uploaded by Chad:
Add columns option to Special:PrefixIndex

https://gerrit.wikimedia.org/r/110987

Change 110987 merged by jenkins-bot:
Add columns option to Special:PrefixIndex

https://gerrit.wikimedia.org/r/110987

All patches mentioned in this report are either merged or abandoned - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?