Page MenuHomePhabricator

Special:ShortPages and Special:LongPages should filter by NS0 (main name space) and also Page: namespace in all Wikisources
Open, Needs TriagePublic

Description

Special:ShortPages & Special:LongPages should be filtered by NS0 (Main namespace) and Page Namespace in all Wikisource.

If I go to https://wikisource.org/wiki/Special:ShortPages, I can found only Page namespace, I want the NS0 (Main namespace).

When I am in https://wikisource.org/wiki/Special:LongPages, I can found only NS0 pages. But want Page namespace also.

Event Timeline

Aklapper renamed this task from Special:ShortPages & Special:LongPages should be filter by NS0( Main name space) and Page: Namepace in all wikisource to Special:ShortPages and Special:LongPages should filter by NS0 (main name space) and also Page: namespace in all Wikisources.Mar 14 2019, 7:43 PM

While I believe it is possible to get a list of such pages via Quarry queries, being able to view these within the special pages themselves would be quite helpful (and not just for the two aforementioned namespaces, and not just for Wikisources either).

@Mahir256 Could you please share the Quarry queries for the same??

https://quarry.wmflabs.org/query/28286 lists all pages in the Page: namespace below 500 bytes, in ascending order of page length (so that the shortest pages in the Page: namespace show up first). The commented lines, if uncommented, will list those pages that have already been proofread but not validated--this is presently based on links to the category "Proofread" rather than page properties, but I'm sure this can be fixed easily.

Adjusting the number of pages returned requires changing the maximum page length, adjusting the namespace is as simple as adjusting 'page_namespace', and adjusting this to work with the longest pages requires setting a condition like 'page_len > 5000' (or some larger number) to return large pages and having the last line be 'order by page_len desc;' so that the largest pages show up first.

(As before, it would be great to be able to access these namespace-based lists without resorting to Quarry every time.)