User:Subpagination Bot/Task 1: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Jitse Niesen
(explain errors)
imported>Jitse Niesen
(fixing from-wp flag)
Line 49: Line 49:


The problem with [[Industrial Revolution]] was that the checklist in [[Talk:Industrial Revolution]] was misformed; the ''by'' parameter contained a pipe character. The problem with [[Kingdom (biology)]] was that it was only partially converted to use subpages: it did not have the {{tl|subpages}} template but the page [[Template:Kingdom (biology)/Metadata]] did exist.
The problem with [[Industrial Revolution]] was that the checklist in [[Talk:Industrial Revolution]] was misformed; the ''by'' parameter contained a pipe character. The problem with [[Kingdom (biology)]] was that it was only partially converted to use subpages: it did not have the {{tl|subpages}} template but the page [[Template:Kingdom (biology)/Metadata]] did exist.
----
The bot was interrupted by [[User:Aleksander Stos|Aleksander Stos]] who discovered that it cleared the ''From Wikipedia'' flag from articles (thanks Aleks). This was fixed by another script on the following articles:
* [[HIV test]], [[Herbert Hoover]], [[Herblock]], [[Hereditary spherocytosis]], [[Hero]], [[Herodotus]], [[Herschel Grynszpan]], [[Hinduism]], [[His Girl Friday]], [[History of linguistics]], [[History of scientific method]], [[History of the English language]], [[Homeopathic proving]], [[Homeopathy]], [[Hormone]], [[Horst Wessel]], [[Horst-Wessel-Lied]], [[Horticulture]], [[Hu Shih]], [[Human biology]], [[Human geography]], [[Human spine]], [[Hunger]], [[Hydrogen bond]], [[Hydroxyl]], [[Hypothalamus]], [[Imidacloprid]], [[Immunology]], [[Impaired fasting glucose]], [[Impaired glucose tolerance]], [[In situ hybridization]], [[Inborn errors of metabolism]], [[Indonesia]], [[Infinity series]], [[Influenza]], [[Insect]], [[Institutional repository]], [[Instructional Technology]], [[Integer]], [[Intellipedia]], [[Inter-rater reliability]], [[Intercultural competence]], [[Internasal scales]], [[International System of Units]], [[International wheat production statistics]], [[Ion]], [[Ion-selective electrodes]], [[Irritable bowel syndrome]], [[Island Biogeography]], [[J. P. Morgan]], [[James Farley]], [[James K. Polk]], [[Jesus]], [[Jesus in Islam]], [[Jewish views of Jesus]], [[Jim Crow]], [[Johann Sebastian Bach]], [[Johannes Gutenberg]], [[John D. Rockefeller]], [[John Fenno]], [[John Joseph Martin]], [[John Steinbeck]], [[Joseph E. Stiglitz]], [[Joseph Goebbels]], [[Joseph Wood]], [[Journal of Neuroendocrinology]], [[Journal of Scientific Exploration]], [[Journalism]], [[Judaism]], [[Julius Axelrod]], [[Jutta Rüdiger]], [[KLM (human computer interaction)]], [[Kansas Nebraska Act]], [[Karaites]], [[Karel Koželuh]], [[Karl Popper]], [[Katherine Swynford]], [[Kelvin]], [[Kingdom of Cochin]], [[Kingdom of Oriel]], [[Kings of Chaos]], [[Kinston, North Carolina]], [[Km²]], [[Knight]], [[Kochi (India)]], [[Kochi, History]], [[Korea and Japan]], [[Korean language]], [[Kroger Babb]], [[Ku Klux Klan]], [[Labial scales]], [[Lachesis (genus)]], [[Lachesis muta]], [[Lacrosse]], [[Lactic fermentation]], [[Language attrition]], [[Latin America]], [[Law]], [[Law of the United States]], [[Lee Cronbach]], [[Leech]], [[Leser v. Garnett]], [[Letter (alphabet)]], [[Lexical semantics]], [[Lexicon]], [[Libertarian Party of Connecticut]], [[Library science]], [[Lightning]], [[Lingua franca]], [[Linguistic prescriptivism]], [[Linguistic typology]], [[Linguistic universal]], [[Linux distribution]], [[Lipid]], [[List of biology topics]], [[List of chemists]], [[List of historians by area of study]], [[List of humanities journals]], [[List of important publications in biology]], [[List of inorganic compounds]], [[List of organic compounds]], [[List of organic reactions]], [[List of scientific journals]], [[List of social science journals]], [[List of viperine species and subspecies]], [[List of youth orchestras in the United States]], [[Logical positivism]], [[Lübeck]], [[Lucian]], [[Luigi Galvani]]
In some articles, it could not be fixed automatically. These were checked by hand:
* [[Henrik Shipstead]] and [[Janis Joplin]] were already fixed by [[User:Yi Zhe Wu|Yi Zhe Wu]].
* [[Henry Ford]], [[Japanese English]], [[Jay Treaty]], [[Ján Slota]] and [[Jeffersonville, Indiana]] were part of an initial test run which revealed an embarrassing programming error.
* [[Hermitian matrix]], [[IG Farben building]], [[John F. Kennedy]] and [[Luis Buñuel]] were edited by others after the bot, but no correction was necessary.
* [[India]] was already fixed by [[User:John Stephenson|John Stephenson]].
All other articles were fine, because the ''From Wikipedia'' flag was not set before the bot edited the page.

Revision as of 10:44, 6 November 2007

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 five minutes between every cluster of five writes.

Log

  • For the test run and all pages until "Caterpillar Club", see /Log 1
  • For the pages until "Hello world", see /Log 2

The bot was interrupted. The last page it processed was Henrik Shipstead.


The bot was stopped because the procedure has changed: the /Unused subpage is no longer needed. After updating the code, the bot was restarted.

The bot was interrupted. The last page it processed was Lyceum (Aristotle).

The problem with Industrial Revolution was that the checklist in Talk:Industrial Revolution was misformed; the by parameter contained a pipe character. The problem with Kingdom (biology) was that it was only partially converted to use subpages: it did not have the {{subpages}} template but the page Template:Kingdom (biology)/Metadata did exist.


The bot was interrupted by Aleksander Stos who discovered that it cleared the From Wikipedia flag from articles (thanks Aleks). This was fixed by another script on the following articles:

In some articles, it could not be fixed automatically. These were checked by hand:

All other articles were fine, because the From Wikipedia flag was not set before the bot edited the page.