Last modified: 2010-01-09 18:35:01 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 T23568, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21568 - Missing hooks in SQLStore2
Missing hooks in SQLStore2
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-19 12:19 UTC by Roi Avinoam
Modified: 2010-01-09 18:35 UTC (History)
2 users (show)

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


Attachments
Adding "before" and "after" hooks for updateData and deleteSubject. (1.75 KB, patch)
2009-11-19 12:19 UTC, Roi Avinoam
Details

Description Roi Avinoam 2009-11-19 12:19:54 UTC
Created attachment 6804 [details]
Adding "before" and "after" hooks for updateData and deleteSubject.

It's difficult to integrate into the SMW logic (for debugging, profiling and experimental modifications), because SQLStore2 doesn't fire any events. As an example, I need these hooks in order to determine (atomically, not via onSave hooks) what semantic data was changed in order to purge related api requests from varnish. This is just one example though.
Comment 1 Siebrand Mazeland 2010-01-09 18:35:01 UTC
Applied in r60867. Thanks.

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


Navigation
Links