diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-21 10:08:35 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-21 10:08:35 -0800 |
commit | f46d726a9c67e3fde59c55947b2e9114913ee27f (patch) | |
tree | fced5b193026dcbce414e0c0362f4f3c99336d12 | |
parent | fb7e353adc84dd77c3d288ae425631e0698b2973 (diff) | |
download | serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.tar.gz serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.tar.bz2 serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.tar.xz serverdata-f46d726a9c67e3fde59c55947b2e9114913ee27f.zip |
Work around news link color
-rw-r--r-- | tools/_news_colors.py | 3 | ||||
-rw-r--r-- | world/map/news.txt | 20 |
2 files changed, 12 insertions, 11 deletions
diff --git a/tools/_news_colors.py b/tools/_news_colors.py index 16318fdb..8b0c00b9 100644 --- a/tools/_news_colors.py +++ b/tools/_news_colors.py @@ -110,7 +110,8 @@ class TxtLink(object): def __init__(self, stack): self.stack = stack def __format__(self, target): - return '@@{link}|{text}@@'.format(link=target, text=target) + # the field labeled 'bug' should not be necessary ... + return '@@{link}|{text}@@{bug}'.format(link=target, text=target, bug=self.stack[-1]) class TxtSignature(object): __slots__ = ('stack') diff --git a/world/map/news.txt b/world/map/news.txt index 42cc5ea6..d84afadb 100644 --- a/world/map/news.txt +++ b/world/map/news.txt @@ -16,11 +16,11 @@ Also, GMs may have a surprise for you someday. This is a really exciting news entry! -Congratulations to our sister project Mana (@@http://manasource.org|http://manasource.org@@) -on winning the Liberated Pixel Cup (@@http://lpc.opengameart.org/content/code-judging-is-in|http://lpc.opengameart.org/content/code-judging-is-in@@). +Congratulations to our sister project Mana (@@http://manasource.org|http://manasource.org@@##0) +on winning the Liberated Pixel Cup (@@http://lpc.opengameart.org/content/code-judging-is-in|http://lpc.opengameart.org/content/code-judging-is-in@@##0). -The project can be found at @@http://www.sourceoftales.org/news.html|http://www.sourceoftales.org/news.html@@ -and the irc channel at @@irc://chat.freenode.net#sourceoftales|irc://chat.freenode.net#sourceoftales@@. +The project can be found at @@http://www.sourceoftales.org/news.html|http://www.sourceoftales.org/news.html@@##0 +and the irc channel at @@irc://chat.freenode.net#sourceoftales|irc://chat.freenode.net#sourceoftales@@##0. We will undoubtedly experience an influx of both ordinary players and potential developers since we @@ -44,11 +44,11 @@ responds. Now, the links: -Server coding: @@irc://chat.freenode.net#tmwa|irc://chat.freenode.net#tmwa@@ +Server coding: @@irc://chat.freenode.net#tmwa|irc://chat.freenode.net#tmwa@@##0 -Everything else: @@irc://irc.themanaworld.org#tmw-dev|irc://irc.themanaworld.org#tmw-dev@@ or @@irc://chat.freenode.net#themanaworld-dev|irc://chat.freenode.net#themanaworld-dev@@ +Everything else: @@irc://irc.themanaworld.org#tmw-dev|irc://irc.themanaworld.org#tmw-dev@@##0 or @@irc://chat.freenode.net#themanaworld-dev|irc://chat.freenode.net#themanaworld-dev@@##0 -Forums: @@http://forums.themanaworld.org/|http://forums.themanaworld.org/@@ +Forums: @@http://forums.themanaworld.org/|http://forums.themanaworld.org/@@##0 -##2o11c and Jenalya##0 @@ -85,9 +85,9 @@ support, depending on exactly how old it is: Of course, if a particular client release is buggy, we may not be able to support it at all. -For more details, see @@http://forums.themanaworld.org/viewtopic.php?f=4&t=16867|http://forums.themanaworld.org/viewtopic.php?f=4&t=16867@@. +For more details, see @@http://forums.themanaworld.org/viewtopic.php?f=4&t=16867|http://forums.themanaworld.org/viewtopic.php?f=4&t=16867@@##0. -ManaPlus is available at @@http://manaplus.evolonline.org/|http://manaplus.evolonline.org/@@ +ManaPlus is available at @@http://manaplus.evolonline.org/|http://manaplus.evolonline.org/@@##0 -##2o11c##0 @@ -205,7 +205,7 @@ But what is he doing there? And where is Easter Bunny? Three pieces of news today. First, Mana 0.6.0 got released today. You can find it at -@@http://manasource.org|http://manasource.org@@, or wait for your distribution. +@@http://manasource.org|http://manasource.org@@##0, or wait for your distribution. Second, we will be completely dropping support for the old TMW 0.0.29.1 client soon - unless there is further reason |