mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Fixed wrong handling of compact block formatter
This commit is contained in:
parent
d23ba0ca5d
commit
0610a0e030
|
@ -647,7 +647,6 @@ def compact_block_block(ctx: Context, change: dict):
|
||||||
link = clean_link(ctx.client.create_article_path("Special:Contributions/{user}".format(user=user)))
|
link = clean_link(ctx.client.create_article_path("Special:Contributions/{user}".format(user=user)))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
link = clean_link(ctx.client.create_article_path(sanitize_to_url(change["title"])))
|
link = clean_link(ctx.client.create_article_path(sanitize_to_url(change["title"])))
|
||||||
else:
|
|
||||||
if "sitewide" not in change["logparams"]:
|
if "sitewide" not in change["logparams"]:
|
||||||
if "restrictions" in change["logparams"]:
|
if "restrictions" in change["logparams"]:
|
||||||
if "pages" in change["logparams"]["restrictions"] and change["logparams"]["restrictions"]["pages"]:
|
if "pages" in change["logparams"]["restrictions"] and change["logparams"]["restrictions"]["pages"]:
|
||||||
|
|
Loading…
Reference in a new issue