}
// Check the object and lazy-loaded options
return (
- $this->mUserLang->getCode() === $other->mUserLang->getCode() &&
+ $this->mUserLang->equals( $other->mUserLang ) &&
$this->getDateFormat() === $other->getDateFormat()
);
}
'page' => $title->getArticleID(),
'user_text' => $user->getName(),
'user' => $user->getId(),
- 'parent_id' => $title->getLatestRevId(),
+ 'parent_id' => $title->getLatestRevID(),
'title' => $title,
'content' => $content
] );