Last modified: 2010-05-15 16:03:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16780, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14780 - please extend RevisionInsertComplete hook
please extend RevisionInsertComplete hook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-10 10:26 UTC by eloy@wikia.com
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description eloy@wikia.com 2008-07-10 10:26:34 UTC
$flags and $data variables are not preserved in Revision object (method: insertOn()). When external storage is used values for these variables are changed. 

Please change from:

wfRunHooks( "RevisionInsertComplete", array( &$this ) );

to

wfRunHooks( "RevisionInsertComplete", array( &$this, &$data, &$flags ) );

We are using this hook to update information in dataware database.
Comment 1 Aaron Schulz 2008-07-10 10:31:02 UTC
Done in r37489

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links