fedmsg/mediawiki, replace the $revision dict with the simplest version we can.

This commit is contained in:
Ralph Bean 2014-12-11 01:30:17 +00:00
parent 4127f9bef6
commit 8a7eeacfeb

View file

@ -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();
}