Update extensions/base/mediawiki.py

This commit is contained in:
MarkusRost 2021-05-22 14:08:49 +00:00
parent 5ca438372d
commit eab022c51a

View file

@ -855,6 +855,7 @@ def compact_rights_rights(ctx, change):
author, author_url = compact_author(ctx, change) author, author_url = compact_author(ctx, change)
parsed_comment = compact_summary(ctx) parsed_comment = compact_summary(ctx)
if ctx.event == "rights/rights": if ctx.event == "rights/rights":
group_changes = "Unknown group changes." # Because I don't know if it can handle time extensions correctly
if added and removed: if added and removed:
group_changes = _("Added to {added} and removed from {removed}.").format( group_changes = _("Added to {added} and removed from {removed}.").format(
added=_(", ").join(added), removed=_(", ").join(removed)) added=_(", ").join(added), removed=_(", ").join(removed))