Page MenuHomePhabricator

Create magic word to prevent pages from listing in Special:PagesWithoutScans
Closed, ResolvedPublic

Description

The Wikisource, as it is structured, naturally some specific pages are needed to list works that have several variations, such as different editions of the same book (e.g. On the Origin of Species). However there is a problem regarding how these pages should be made.

  • Some wikis maintain these types of pages on the main domain, but these pages are inappropriately listed in Special:PagesWithoutScans. As these pages do not refer to a work itself, it makes no sense for them to be listed there.
  • One option is to use __DISAMBIG__, as in a sense this page is a disambiguation. However, this classification generates a specific markup, such as an error, since ideally there should be no links to pages that are disambiguated. It just makes sense that these pages are linked in the context of the wikisource.
  • One last option is to move these pages to a specific namespace (eg. T93870). However, this option is also not suitable, since these pages are content pages and should, in principle, be on the main domain.

So (TL;DR), I suggest creating a mechanism so that pages on the main domain can be removed from Special:PagesWithoutScans without having to be classified as disambiguated, such as a magic word like __EXPECTUNUSEDCATEGORY__ that works with Special:UnusedCategories.

Event Timeline

And T361622 at once. Always ignore main page title.

Change #1026897 had a related patch set uploaded (by Albertoleoncio; author: Albertoleoncio):

[mediawiki/extensions/ProofreadPage@master] [WIP] Create 'ExpectWithoutScans' magic word

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

Change #1026897 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Create 'ExpectWithoutScans' magic word

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

For anyone coming across this later. The solution was the new __ExpectWithoutScans__ magic word.