[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", contentmodel="wikitext",
prop="text|indicators|displaytitle|modules|jsconfigvars|categorieshtml", prop="text|indicators|displaytitle|modules|jsconfigvars|categorieshtml",
preview=True, preview=True,
pst=True, # pre-save transforms
sectionpreview=False, sectionpreview=False,
disableeditsection=True, disableeditsection=True, # disables "[edit]" links next to headers
useskin=cli_args.skin, useskin=cli_args.skin,
uselang=LANG, uselang=LANG,
)["parse"] )["parse"]