Difference between revisions of "User:MaintenanceBot"

From Wikispooks
Jump to navigation Jump to search
(upgrade)
(Software requirements)
 
Line 15: Line 15:
 
Sometimes, Wikipedia has no page, but does have a (sub-)section. In this case, a hashtagged URL should be used ("...wiki/page#section") but maintenance bot does ''not'' not use this for scraping.
 
Sometimes, Wikipedia has no page, but does have a (sub-)section. In this case, a hashtagged URL should be used ("...wiki/page#section") but maintenance bot does ''not'' not use this for scraping.
  
==Further ideas,Mistakes?==
+
==Further ideas, Mistakes?==
 
MaintenanceBot ''does'' make mistakes. Please report these, together with ideas on the [[User_talk:MaintenanceBot|discussion page]].
 
MaintenanceBot ''does'' make mistakes. Please report these, together with ideas on the [[User_talk:MaintenanceBot|discussion page]].
  
Line 23: Line 23:
 
* 2015-12-? - Broken somewhen by server change
 
* 2015-12-? - Broken somewhen by server change
 
* 2015-07-12 v1.0 - First version of MaintenanceBot launched.
 
* 2015-07-12 v1.0 - First version of MaintenanceBot launched.
 +
 +
==Software requirements==
 +
MaintenanceBot was written in PHP5 and requires the {{t|php-curl}} and {{t|php-xml}} packages.
 
[[Category:Wikispooks Bots]]
 
[[Category:Wikispooks Bots]]

Latest revision as of 17:32, 17 January 2019

User:MaintenanceBot automatically adds missing details to pages. To activate it, simply create a page with an SMWObject. For maximum effect, add a Wikipedia parameter to point it to the corresponding Wikipedia page.

Object class

All Wikispooks pages must have an SMWObject. This requirement is fundamental for the MaintenanceBot to upgrade your page. The most common object type is person, in which case write:

{{Person}}

For a listof all possible objects, see SMWObject.

Wikipedia parameter

MaintenanceBot cannot improve pages much unless they also have a |Wikipedia parameter (which may be abbreviated to "|WP").

Foreign Wikipediae

The Wikispooks working language is English, and almost all the Wikipedia links are to en.wikipedia.org. Obscure foreigners may have no English Wikipedia page, but have a page in their native language. In this case, choosing a foreign Wikipedia page (for example de.wikipedia.org) is acceptable. MaintenanceBot can scrape non-English pages, but with reduced effectiveness.

Tagged URLs

Sometimes, Wikipedia has no page, but does have a (sub-)section. In this case, a hashtagged URL should be used ("...wiki/page#section") but maintenance bot does not not use this for scraping.

Further ideas, Mistakes?

MaintenanceBot does make mistakes. Please report these, together with ideas on the discussion page.

History

  • 2016-11-0? v1.3 - MaintenanceBot is now more reliable.
  • 2016-02-07 v1.2 - MaintenanceBot is now active again.
  • 2015-12-? - Broken somewhen by server change
  • 2015-07-12 v1.0 - First version of MaintenanceBot launched.

Software requirements

MaintenanceBot was written in PHP5 and requires the php-curl and php-xml packages.