[scripts/mediawiki-preview] enable pre-save transforms

This commit is contained in:
Dmytro Meleshko 2020-08-17 00:38:54 +03:00
parent 052df1ddc5
commit 357956bf22

View file

@ -165,8 +165,9 @@ result = site.post(
contentmodel="wikitext",
prop="text|indicators|displaytitle|modules|jsconfigvars|categorieshtml",
preview=True,
pst=True, # pre-save transforms
sectionpreview=False,
disableeditsection=True,
disableeditsection=True, # disables "[edit]" links next to headers
useskin=cli_args.skin,
uselang=LANG,
)["parse"]