
brion at wikimedia
May 15, 2008, 8:40 AM
Post #2 of 3
(93 views)
Permalink
|
|
Re: [MediaWiki-CVS] SVN: [34832] trunk/phase3/includes/RecentChange.php
[In reply to]
|
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg Sabino Mullane wrote: >> revert r34818 -- bad > . >> - 'rc_cur_id' => $action === 'delete' ? >> 0 : $target->getArticleID(), >> + 'rc_cur_id' => $title->getArticleID(), > > Is there a better place/way to do this? Since the page doesn't exist, it > seems pointless to store the no-longer-existing page_id. It also throws > an error on those DBs using foreign keys, which is how I found it. Thanks. They key problem is that $target doesn't exist there, so it caused a fatal error on every page edit. - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgsWYMACgkQwRnhpk1wk47yzwCcD+oDO9nbwCpa/xTZWQpvYl/Q 6AcAoMNnQout08r+hGTtWLo/W/bpr0Zy =deI7 -----END PGP SIGNATURE----- _______________________________________________ Wikitech-l mailing list Wikitech-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
|