Merge "Add support for xml dump schema 0.11"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 28 Jun 2019 04:23:58 +0000 (04:23 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 28 Jun 2019 04:23:58 +0000 (04:23 +0000)
1  2 
docs/hooks.txt

diff --combined docs/hooks.txt
@@@ -2986,7 -2986,7 +2986,7 @@@ $article: The article object correspond
  'ShowSearchHit': Customize display of search hit.
  $searchPage: The SpecialSearch instance.
  $result: The SearchResult to show
 -$terms: Search terms, for highlighting
 +$terms: Search terms, for highlighting (unreliable as search engine dependent).
  &$link: HTML of link to the matching page. May be modified.
  &$redirect: HTML of redirect info. May be modified.
  &$section: HTML of matching section. May be modified.
@@@ -3985,8 -3985,9 +3985,9 @@@ $title: The title of the page
  add extra metadata.
  &$obj: The XmlDumpWriter object.
  &$out: The text being output.
- $row: The database row for the revision.
- $text: The revision text.
+ $row: The database row for the revision being dumped. DEPRECATED, use $rev instead.
+ $text: The revision text to be dumped. DEPRECATED, use $rev instead.
+ $rev: The RevisionRecord that is being dumped to XML
  
  More hooks might be available but undocumented, you can execute
  "php maintenance/findHooks.php" to find hidden ones.