Page MenuHomePhabricator

Special:LongPages: support other namespaces and sortability
Open, Needs TriagePublicFeature

Description

Special:LongPages seems to support only pages in the NS:0 namespace. It'd be good if it supported all namespaces and we could also sort them by namespaces as we do with, ie, Special:UnconnectedPages.

Event Timeline

@MarcoAurelio the Special:UnconnectedPages cannot be found in includes/specials/. What specials page did you actually referred to? Where can I find it?

@MarcoAurelio the Special:UnconnectedPages cannot be found in includes/specials/. What specials page did you actually referred to? Where can I find it?

You can find Special:UnconnectedPages
at https://phabricator.wikimedia.org/diffusion/EWBA/browse/master/client/includes/Specials/SpecialUnconnectedPages.php, It is Part of Wikibase.

Last Night I played with Special:LongPages. See P6670, You need to write Callback and Namespace Filter Functions.

longpages.JPG (637×1 px, 75 KB)

Namespace Filter can be done by

$excludenamespace= array_filter( MWNamespace::getValidNamespaces(),
           'MWNamespace::isTalk' );

I also have the need to search for the longest pages in other namespaces. For example on Wikidata it would be good to know which are the biggest properities and lexemes.
On Wikipedia it would be interesting to see which Help-pages are the longest to split/improve/consolidate them for making it easier for beginners.

Izno changed the subtype of this task from "Task" to "Feature Request".Aug 9 2023, 3:24 AM
Izno removed a project: OKR-Work.