Page MenuHomePhabricator

More formatting options for Special:Allpages and Special:Prefixindex
Closed, DeclinedPublic

Description

Special:Allpages and Special:Prefixindex should have the following options:

  • An option to view the namespace or not. Currently if you are looking to a list of pages in e.g. the template namespace you can see only "Foo" and not "Template:Foo".
  • An option to view the list in one column or 3 columns. Now you can only see it in 3 columns.

This is really a lot easier for copy-pasting. If a new site has been created, we need to import the pages from Incubator. 90% of that work goes to copy-pasting from Special:Allpages/Special:Prefixindex! And I think there are many other users experiencing problems with this.

Thank you very much, [[meta:User:SPQRobin]].


Version: unspecified
Severity: enhancement

Details

Reference
bz12597

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:05 PM
bzimport set Reference to bz12597.
bzimport added a subscriber: Unknown Object (MLST).

I guess you can use API for both. You can use an XML reader to read the output of API and paste it in the format you like the most.

I've read the API documentation, and API is useful for what I need, but I still want these options for Allpages and Prefixindex, because API is not that easy and not everyone knows API (like me, until now :p). The normal in-wiki Special:Prefixindex with more options is still much easier and better than API, imo.

ayg wrote:

I don't think we need to add more formatting options for the sole purpose of copy-pasting. Get a text editor with multiline regex search and replace, and do something like

s/\t/\n/;s/^/Template:/

(depending on how copy-pasting three-column tables renders in plaintext with your browser/OS, I assumed the cell boundaries would become tabs).

conrad.irwin wrote:

Relatedly, I'd like an option to give me back the columns when I visit the page "Special:AllPages/Example", I find the extra click on "Example" annoying - I am using AllPages like that because I want to see the categories near that name.

ddm wrote:

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}}

ddm wrote:

created new ticket: bug 60759