Difference between revisions of "User:Strcat"

From ArchWiki
Jump to: navigation, search
(use language tag in category names)
(Current tasks)
Line 47: Line 47:
 
             # calculate what was after the categories links on the page
 
             # calculate what was after the categories links on the page
 
             firstafter = s2.find(marker)</nowiki>}}
 
             firstafter = s2.find(marker)</nowiki>}}
 
==Current tasks==
 
*<nowiki><tt>text</tt></nowiki> -> <nowiki>{{Codeline|text}}</nowiki> - per [[ArchWiki:Requests#&lt;tt&gt; is deprecated in HTML 5]]
 

Revision as of 22:01, 9 September 2011

thestinger's cute little bot. Still needs a bot tag but I'm just making edits we would have done by hand anyway.

About this bot

Right now I'm using pywikipediabot/pywikibot, and so far just the scripts that are included (the newer pywikibot has a nicer API but doesn't include all the nice scripts) because they cover almost everything (replace.py lets you use regex).

pywikipediabot/pywikibot archwiki family file: Template:File

patch to fix the marker not being removed with the category_attop setting (for pywikipediabot, don't know if pywikibot has the same problem since I'm not using it for categories) [I should probably report this upstream, but I'm not sure if the ArchWiki causes the problem]: Template:File