Difference between revisions of "Talk:Caretaker.pl"

From Organic Design wiki
(cross off rules done)
m
Line 4: Line 4:
  
 
Currently only one rule has been included for removing redundant elements from properties articles, but others will be added soon. Here's a list of rules to be considered for implemntation:
 
Currently only one rule has been included for removing redundant elements from properties articles, but others will be added soon. Here's a list of rules to be considered for implemntation:
*cat domain-name articles
+
*'''domain-names:''' articles
*cat date articles
+
*'''date:''' articles
 
*cat articles using embed
 
*cat articles using embed
 
*cat articles using apply
 
*cat articles using apply
Line 16: Line 16:
 
*fix sigs?
 
*fix sigs?
 
*format xml
 
*format xml
*remove xml orphans
+
*'''orphans:''' remove xml orphans
 
*<s>change redundant applies to embeds</s> (done)
 
*<s>change redundant applies to embeds</s> (done)
 
*<s>remove redundant properties elements</s> (done)
 
*<s>remove redundant properties elements</s> (done)
 
*change &lt;tt>[[... to svens template
 
*change &lt;tt>[[... to svens template

Revision as of 04:36, 28 October 2006

how bout marking the edits as minor? --Phalseid 18:36, 24 Oct 2006 (NZDT)

Done - I'll just wait until it runs tomorrow to see if its working --Nad 18:53, 24 Oct 2006 (NZDT)

I added the caretaker so we can add tidying and categorisation rules which will be applied to all articles on a daily basis. This script is declared on startup of Bender and its main function, caretaker() is called at 6am each morning. It loops slowly through all articles over a period of a a couple of hours so there's no noticable reduction of resource during the process.

Currently only one rule has been included for removing redundant elements from properties articles, but others will be added soon. Here's a list of rules to be considered for implemntation:

  • domain-names: articles
  • date: articles
  • cat articles using embed
  • cat articles using apply
  • cat articles containing maths
  • cat articles using document-code table
  • change ampersand articles to "and" (or get & working instead)
  • cat peers and change eg. peer/bender cat to just bender
  • common typo's, eg implimentation to implementation (done)
  • move cat links to start and format in a line
  • fix sigs?
  • format xml
  • orphans: remove xml orphans
  • change redundant applies to embeds (done)
  • remove redundant properties elements (done)
  • change <tt>[[... to svens template