Difference between revisions of "Talk:Caretaker.pl"
From Organic Design wiki
(I was just thinking that - but why == and not = then?) |
(strike out items done) |
||
| 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: | ||
| − | *''Renumber'' headings so they start at = | + | *<s>''Renumber'' headings so they start at =</s> (done) |
| − | *'''domain-names:''' articles | + | *<s>'''domain-names:''' articles</s> (done) |
*'''date:''' articles | *'''date:''' articles | ||
*cat articles using embed | *cat articles using embed | ||
*cat articles using apply | *cat articles using apply | ||
| − | *cat articles containing maths | + | *<s>cat articles containing maths</s> (done) |
*cat articles using document-code table | *cat articles using document-code table | ||
*change ampersand articles to "and" (or get & working instead) | *change ampersand articles to "and" (or get & working instead) | ||
*cat peers and change eg. peer/bender cat to just bender | *cat peers and change eg. peer/bender cat to just bender | ||
*<s>common typo's, eg implementation to implementation</s> (done) | *<s>common typo's, eg implementation to implementation</s> (done) | ||
| − | *move cat links to start and format in a line | + | *move cat links to start and format in a line</s> (done) |
*fix sigs? | *fix sigs? | ||
| − | * | + | *<s>XML: remove empty elements</s> (done) |
*'''orphans:''' 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 <tt>[[... to svens template | *change <tt>[[... to svens template | ||
Revision as of 20:40, 17 November 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:
Renumber headings so they start at =(done)domain-names: articles(done)- date: articles
- cat articles using embed
- cat articles using apply
cat articles containing maths(done)- 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 implementation to implementation(done)- move cat links to start and format in a line (done)
- fix sigs?
XML: remove empty elements(done)- orphans: remove xml orphans
change redundant applies to embeds(done)remove redundant properties elements(done)- change <tt>[[... to svens template



