On Sat, Apr 5, 2008 at 12:44 PM, aaron@svn.wikimedia.org wrote:
Log Message:
Rename block/rights log (bug 7011)
$dbw->update( 'logging',
array( 'log_title' => $newTitle->getDBKey() ),
array( 'log_type' => array( 'block', 'rights' ),
'log_namespace' => NS_USER,
'log_title' => $oldTitle->getDBKey() ),
__METHOD__,
array( 'USE INDEX' => 'page_time' ) );
Why don't you just drop the log_type condition and rename all old logs?
That would mess up page moves and deletions and all sorts of stuff that where to the actual page and not the user.
Simetrical-3 wrote:
On Sat, Apr 5, 2008 at 12:44 PM, aaron@svn.wikimedia.org wrote:
Log Message:
Rename block/rights log (bug 7011)
$dbw->update( 'logging',
array( 'log_title' => $newTitle->getDBKey() ),
array( 'log_type' => array( 'block', 'rights' ),
'log_namespace' => NS_USER,
'log_title' => $oldTitle->getDBKey() ),
__METHOD__,
array( 'USE INDEX' => 'page_time' ) );
Why don't you just drop the log_type condition and rename all old logs?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Sat, Apr 5, 2008 at 9:13 PM, Voice of All jschulz_4587@msn.com wrote:
That would mess up page moves and deletions and all sorts of stuff that where to the actual page and not the user.
Of course, you're right.
wikitech-l@lists.wikimedia.org