Index: trunk/extensions/EditPageTracking/edit_page_tracking.sql |
— | — | @@ -1,8 +1,12 @@ |
2 | 2 | -- Tables for EditPageTracking extension |
3 | | - |
| 3 | +-- Note: Rows are deliberately not always unique, because we might want to track more than one event |
4 | 4 | CREATE TABLE /*_*/edit_page_tracking ( |
5 | | - ept_user bigint unsigned not null primary key, |
| 5 | + -- User ID |
| 6 | + ept_user bigint unsigned not null, |
| 7 | + -- Timestamp when the edit form was first viewed |
6 | 8 | ept_timestamp varbinary(14) not null, |
| 9 | + -- Page that the edit form was first viewed for |
| 10 | + -- Not used at the moment, but useful for statistics |
7 | 11 | ept_namespace int not null, |
8 | 12 | ept_title varbinary(255) not null |
9 | 13 | ) /*$wgDBTableOptions*/; |
Index: trunk/extensions/EditPageTracking/EditPageTracking.i18n.php |
— | — | @@ -0,0 +1,17 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation file for EditPageTracking extension. |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Andrew Garrett |
| 14 | + */ |
| 15 | + |
| 16 | +$messages['en'] = array( |
| 17 | + 'editpagetracking-desc' => 'Records the first time each user views the edit page', |
| 18 | +); |