Page MenuHomePhabricator

[Migrated] Basic cleanup for books
Open, Needs TriagePublicFeature

Description

Wikipedia books all follow a basic syntax, detailed at https://en.wikipedia.org/wiki/Help:Books/for experts, which needs to be rigorously followed. To determine if a page is a book or not, check if either of https://en.wikipedia.org/wiki/Category:Wikipedia books (community books) or https://en.wikipedia.org/wiki/Category:Wikipedia books (user books) are present. If they are, it's a book, and the cleanup logic needs to be adjusted slightly.

Specifically,
*1) The {{tl|saved book}} and these four parameters (in this specific order) should always be present at the top of the book. There can be other parameters, but they should all be after {{para|cover-color}}.

{{saved book

title=
subtitle=
cover-image=
cover-color=

}}

*2) If a level 2 header isn't present, add one (=={{SUBPAGENAME}}==)
*3) The {{para|title}} and {{para|subtitle}} of {{tl|saved book}}, if empty, should be filled with the level 2 and 3 headers respectively (==Title== and ===Subtitle===)
*4) :''https://en.wikipedia.org/wiki/Foobar'' and :"https://en.wikipedia.org/wiki/Foobar" should be replaced with :''Foobar'' and :"Foobar", respectively. Likewise for
:''Barfoo'' and :"Barfoo" which should be replaced with :''Barfoo'' and :[[Fooba[[https://en.wikipedia.org/wiki/|"Barfoo"]], respectively.
*5) As in articles, :Foobar should be replace with :https://en.wikipedia.org/wiki/Foobar. However, ''unlike'' in articles, :Foobar (barfoo) should ''not'' be replaced by :https://en.wikipedia.org/wiki/Foobar (barfoo)
*6) Articles found in https://en.wikipedia.org/wiki/Category:All disambiguation pages should be tagged with {{tl|dn}}, except those with an explicit (disambiguation) in the title, such as :https://en.wikipedia.org/wiki/Foobar (disambiguation)
*7) If the image of {{para|cover-image}} is found in https://en.wikipedia.org/wiki/Category:All non-free media, it should be removed.
*8) Categories starting with "Category:Wikipedia books..." should precede other categories, separated by a line break
*9) If no category starting with "Category:Wikipedia books..." (except the 7 listed below) is present, then "https://en.wikipedia.org/wiki/Wikipedia books (books without categories) should be added. If such a category is present, then "https://en.wikipedia.org/wiki/Wikipedia books (books without categories) should be removed.

:*https://en.wikipedia.org/wiki/Category:Wikipedia books (books without cover images)
:*https://en.wikipedia.org/wiki/Category:Wikipedia books (books without custom colors)
:*https://en.wikipedia.org/wiki/Category:Wikipedia books (community books)
:*https://en.wikipedia.org/wiki/Category:Wikipedia books (community books with bugs)
:*https://en.wikipedia.org/wiki/Category:Wikipedia books (incorrectly categorized books)
:*https://en.wikipedia.org/wiki/Category:Wikipedia books (user books)
:*https://en.wikipedia.org/wiki/Category:Wikipedia books (user books with bugs)

  1. Disambiguation pages, duplicate articles, and redirects should give alerts.

@Headbomb 01:36, 17 February 2011 (UTC)

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenFeatureNone

Event Timeline

Reguyla raised the priority of this task from to Needs Triage.
Reguyla updated the task description. (Show Details)
Reguyla added a project: AutoWikiBrowser.
Reguyla moved this task to Support for collections on the AutoWikiBrowser board.
Reguyla added subscribers: Reguyla, Aklapper.
Reguyla added a subscriber: Magioladitis.

@Magioladitis 12:19, 17 May 2015 (UTC) wrote:

@Headbomb maybe you should ask a bot to do these for starts?

Aklapper changed the subtype of this task from "Task" to "Feature Request".Nov 22 2022, 5:18 PM