r71499 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71498‎ | r71499 | r71500 >
Date:19:03, 23 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
axing nl_id field for languages table per r71382 and r68666
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.sql (modified) (history)
  • /trunk/extensions/CentralNotice/patches/patch-notice_languages.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/patches/patch-notice_languages.sql
@@ -1,7 +1,6 @@
22 -- Update to allow for any number of languages per notice.
33
44 CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cn_notice_languages (
5 - `nl_id` int unsigned NOT NULL PRIMARY KEY auto_increment,
65 `nl_notice_id` int unsigned NOT NULL,
76 `nl_language` varchar(32) NOT NULL
87 ) /*$wgDBTableOptions*/;
Index: trunk/extensions/CentralNotice/CentralNotice.sql
@@ -25,7 +25,6 @@
2626 ) /*$wgDBTableOptions*/;
2727
2828 CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cn_notice_languages (
29 - `nl_id` int unsigned NOT NULL PRIMARY KEY auto_increment,
3029 `nl_notice_id` int unsigned NOT NULL,
3130 `nl_language` varchar(32) NOT NULL
3231 ) /*$wgDBTableOptions*/;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68666updating mySQL set-up script for multi-language support (bug 20229), deleting...kaldari17:01, 28 June 2010
r71382fixing table field names per r68666, fixing inserts and deletes per r68580, r...kaldari22:34, 20 August 2010

Status & tagging log