User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 50: Line 50:
::While I do a lot of programming at work, it's all operating system code in C. I'm still somewhat of a newb when it comes to Javascript and Web development in general.--[[User:Thvortex|Thvortex]] 22:17, 12 October 2010 (BST)
::While I do a lot of programming at work, it's all operating system code in C. I'm still somewhat of a newb when it comes to Javascript and Web development in general.--[[User:Thvortex|Thvortex]] 22:17, 12 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)
:::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.
::::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)

Revision as of 05:43, 13 October 2010

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