User:Subpagination Bot/Task 1: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Subpagination Bot
m (Intermediate log (details))
No edit summary
 
(281 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{AccountNotLive}}
The bot will go through all articles with a [[Template:Checklist|checklist template]] and convert them to the new [[CZ:Subpages]] technology. This is the start of step 4 of [[CZ:Subpages#A plan for The Big Subpagination]].
The bot will go through all articles with a [[Template:Checklist|checklist template]] and convert them to the new [[CZ:Subpages]] technology. This is the start of step 4 of [[CZ:Subpages#A plan for The Big Subpagination]].


Line 19: Line 20:
** It removes the checklist from the talk page and adds <nowiki>{{subpages}}</nowiki> at the top.
** It removes the checklist from the talk page and adds <nowiki>{{subpages}}</nowiki> at the top.
** It creates XXX/Approved, containing only <nowiki>{{subpages}}</nowiki>.
** It creates XXX/Approved, containing only <nowiki>{{subpages}}</nowiki>.
** It creates XXX/Unused, containing only <nowiki>{{subpages}}</nowiki>.
** <s>It creates XXX/Unused, containing only <nowiki>{{subpages}}</nowiki>.</s>
** It adds <nowiki>{{subpages}}</nowiki> at the top of the article and it removes any categories.
** It adds <nowiki>{{subpages}}</nowiki> at the top of the article and it removes any categories.
* To avoid overwhelming the servers, the bot will wait at least one second between reads, ten seconds between writes, and five minutes between every cluster of five writes.
* To avoid overwhelming the servers, the bot will wait at least one second between reads, ten seconds between writes, and minutes between every cluster of four writes.


== Log ==
== Log ==


<!--subpaginationlog-->
* For the test run and all pages until "Caterpillar Club", see [[/Log 1]]
* Converted to use subpages: [[13Q]], [[1 CE]], [[2006]], [[2007]], [[20mm antiaircraft gun]], [[30th Dáil]], [[3j-symbol]], [[9-11 Attack]], [[Abas (Sophist)]], [[ABBA]], [[Abelian surface]], [[Abelian variety]], [[Abigail Thernstrom]], [[Abolla]], [[Aboyne dress]], [[Abraham Emanuel Fröhlich]], [[Abraham Flexner]], [[Abraham John Valpy]], [[Abraham Lincoln]], [[Abrogation doctrine]], [[Abscess]], [[Abstention doctrine]], [[Academic journal]], [[Accessio]], [[Acclamatio]], [[Accubita]], [[Acerra]], [[Acetabulum]], [[Acetabulum (cup)]], [[Acetylcholine]], [[Achillea]], [[Achilles]], [[A Christmas Carol]], [[Acid rain]], [[Acinaces]], [[Acontius]], [[Actaeon]], [[Actin]], [[Actinomycin D]], [[Action potential]], [[Action T4]], [[Actual parameter]], [[Acupuncture]], [[Acupuncture point]], [[Acusilaus]], [[Acute accent]], [[Adam Smith]], [[Adaptation]], [[Adaptionist]], [[Adaptive value]], [[Adder (electronics)]], [[Adenorhinos]], [[Adenosine triphosphate]], [[Adhesion plaques]], [[Adinath Lokeshwar]], [[Adipose tissue]], [[Administrators-General of South West Africa]], [[Adobe Walls, First Battle]], [[Adolf Hitler]], [[Adriana Lima]], [[Adventures of Huckleberry Finn]], [[Aerobic organism]], [[Aeropyrum pernix]], [[Aerospace]], [[Afghanistan]], [[AFL]], [[African American literature]], [[African philosophy]], [[Age (geology)]], [[Agkistrodon piscivorus conanti]], [[Aglet]], [[Agora]], [[Agricultural crops]], [[Agriculture]], [[Agriculture, history]], [[Agriculture, history, U.S.]], [[AIDS]], [[Aikido]], [[Airship]], [[Alabama]], [[Alamo]], [[Alamo, Battle]], [[Alan Blumlein]], [[Alan fitz Walter, 2nd High Steward of Scotland]], [[Alanine cycle]], [[Alaska's At-large congressional district]], [[Albany]], [[Alben Barkley]], [[Albert Einstein]], [[Albert Gallatin]], [[Aldo Leopold]], [[A-League]], [[Alexander Fleming]], [[Alexander Hamilton]], [[Alexander Long]], [[Alexander the Great]], [[Alfred J. Eggers]], [[Alfred Nobel]], [[Algebra]], [[Algebraic number]], [[Algebraic surface]], [[Algorithm]], [[Alistair Darling]], [[Allegheny Portage Railroad]], [[Allelopathy]], [[Allen's rule]], [[All-in-One PC]], [[Allozymes]], [[Almond Pressed Duck]], [[Almost sure convergence]], [[Al Smith]], [[Altruism]], [[Alvin Hansen]], [[Alvise Cadamosto]], [[Amancio Ortega]], [[Amanita phalloides]], [[Amateur Computer Group of New Jersey]], [[Amber House]]
* For the pages until "Hello world", see [[/Log 2]]
* Skipped because they are subpages: [[1/f noise]], [[40mm/56 caliber gun]], [[5"/38 caliber gun]], [[Aerospace engineering/Approval]], [[Aerospace engineering/Timelines]], [[Aerospace engineering/Unused]], [[Alipiopsitta xanthops/Approval]], [[Alipiopsitta xanthops/Unused]], [[Amateur radio/Catalogs]], [[Amateur radio/Draft]], [[Amateur radio/External Links]], [[Amateur radio/Tables/USA]], [[Amateur radio/Unused]]
* For the pages until "Luxating patella", see [[/Log 3]]
* Skipped because they already use subpages: [[Aerospace engineering]], [[Alipiopsitta xanthops]]
* For the pages until "Pink Floyd", see [[/Log 4]]
* Skipped because they use an old subpage template: [[Amateur radio]]
* For the rest, see [[/Log 5]]
* Skipped because there is no checklist: [[Acting]], [[Action (praxis)]], [[Adam Ferguson]], [[Adipocyte]], [[Alabama, history]], [[Alfred Thayer Mahan]]
<!--subpaginationlog-->


== Log of a test run ==
----
 
To give an idea what it does, I ran the bot on the first ten articles starting with a J. The log of this test run follows.
 
* Converted to use subpages: [[Jack Kramer]]
* Skipped because they are subpages: [[Jack Crawford/Approval]], [[Jack Crawford/Bibliography]], [[Jack Crawford/Unused]]
* Skipped because they already use subpages: [[Jack Crawford]]
* Skipped because I encountered an error: [[Jackrat Terrier]], [[Jacksonian Democracy]], [[Jacksonville Symphony Youth Orchestra]], [[Jacques Derrida]], [[Jacques Goudstikker]]
 
As you can see, there were some errors in the program. After fixing them, I repeated the test run:
 
* Converted to use subpages: [[Jackrat Terrier]], [[Jacksonian Democracy]]
* Skipped because they are subpages: [[Jack Crawford/Approval]], [[Jack Crawford/Bibliography]], [[Jack Crawford/Unused]], [[Jack Kramer/Approval]], [[Jack Kramer/Metadata]], [[Jack Kramer/Unused]]
* Skipped because they already use subpages: [[Jack Crawford]], [[Jack Kramer]]

Latest revision as of 04:45, 22 November 2023


The account of this former contributor was not re-activated after the server upgrade of March 2022.


The bot will go through all articles with a checklist template and convert them to the new CZ:Subpages technology. This is the start of step 4 of CZ:Subpages#A plan for The Big Subpagination.

In case things go wrong, the bot can be stopped by leaving a message on User:Subpagination Bot/Emergency stop. If that does not help, constables can stop it by blocking the account.

Details of the bot

  • The bot goes through all the pages in the main namespace.
  • It skips the page if one of the following conditions is met:
    • The title of the page contains a / (i.e., it's actually a subpage).
    • The page redirects to another page.
    • The page contains {{disambig}} (i.e., it's a disambiguation page).
    • The page is protected.
    • The page is actually Main Page.
    • The page already contains {{subpages}}.
    • The page contains an old template of the form {{subpagesN}} where N is a digit.
    • The talk page does not contain the checklist template.
  • If none of these conditions are met, then the bot converts the article to the subpage forms by going through the following steps (where XXX refers to the name of the article):
    • It creates XXX/Metadata and fills it with the data from the checklist.
    • It removes the checklist from the talk page and adds {{subpages}} at the top.
    • It creates XXX/Approved, containing only {{subpages}}.
    • It creates XXX/Unused, containing only {{subpages}}.
    • It adds {{subpages}} at the top of the article and it removes any categories.
  • To avoid overwhelming the servers, the bot will wait at least one second between reads, ten seconds between writes, and 2½ minutes between every cluster of four writes.

Log

  • For the test run and all pages until "Caterpillar Club", see /Log 1
  • For the pages until "Hello world", see /Log 2
  • For the pages until "Luxating patella", see /Log 3
  • For the pages until "Pink Floyd", see /Log 4
  • For the rest, see /Log 5