mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
parent
aa29d1ca88
commit
639e6da670
|
@ -336,6 +336,11 @@
|
||||||
"color": 65280,
|
"color": 65280,
|
||||||
"emoji": "🗿"
|
"emoji": "🗿"
|
||||||
},
|
},
|
||||||
|
"newusers/reclaim": {
|
||||||
|
"icon": "",
|
||||||
|
"color": 65280,
|
||||||
|
"emoji": "🗿"
|
||||||
|
},
|
||||||
"managewiki/delete": {
|
"managewiki/delete": {
|
||||||
"icon": "",
|
"icon": "",
|
||||||
"color": 8421504,
|
"color": 8421504,
|
||||||
|
|
|
@ -303,6 +303,8 @@ async def compact_formatter(action, change, parsed_comment, categories, recent_c
|
||||||
content = _("Account [{article}]({article_url}) was created by [{author}]({author_url}) and password was sent by email{comment}").format(article=change["title"], article_url=link, author=author, author_url=author_url, comment=parsed_comment)
|
content = _("Account [{article}]({article_url}) was created by [{author}]({author_url}) and password was sent by email{comment}").format(article=change["title"], article_url=link, author=author, author_url=author_url, comment=parsed_comment)
|
||||||
elif action == "newusers/newusers":
|
elif action == "newusers/newusers":
|
||||||
content = _("Account [{author}]({author_url}) was created").format(author=author, author_url=author_url)
|
content = _("Account [{author}]({author_url}) was created").format(author=author, author_url=author_url)
|
||||||
|
elif action == "newusers/reclaim":
|
||||||
|
content = _("Account [{author}]({author_url}) was reclaimed").format(author=author, author_url=author_url)
|
||||||
elif action == "interwiki/iw_add":
|
elif action == "interwiki/iw_add":
|
||||||
link = link_formatter(create_article_path("Special:Interwiki", WIKI_ARTICLE_PATH))
|
link = link_formatter(create_article_path("Special:Interwiki", WIKI_ARTICLE_PATH))
|
||||||
content = _("[{author}]({author_url}) added an entry to the [interwiki table]({table_url}) pointing to {website} with {prefix} prefix").format(author=author, author_url=author_url, desc=parsed_comment,
|
content = _("[{author}]({author_url}) added an entry to the [interwiki table]({table_url}) pointing to {website} with {prefix} prefix").format(author=author, author_url=author_url, desc=parsed_comment,
|
||||||
|
@ -928,6 +930,9 @@ async def embed_formatter(action, change, parsed_comment, categories, recent_cha
|
||||||
elif action == "newusers/newusers":
|
elif action == "newusers/newusers":
|
||||||
link = author_url
|
link = author_url
|
||||||
embed["title"] = _("Created account")
|
embed["title"] = _("Created account")
|
||||||
|
elif action == "newusers/reclaim":
|
||||||
|
link = author_url
|
||||||
|
embed["title"] = _("Reclaimed account")
|
||||||
elif action == "interwiki/iw_add":
|
elif action == "interwiki/iw_add":
|
||||||
link = create_article_path("Special:Interwiki", WIKI_ARTICLE_PATH)
|
link = create_article_path("Special:Interwiki", WIKI_ARTICLE_PATH)
|
||||||
embed["title"] = _("Added an entry to the interwiki table")
|
embed["title"] = _("Added an entry to the interwiki table")
|
||||||
|
|
Loading…
Reference in a new issue