User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 51: Line 51:
:::Dangit all, why didn't I think of just processing over that array? Such a simple solution. For some reason I had it in my head to run a bot over the wiki in order to resolve the building names that repeat, and it was going to be more effort than it was worth. And sure, I'd be interested in having a copy of that script around for possible later use. {{User:Aichon/Signature}} 00:15, 13 October 2010 (BST)
:::Dangit all, why didn't I think of just processing over that array? Such a simple solution. For some reason I had it in my head to run a bot over the wiki in order to resolve the building names that repeat, and it was going to be more effort than it was worth. And sure, I'd be interested in having a copy of that script around for possible later use. {{User:Aichon/Signature}} 00:15, 13 October 2010 (BST)
::::The script is [http://sites.google.com/site/thvortex/makelinks.py here]. Commented lines on top are the search/replace expressions I've been using. The Javascript declarations were close enough to Python's that I could just copy & paste the code over. The extra <tt>o += </tt>... code was to keep the order of the declarations the same on output. I would tweak the script slightly for each building type.--[[User:Thvortex|Thvortex]] 06:43, 13 October 2010 (BST)
::::The script is [http://sites.google.com/site/thvortex/makelinks.py here]. Commented lines on top are the search/replace expressions I've been using. The Javascript declarations were close enough to Python's that I could just copy & paste the code over. The extra <tt>o += </tt>... code was to keep the order of the declarations the same on output. I would tweak the script slightly for each building type.--[[User:Thvortex|Thvortex]] 06:43, 13 October 2010 (BST)
:::::Many thanks. And thanks again for the changes to the script. They still look great a day later. ;) {{User:Aichon/Signature}} 22:46, 13 October 2010 (BST)

Revision as of 21:46, 13 October 2010

Aichon:Talk
Aichon
ˈīˌkän :Talk