r109042 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109041‎ | r109042 | r109043 >
Date:15:49, 16 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Update documentation for ImportHandleRevisionXMLTag
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)
  • /trunk/phase3/includes/Import.php (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1054,7 +1054,8 @@
10551055
10561056 'ImportHandleRevisionXMLTag': When parsing a XML tag in a page revision
10571057 $reader: XMLReader object
1058 -$revInfo: Array of information
 1058+$pageInfo: Array of page information
 1059+$revisionInfo: Array of revision information
10591060 Return false to stop further processing of the tag
10601061
10611062 'ImportHandleToplevelXMLTag': When parsing a top level XML tag
Index: trunk/phase3/includes/Import.php
@@ -569,7 +569,7 @@
570570 }
571571
572572 /**
573 - * @param $pageInfo
 573+ * @param $pageInfo array
574574 */
575575 private function handleRevision( &$pageInfo ) {
576576 $this->debug( "Enter revision handler" );

Status & tagging log