r15521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r15520‎ | r15521 | r15522 >
Date:06:56, 11 July 2006
Author:tstarling
Status:old
Tags:
Comment:
Use bool not boolean for 4.0.x compatibility
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-ipb_anon_only.sql (modified) (history)
  • /trunk/phase3/maintenance/mysql5/tables.sql (modified) (history)
  • /trunk/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-ipb_anon_only.sql
@@ -16,9 +16,9 @@
1717 ipb_by int(8) unsigned NOT NULL default '0',
1818 ipb_reason tinyblob NOT NULL default '',
1919 ipb_timestamp char(14) binary NOT NULL default '',
20 - ipb_auto boolean NOT NULL default 0,
21 - ipb_anon_only boolean NOT NULL default 0,
22 - ipb_create_account boolean NOT NULL default 1,
 20+ ipb_auto bool NOT NULL default 0,
 21+ ipb_anon_only bool NOT NULL default 0,
 22+ ipb_create_account bool NOT NULL default 1,
2323 ipb_expiry char(14) binary NOT NULL default '',
2424 ipb_range_start tinyblob NOT NULL default '',
2525 ipb_range_end tinyblob NOT NULL default '',
Index: trunk/phase3/maintenance/mysql5/tables.sql
@@ -583,13 +583,13 @@
584584 -- Indicates that the IP address was banned because a banned
585585 -- user accessed a page through it. If this is 1, ipb_address
586586 -- will be hidden, and the block identified by block ID number.
587 - ipb_auto boolean NOT NULL default '0',
 587+ ipb_auto bool NOT NULL default '0',
588588
589589 -- If set to 1, block applies only to logged-out users
590 - ipb_anon_only boolean NOT NULL default 0,
 590+ ipb_anon_only bool NOT NULL default 0,
591591
592592 -- Block prevents account creation from matching IP addresses
593 - ipb_create_account boolean NOT NULL default 1,
 593+ ipb_create_account bool NOT NULL default 1,
594594
595595 -- Time at which the block will expire.
596596 ipb_expiry char(14) binary NOT NULL default '',
Index: trunk/phase3/maintenance/tables.sql
@@ -570,13 +570,13 @@
571571 -- Indicates that the IP address was banned because a banned
572572 -- user accessed a page through it. If this is 1, ipb_address
573573 -- will be hidden, and the block identified by block ID number.
574 - ipb_auto boolean NOT NULL default 0,
 574+ ipb_auto bool NOT NULL default 0,
575575
576576 -- If set to 1, block applies only to logged-out users
577 - ipb_anon_only boolean NOT NULL default 0,
 577+ ipb_anon_only bool NOT NULL default 0,
578578
579579 -- Block prevents account creation from matching IP addresses
580 - ipb_create_account boolean NOT NULL default 1,
 580+ ipb_create_account bool NOT NULL default 1,
581581
582582 -- Time at which the block will expire.
583583 ipb_expiry char(14) binary NOT NULL default '',