mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Merge branch '1.12' into 'testing'
Added #128 See merge request piotrex43/RcGcDw!69
This commit is contained in:
commit
863917b2f3
|
@ -1297,7 +1297,10 @@ class Recent_Changes_Class(object):
|
|||
except KeyError:
|
||||
self.tags[tag["name"]] = None # Tags with no display name are hidden and should not appear on RC as well
|
||||
for message in startup_info["allmessages"]:
|
||||
self.mw_messages[message["name"]] = message["*"]
|
||||
if not "missing" in message: # ignore missing strings
|
||||
self.mw_messages[message["name"]] = message["*"]
|
||||
else:
|
||||
logging.warning("Could not fetch the MW message translation for: {}".format(message["name"]))
|
||||
for key, message in self.mw_messages.items():
|
||||
if key.startswith("recentchanges-page-"):
|
||||
self.mw_messages[key] = re.sub(r'\[\[.*?\]\]', '', message)
|
||||
|
|
Loading…
Reference in a new issue