Index: trunk/extensions/Translate/TranslateHooks.php |
— | — | @@ -184,6 +184,7 @@ |
185 | 185 | $updater->addExtensionUpdate( array( 'addIndex', 'translate_sections', 'trs_page_order', "$dir/translate_sections-indexchange.sql", true ) ); |
186 | 186 | $updater->addExtensionUpdate( array( 'dropIndex', 'translate_sections', 'trs_page', "$dir/translate_sections-indexchange2.sql", true ) ); |
187 | 187 | $updater->addExtensionUpdate( array( 'addTable', 'translate_reviews', "$dir/translate_reviews.sql", true ) ); |
| 188 | + $updater->addExtensionUpdate( array( 'addTable', 'translate_groupreviews', "$dir/translate_groupreviews.sql", true ) ); |
188 | 189 | |
189 | 190 | return true; |
190 | 191 | } |
Index: trunk/extensions/Translate/sql/translate_groupreviews.sql |
— | — | @@ -0,0 +1,13 @@ |
| 2 | +-- Message group workflow states |
| 3 | +CREATE TABLE /*$wgDBprefix*/translate_groupreviews ( |
| 4 | + -- The length we need to accommodate "page-" + the full pagename including |
| 5 | + -- prefix. That could be 255 + prefix (length not limited), but page |
| 6 | + -- translation section pages limit that to shorter, because it needs to |
| 7 | + -- accommodate /sectionname/languagecode suffix to the page name. |
| 8 | + tgr_group varchar(200) binary NOT NULL, |
| 9 | + |
| 10 | + -- Any of user configured values from $wgTranslateWorkflowStates |
| 11 | + tgr_state varbinary(32) not null, |
| 12 | + |
| 13 | + PRIMARY KEY (tgr_group, tgr_state) |
| 14 | +) /*$wgDBTableOptions*/; |
\ No newline at end of file |
Property changes on: trunk/extensions/Translate/sql/translate_groupreviews.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 15 | + native |