fedmsg/mediawiki, replace the $revision dict with the simplest version we can.
This commit is contained in:
parent
4127f9bef6
commit
8a7eeacfeb
1 changed files with 4 additions and 0 deletions
|
@ -219,6 +219,10 @@ function article_save(
|
|||
|
||||
if ( is_object($revision) ) {
|
||||
$url = $title->getFullURL('diff=prev&oldid=' . $revision->getId());
|
||||
# And replace the revision with the simplest dict we can.
|
||||
$revision = array(
|
||||
"mTextId" => $revision.getId(),
|
||||
);
|
||||
} else {
|
||||
$url = $title->getFullURL();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue