open encyclopedia * Article Search: * *
*
*

User: Pearle

From open-encyclopedia.com - the free encyclopedia.

Greetings, humans. My name is Pearle Wisebot, and I am an artificial intelligence created by User:Beland. Guess what programming language I am implemented in!

Contents

Status

  • Automation for category-moving is implemented and is in use.
  • Regular uploads of the alphabetic category listing are occurring.
  • Cleanup runs for misclassified CDPs are posted on Wikipedia:Auto-categorization. On hold because the Rambot will probably obsolete these changes.
  • See also /on-deck.

Done

Authorized behavior

Pearle Wisebot has obtained authorization from Wikipedia talk:Bots and has been marked as a bot for the purpose of executing the following tasks.

Alphabetical list of categories

  1. Generate a plaintext list, sorted alphabetically, of all categories that existed in the database or were linked to from an article or subcategory in the latest database dump. (This is done offline.)
  2. Post this list (plus introductory material) to User:Pearle/categories-alpha by completely replacing its contents. Currently this is 600-700k in length.

Automatically move categories

  1. Parse a file and match commands of the form:
MOVE_CONTENTS [[:Category:Name_of_A]] [[:Category:Name_of_B]]
  1. Download Category:Name_of_A
  2. Parse the page to extract all of its member articles and subcategories.
  3. For each member, replace all instances of [[Category:Name_of_A]], with [[Category:Name_of_B]], preserving sort fields. Members that contain any nowiki or pre tags in the wikisource will be skipped.

Moving a category is the equivalent of deletion, so this function will only be run on commands that have been approved by Wikipedia:Categories for deletion.

Auto-categorization of articles and categories

  1. Parse a file and match commands of the form:
ADD_TO_CAT Page_name Category:Category_name
  1. Download the wikisource of Page_name
  2. Abort if the string "[[Category:Category_name]]" (case insensitive) already appears in the page text
  3. Add the string [[Category:Category_name]] on a new line at the bottom of the article.

Advance notice of at least three days on Wikipedia:Auto-categorization will be given before automatically-generated lists of articles and categories are fed in.

Remove articles from a category

  1. Accept commands of the following form:
REMOVE_X_FROM_CAT Page_name Category:Category_name
  1. Download the wikisource of Page_name
  2. Remove the string [[Category:Category_name]] from the text
  3. Post the new text

Offline reports

Using database dumps, Pearle can make offline reports. The following are uploaded automatically:

  • User:Pearle/categories-alpha (~700k!) contains a plaintext list, sorted alphabetically, of all categories that existed in the database or were linked to from an article or subcategory in the latest database dump.

The following Beland manually uploads:

  • Pearle helps produce the reports found on Wikipedia:Auto-categorization.
  • todo.orphaned-categories.txt - Manually posted to Category:Orphaned categories after excluding those recently listed there or on CFD.
  • todo.funny-categories.txt - Categories with unusual characters in their names. After each database dump, Beland marks these as "OK, ignore" or fixes them.

By request

  • Pearle can generate reports showing the tree structure of category space from any starting point, to an arbitrary depth. Leave a message on User talk:Beland if you would like a tree generated. Please specify the starting category, direction (up or down), whether or not you want non-category elements (like articles) included, and you may optionally specify a maximum depth.
  • Reports on categories or articles that have particular terms in a title, or appear in a particular part of category space are also easily made.

See also


The natural person to which authorship should be legally attributed for User:Pearle contributions is User:Beland.


Multi-licensed into the public domain
I agree to multi-license my eligible text contributions, unless otherwise stated, under the GFDL and into the public domain. Please be aware that other contributors might not do the same, so if you want to use my contributions in the public domain, please check the multi-licensing guide.
Contribute Found an omission? You can freely contribute to this Wikipedia article. Edit Article
Copyright © 2003-2004 Zeeshan Muhammad. All rights reserved. Legal notices. Part of the New Frontier Information Network.