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:
parent
6029087eb0
commit
d85f8c2083
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ function article_save(
|
||||||
&$flags,
|
&$flags,
|
||||||
$revision,
|
$revision,
|
||||||
&$status,
|
&$status,
|
||||||
$baseRevId,
|
$baseRevId=0,
|
||||||
$undidRevId
|
$undidRevId
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue