Yeah, I'll commit a new higher level hook soon.
Brion Vibber-3 wrote:
aaron@svn.wikimedia.org wrote:
* number on success and dies horribly on failure. * * @param Database $dbw
* @param bool $edit, was this a new edit? (optional)
*/
- @return int
- public function insertOn( &$dbw ) {
- public function insertOn( &$dbw, $edit=false ) {
I gotta admit I really don't like this; Revision::insertOn() is a very low-level function, which isn't really a good place to trip high-level stuff like "I made an edit".
-- brion vibber (brion @ wikimedia.org)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l