Fix tags for the third time

This commit is contained in:
Markus-Rost 2021-01-04 17:31:09 +01:00
parent 427289a9bc
commit 6db23b5ed6

View file

@ -971,11 +971,9 @@ async def embed_formatter(action, change, parsed_comment, categories, recent_cha
elif action == "managetags/create":
link = create_article_path("Special:Tags", WIKI_ARTICLE_PATH)
embed["title"] = _("Created a tag \"{tag}\"").format(tag=change["logparams"]["tag"])
recent_changes.init_info()
elif action == "managetags/delete":
link = create_article_path("Special:Tags", WIKI_ARTICLE_PATH)
embed["title"] = _("Deleted a tag \"{tag}\"").format(tag=change["logparams"]["tag"])
recent_changes.init_info()
elif action == "managetags/activate":
link = create_article_path("Special:Tags", WIKI_ARTICLE_PATH)
embed["title"] = _("Activated a tag \"{tag}\"").format(tag=change["logparams"]["tag"])