mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[scripts/mediawiki-preview] enable pre-save transforms
This commit is contained in:
parent
052df1ddc5
commit
357956bf22
1 changed files with 2 additions and 1 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue