
brion at wikimedia
May 17, 2008, 8:42 AM
Post #1 of 2
(74 views)
Permalink
|
|
Re: [MediaWiki-CVS] SVN: [34906] trunk
|
|
aaron[at]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[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
|