r92675 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92674‎ | r92675 | r92676 >
Date:20:21, 20 July 2011
Author:werdna
Status:ok
Tags:
Comment:
Add comments to SQL file, i18n
Modified paths:
  • /trunk/extensions/EditPageTracking/EditPageTracking.i18n.php (added) (history)
  • /trunk/extensions/EditPageTracking/edit_page_tracking.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/EditPageTracking/edit_page_tracking.sql
@@ -1,8 +1,12 @@
22 -- Tables for EditPageTracking extension
3 -
 3+-- Note: Rows are deliberately not always unique, because we might want to track more than one event
44 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
68 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
711 ept_namespace int not null,
812 ept_title varbinary(255) not null
913 ) /*$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+);

Follow-up revisions

RevisionCommit summaryAuthorDate
r92850Register new extension (r92675) for translatewiki.netraymond06:53, 22 July 2011

Status & tagging log