# HG changeset patch # User Dan # Date 1184178514 14400 # Node ID 60e450d2e8c3395ef3f0995ac112e69c449452e8 # Parent 2c57d3018a885677210c52dcb84834b91b7aed64 Fixed typo in RC3->1.0 upgrade schema diff -r 2c57d3018a88 -r 60e450d2e8c3 TODO --- a/TODO Wed Jul 11 13:08:34 2007 -0400 +++ b/TODO Wed Jul 11 14:28:34 2007 -0400 @@ -35,7 +35,7 @@ [x] Rewrite the change theme dialog - it's archaic code that hasn't changed since beta 1! [] Come up with some alternative to the "formatting help" link (**IN 1.1**) [] By 1.1, all JWS code should be phased out and removed! -[ ] Get the new page ID cleaner code working 100% perfectly - this is the core of Enano and should be completely bug free +[x] Get the new page ID cleaner code working 100% perfectly - this is the core of Enano and should be completely bug free Update 6/28: Is this done? Probably is, we need some QA done on it though diff -r 2c57d3018a88 -r 60e450d2e8c3 upgrade.sql --- a/upgrade.sql Wed Jul 11 13:08:34 2007 -0400 +++ b/upgrade.sql Wed Jul 11 14:28:34 2007 -0400 @@ -6,7 +6,7 @@ INSERT INTO {{TABLE_PREFIX}}config (config_name, config_value) VALUES( 'enano_version', '1.0' ); ---BEGIN 1.0RC3--- ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_coppa tinyint(1) NOT NULL DEFAULT 0; -UPDATE {{TABLE_PREFIX}}sidebar SET block_content='[[$NS_SPECIAL$CreatePage|Create a page]]\n[[$NS_SPECIAL$UploadFile|Upload file]]\n[[$NS_SPECIAL$SpecialPages|Special pages]]\n{if auth_admin}\n[[$NS_SPECIAL$EditSidebar|Edit the sidebar]]\n$ADMIN_LINK$\n{/if}' WHERE block_id=2; +UPDATE {{TABLE_PREFIX}}sidebar SET block_content='[[$NS_SPECIAL$CreatePage|Create a page]]\n[[$NS_SPECIAL$UploadFile|Upload file]]\n[[$NS_SPECIAL$SpecialPages|Special pages]]\n{if auth_admin}\n[[$NS_SPECIAL$EditSidebar|Edit the sidebar]]\n$ADMIN_LINK$\n{/if}' WHERE item_id=2; UPDATE {{TABLE_PREFIX}}sidebar SET block_content='[[User:$USERNAME$|User page]]\n[[Special:Contributions/$USERNAME$|My Contributions]]\n{if user_logged_in}\n[[$NS_SPECIAL$Preferences|Preferences]]\n[[Special:PrivateMessages|Private messages ($UNREAD_PMS$)]]\n[[Special:Usergroups|Group control panel]]\n$THEME_LINK$\n{/if}\n{if user_logged_in}\n$LOGOUT_LINK$\n{else}\n[[Special:Register|Create an account]]\n$LOGIN_LINK$\n[[Special:Login/Special:PrivateMessages|Private messages]]\n{/if}' WHERE item_id=3; -- Updated PHP-ized search box -- block_type=3: 3 = BLOCK_PHP