Page MenuHomePhabricator

Uncategorized categories/pages/templates/files refactoring
Open, MediumPublicFeature

Description

Author: Eugene.Zelenko

Description:
I think will be good idea to unite all these special pages in one with namespace selector,

Also will be good idea to add ability to specify name prefix (useful in big wikis with many uncategorized pages).


Version: unspecified
Severity: enhancement

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:01 PM
bzimport set Reference to bz12942.

Rob Church started 7 months ago a branch with a reporting system for such special pages... But dunno what happens :-(

http://svn.wikimedia.org/viewvc/mediawiki/branches/robchurch/reports/

Eugene.Zelenko wrote:

*** Bug 10285 has been marked as a duplicate of this bug. ***

  • Bug 15608 has been marked as a duplicate of this bug. ***

Eugene.Zelenko wrote:

Also custom namespaces (Portal, List, etc) may be handled in such implementation.

Eugene.Zelenko wrote:

Same applies to wanted and uncategorized, most linked sets of special pages.

See also Bug 18273: Don't jumble Wanted Categories into Wanted Pages anymore

I'll probably do this in my querypage-work branch

Uncat pages is now UncategorizedPagesPage

Uncat categories now subclasses UncategorizedPagesPage, as does uncat templates...

Varying only on the requestedNamespace...

This needs an RFC. Is there a keyword for that?

This bug feels like a duplicate of bug 4204. Thoughts?

Open since 2008 - is there any work in progress on this thing here? Or any reasons against unifying the four special pages and exposing the requestedNamespace, so that the user can choose a namespace?

Change 184189 had a related patch set uploaded (by Harmageddon):
Unify Special:UncategorizedPages/Categories/Templates

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

Patch-For-Review

This patch adds a namespace parameter to Special:UncategorizedPages and removes the categories and templates page. I'm not sure if we can remove Special:UncategoriedImages, too. The only difference I see is the gallery format of the latter.

This patch adds a namespace parameter to Special:UncategorizedPages and removes the categories and templates page.

Thanks! This is a very nice bug to fix. Did you also make the old special page redirect to the new URL for it? http://www.w3.org/Provider/Style/URI.html ;)

I'm not sure if we can remove Special:UncategoriedImages, too. The only difference I see is the gallery format of the latter.

Sure, if you manage to keep the gallery format (currently done by extending ImageQueryPage ). In fact it already contains a TODO asking this.

@Harmageddon: Would you fancy reworking your patch in Gerrit so it can get merged, or is time unfortunately limited?

@Aklapper: Unfortunately, there is still an unresolved issue regarding this patch (see discussion on Gerrit). If someone comes up with a good proposal, I'd be happy to finish this.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM