r100099 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100098‎ | r100099 | r100100 >
Date:23:15, 17 October 2011
Author:awjrichards
Status:ok
Tags:
Comment:
Adding patch-template_autolink.sql to deployment branch from r99220
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/CentralNotice/patches/patch-template_autolink.sql (added) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/CentralNotice/patches/patch-template_autolink.sql
@@ -0,0 +1,11 @@
 2+-- Update to add a separate flag for automatic link creation
 3+
 4+-- Store a flag indicating whether or not this banner uses automatic link creation
 5+ALTER TABLE /*$wgDBprefix*/cn_templates ADD `tmp_autolink` bool NOT NULL DEFAULT 0 AFTER `tmp_fundraising`;
 6+
 7+-- Store before and after flag values for logging
 8+ALTER TABLE /*$wgDBprefix*/cn_template_log ADD `tmplog_begin_autolink` bool NULL DEFAULT NULL AFTER `tmplog_end_fundraising`;
 9+ALTER TABLE /*$wgDBprefix*/cn_template_log ADD `tmplog_end_autolink` bool NULL DEFAULT NULL AFTER `tmplog_begin_autolink`;
 10+
 11+-- Add an index for banner names since we sometimes use them for selection
 12+CREATE INDEX /*i*/tmp_name ON /*$wgDBprefix*/cn_templates (tmp_name);
Property changes on: branches/wmf/1.18wmf1/extensions/CentralNotice/patches/patch-template_autolink.sql
___________________________________________________________________
Added: svn:eol-style
113 + native

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99220svn:eol-style nativeialex17:27, 7 October 2011

Status & tagging log