User:Xenophon (bot)/Archive info

From Wikisource
Jump to navigation Jump to search
Xenophon (bot) Automatic archivation
Please place any requested tasks on Tasks's talk page.


This bot (User:Xenophon (bot)) automatically archives sections in the Wikisource:Scriptorium which have been marked by substituting the template {{subst:Archive}}, or by inserting <!-- <bot action="archive" /> --> into the section that you wish to archive.

Edit summaries and their meanings[edit]

  • BOT: Adjusting x section heading -- Archive help
    • This means that the bot has discovered a level two section header (==) on the Scriptorium that is not one of the pre-defined section headers ("Proposals", "Questions", "Announcements" or "Other discussion"), and has adjusted it to a level three section header (===). This often happens when the button generated by __NEWSECTIONLINK__ is used to create a new section on the Scriptorium.
  • BOT: Archiving x old sections to Wikisource:Scriptorium/Archives/2024/03 -- Archive help
    • A section has been marked with <!-- <bot action="archive"> --> and has been archived to the current archive.
  • BOT: Archiving x old sections from Wikisource:Scriptorium -- Archive help
    • A section from the Scriptorium has been marked with <!-- <bot action="archive"> --> and has been archived here.

Notes[edit]

These issues will hopefully be resolved.

  1. It treats all sections seperately; subsections, (such == Blah ==, with a subsection of === Blah blah ===, will both be treated seperately) need to be noted for archiving individually. Section subheadings of === Blah ===, with a subsubheading of ==== Blah blah blah ====, will be treated as a single section. If === Blah === is marked for archiving, both === Blah === and ==== Blah blah blah ==== will be archived.
  2. I'm unsure how it will deal with archive sections that do not exist.
  3. It currently does not create summaries of sections on Wikisource:Scriptorium/Archives; this shouldn't be too difficult to automate, especially if some commented out bot syntax is inserted into that page.
    • It does, but there are issues with it updating.
  4. It is currently not capable of archiving WS:DEL or WS:COPYVIO. Forthcoming.
  5. Any section that is not "Other discussion", "Questions", "Proposals", or "Announcements", and that is a level 2 header, is shrunk to a level 3 header. It's only saved if there are sections to archive, however. This needs to be tweaked by possibly incrementing a counter and saving if the counter != zero. Currently adjusts headings.