diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2008-12-31 18:56:16 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2008-12-31 18:56:16 +0000 |
commit | 2190984466b0fd136f0fca0ed2df1ac5cc0dc02a (patch) | |
tree | 28d5ea686e5e2493640a2d7456d1e6a2c6fff798 /maintenance/archives | |
parent | 6c26b9033743b6551869ad3e14e47aa4eae99a76 (diff) | |
download | mediawikicore-2190984466b0fd136f0fca0ed2df1ac5cc0dc02a.tar.gz mediawikicore-2190984466b0fd136f0fca0ed2df1ac5cc0dc02a.zip |
Revert r45231, r45235 "* (bug 674) Allow users to be blocked from editing a specific article"
Unexpected schema changes in the middle of code review and run-up to 1.14 freeze
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/45241
Diffstat (limited to 'maintenance/archives')
-rw-r--r-- | maintenance/archives/patch-user_restrictions.sql | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/maintenance/archives/patch-user_restrictions.sql b/maintenance/archives/patch-user_restrictions.sql deleted file mode 100644 index 535b9cd83355..000000000000 --- a/maintenance/archives/patch-user_restrictions.sql +++ /dev/null @@ -1,41 +0,0 @@ --- Allows admins to block user from editing certain namespaces or pages - -CREATE TABLE /*$wgDBprefix*/user_restrictions ( - -- ID of the restriction - ur_id int NOT NULL auto_increment, - - -- Restriction type. Block from either editing namespace or page - ur_type ENUM('namespace','page') NOT NULL, - -- Namespace to restrict if ur_type = namespace - ur_namespace int default NULL, - -- Page to restrict if ur_type = page - ur_page_namespace int default NULL, - ur_page_title varchar(255) binary default '', - - -- User that is restricted - ur_user int unsigned NOT NULL, - ur_user_text varchar(255) NOT NULL, - - -- User who has done this restriction - ur_by int unsigned NOT NULL, - ur_by_text varchar(255) binary NOT NULL default '', - -- Reason for this restriction - ur_reason mediumblob NOT NULL, - - -- Time when this restriction was made - ur_timestamp varbinary(14) NOT NULL default '', - -- Expiry or "infinity" - ur_expiry varbinary(14) NOT NULL default '', - - PRIMARY KEY ur_id (ur_id), - -- For looking up restrictions for user and title - INDEX ur_user_page(ur_user,ur_page_namespace,ur_page_title(255)), - INDEX ur_user_namespace(ur_user,ur_namespace), - -- For Special:ListUserRestrictions - INDEX ur_type (ur_type,ur_timestamp), - INDEX ur_namespace (ur_namespace,ur_timestamp), - INDEX ur_page (ur_page_namespace,ur_page_title,ur_timestamp), - INDEX ur_timestamp (ur_timestamp), - -- For quick removal of expired restrictions - INDEX ur_expiry (ur_expiry) -) /*$wgDBTableOptions*/; |