Index: branches/wmf/1.18wmf1/extensions/CentralNotice/CentralNotice.php |
— | — | @@ -52,6 +52,11 @@ |
53 | 53 | // Example: '.wikipedia.org' |
54 | 54 | $wgNoticeCookieDomain = ''; |
55 | 55 | |
| 56 | +// When the cookie set in SpecialHideBanners.php should expire |
| 57 | +// This would typically be the end date for a fundraiser |
| 58 | +// NOTE: This must be in UNIX timestamp format, for example, '1325462400' |
| 59 | +$wgNoticeHideBannersExpiration = ''; |
| 60 | + |
56 | 61 | $wgExtensionFunctions[] = 'efCentralNoticeSetup'; |
57 | 62 | |
58 | 63 | $wgExtensionCredits['other'][] = array( |
— | — | @@ -126,8 +131,9 @@ |
127 | 132 | |
128 | 133 | $wgAutoloadClasses['TemplatePager'] = $dir . 'TemplatePager.php'; |
129 | 134 | $wgAutoloadClasses['CentralNoticePager'] = $dir . 'CentralNoticePager.php'; |
130 | | - $wgAutoloadClasses['CentralNoticeLogPager'] = $dir . 'CentralNoticeLogPager.php'; |
| 135 | + $wgAutoloadClasses['CentralNoticeCampaignLogPager'] = $dir . 'CentralNoticeCampaignLogPager.php'; |
131 | 136 | $wgAutoloadClasses['CentralNoticeBannerLogPager'] = $dir . 'CentralNoticeBannerLogPager.php'; |
| 137 | + $wgAutoloadClasses['CentralNoticePageLogPager'] = $dir . 'CentralNoticePageLogPager.php'; |
132 | 138 | } |
133 | 139 | } |
134 | 140 | |
— | — | @@ -153,6 +159,8 @@ |
154 | 160 | $base . '/patches/patch-notice_projects.sql' ); |
155 | 161 | $wgExtNewTables[] = array( 'cn_notice_log', |
156 | 162 | $base . '/patches/patch-notice_log.sql' ); |
| 163 | + $wgExtNewTables[] = array( 'cn_template_log', |
| 164 | + $base . '/patches/patch-template_log.sql' ); |
157 | 165 | } |
158 | 166 | } else { |
159 | 167 | if ( $updater->getDB()->getType() == 'mysql' ) { |
— | — | @@ -172,6 +180,8 @@ |
173 | 181 | $base . '/patches/patch-notice_projects.sql', true ) ); |
174 | 182 | $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_log', |
175 | 183 | $base . '/patches/patch-notice_log.sql', true ) ); |
| 184 | + $updater->addExtensionUpdate( array( 'addTable', 'cn_template_log', |
| 185 | + $base . '/patches/patch-template_log.sql', true ) ); |
176 | 186 | } |
177 | 187 | } |
178 | 188 | return true; |
Property changes on: branches/wmf/1.18wmf1/extensions/CentralNotice/CentralNotice.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
179 | 189 | Merged /trunk/extensions/CentralNotice/CentralNotice.php:r92701,95528-95914,98296 |