diff options
author | Tim Starling <tstarling@users.mediawiki.org> | 2008-10-25 05:52:54 +0000 |
---|---|---|
committer | Tim Starling <tstarling@users.mediawiki.org> | 2008-10-25 05:52:54 +0000 |
commit | 4fcdceb81a162df2d114eff4b09cec19287781c4 (patch) | |
tree | 05b358b4011e45fc23731c7939f2c5442507e0dd /maintenance/storage/blob_tracking.sql | |
parent | 746a6d27ce6cd20c8f5eef79b05f35c24fdc9dd2 (diff) | |
download | mediawikicore-4fcdceb81a162df2d114eff4b09cec19287781c4.tar.gz mediawikicore-4fcdceb81a162df2d114eff4b09cec19287781c4.zip |
Reverted r42528. Links with href="#" make firefox scroll to the top of the page, regardless of onclick handler.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/42531
Diffstat (limited to 'maintenance/storage/blob_tracking.sql')
-rw-r--r-- | maintenance/storage/blob_tracking.sql | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/maintenance/storage/blob_tracking.sql b/maintenance/storage/blob_tracking.sql index 007aa8fedfee..fe7aadfbdd4b 100644 --- a/maintenance/storage/blob_tracking.sql +++ b/maintenance/storage/blob_tracking.sql @@ -22,10 +22,16 @@ CREATE TABLE /*$wgDBprefix*/blob_tracking ( -- The CGZ content hash, or null bt_cgz_hash varbinary(255), + -- The URL this blob is to be moved to + bt_new_url varbinary(255), + + -- True if the text table has been updated to point to bt_new_url + bt_moved bool not null default 0, + PRIMARY KEY (bt_rev_id, bt_text_id), -- Sort by page for easy CGZ recompression - KEY (bt_page, bt_rev_id), + KEY (bt_moved, bt_page, bt_rev_id), -- For fast orphan searches KEY (bt_text_id), |