From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- maintenance/mssql/tables.sql | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'maintenance/mssql') diff --git a/maintenance/mssql/tables.sql b/maintenance/mssql/tables.sql index a0c3d17b..ad996175 100644 --- a/maintenance/mssql/tables.sql +++ b/maintenance/mssql/tables.sql @@ -76,10 +76,10 @@ CREATE TABLE /*$wgDBprefix*/user_newtalk ( CREATE INDEX /*$wgDBprefix*/user_group_id ON /*$wgDBprefix*/user_newtalk([user_id]); CREATE INDEX /*$wgDBprefix*/user_ip ON /*$wgDBprefix*/user_newtalk(user_ip); --- +-- -- User preferences and other fun stuff -- replaces old user.user_options BLOB --- +-- CREATE TABLE /*$wgDBprefix*/user_properties ( up_user INT NOT NULL, up_property NVARCHAR(32) NOT NULL, @@ -157,7 +157,7 @@ CREATE TABLE /*$wgDBprefix*/text ( -- The fields generally correspond to the page, revision, and text -- fields, with several caveats. -- Cannot reasonably create views on this table, due to the presence of TEXT --- columns. +-- columns. CREATE TABLE /*$wgDBprefix*/archive ( ar_namespace SMALLINT NOT NULL DEFAULT 0, ar_title NVARCHAR(255) NOT NULL DEFAULT '', @@ -234,7 +234,7 @@ CREATE INDEX /*$wgDBprefix*/cl_sortkey ON /*$wgDBprefix*/categorylinks(cl_to,c CREATE INDEX /*$wgDBprefix*/cl_timestamp ON /*$wgDBprefix*/categorylinks(cl_to,cl_timestamp); --; --- +-- -- Track all existing categories. Something is a category if 1) it has an en- -- try somewhere in categorylinks, or 2) it once did. Categories might not -- have corresponding pages, so they need to be tracked separately. @@ -279,16 +279,16 @@ CREATE TABLE /*$wgDBprefix*/valid_tag ( vt_tag varchar(255) NOT NULL PRIMARY KEY ); --- +-- -- Table for storing localisation data --- +-- CREATE TABLE /*$wgDBprefix*/l10n_cache ( -- language code lc_lang NVARCHAR(32) NOT NULL, - + -- cache key lc_key NVARCHAR(255) NOT NULL, - + -- Value lc_value TEXT NOT NULL DEFAULT '', ); @@ -305,9 +305,9 @@ CREATE TABLE /*$wgDBprefix*/externallinks ( -- Maximum key length ON SQL Server is 900 bytes CREATE INDEX /*$wgDBprefix*/externallinks_index ON /*$wgDBprefix*/externallinks(el_index); --- +-- -- Track external user accounts, if ExternalAuth is used --- +-- CREATE TABLE /*$wgDBprefix*/external_user ( -- Foreign key to user_id eu_local_id INT NOT NULL PRIMARY KEY, @@ -327,16 +327,16 @@ CREATE TABLE /*$wgDBprefix*/langlinks ( ); CREATE UNIQUE INDEX /*$wgDBprefix*/langlinks_reverse_key ON /*$wgDBprefix*/langlinks(ll_lang,ll_title); --- +-- -- Track inline interwiki links --- +-- CREATE TABLE /*$wgDBprefix*/iwlinks ( -- page_id of the referring page iwl_from INT NOT NULL DEFAULT 0, - + -- Interwiki prefix code of the target iwl_prefix NVARCHAR(20) NOT NULL DEFAULT '', - + -- Title of the target, including namespace iwl_title NVARCHAR(255) NOT NULL DEFAULT '', ); @@ -728,7 +728,7 @@ CREATE TABLE /*$wgDBprefix*/updatelog ( PRIMARY KEY (ul_key) ); --- NOTE To enable full text indexing on SQL 2008 you need to create an account FDH$MSSQLSERVER +-- NOTE To enable full text indexing on SQL 2008 you need to create an account FDH$MSSQLSERVER -- AND assign a password for the FDHOST process to run under -- Once you have assigned a password to that account, you need to run the following stored procedure -- replacing XXXXX with the password you used. -- cgit v1.2.3-54-g00ecf