mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-21 04:27:25 +08:00
Fix creating of new wiki pages
This breaks because mediawiki doesn't follow their own documented API[1] and doesn't pass a base revision ID when creating new pages. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org> [1]: https://www.mediawiki.org/wiki/Manual:Hooks/PageContentSaveComplete
This commit is contained in:
@@ -205,7 +205,7 @@ function article_save(
|
||||
&$flags,
|
||||
$revision,
|
||||
&$status,
|
||||
$baseRevId,
|
||||
$baseRevId=0,
|
||||
$undidRevId
|
||||
) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user