r24971 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24970‎ | r24971 | r24972 >
Date:04:05, 21 August 2007
Author:nickj
Status:old
Tags:
Comment:
svn:eol-style native.
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql (modified) (history)
  • /trunk/extensions/Gadgets/README (modified) (history)
  • /trunk/extensions/Gadgets/install.settings (modified) (history)
  • /trunk/extensions/PdfHandler/PdfHandler.php (modified) (history)
  • /trunk/extensions/PdfHandler/PdfImage.php (modified) (history)
  • /trunk/extensions/PdfHandler/PdfLoader.php (modified) (history)
  • /trunk/extensions/SemanticForms/specials/SF_CreateProperty.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/functionvar.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/listmatch.pl (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/overload.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/ra2.pl (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/ra3.pl (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/raO.pl (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/small/replace_attribs.pl (modified) (history)
  • /trunk/extensions/Wikidata/util/umls/collection.php (modified) (history)
  • /trunk/extensions/Wikidata/util/umls/collections.php (modified) (history)
  • /trunk/extensions/Wikidata/util/umls/missing.php (modified) (history)
  • /trunk/extensions/Wikidata/util/umls/stats.php (modified) (history)
  • /trunk/extensions/geoserver/geoserver.psql (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql
@@ -1,45 +1,45 @@
2 -
3 -BEGIN;
4 -
5 -CREATE TABLE flaggedrevs (
6 - fr_namespace SMALLINT NOT NULL DEFAULT 0,
7 - fr_title TEXT NOT NULL DEFAULT '',
8 - fr_rev_id INTEGER NOT NULL PRIMARY KEY DEFAULT 0 ,
9 - fr_user int(5) INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL,
10 - fr_timestamp TIMESTAMPTZ,
11 - fr_comment TEXT NOT NULL DEFAULT '',
12 - fr_text TEXT NOT NULL DEFAULT '',
13 - fr_quality SMALLINT NOT NULL DEFAULT 0
14 -);
15 -CREATE INDEX fr_namespace_title ON flaggedrevs (fr_namespace,fr_title,fr_quality,fr_rev_id);
16 -
17 -CREATE TABLE flaggedrevtags (
18 - frt_rev_id INTEGER NOT NULL DEFAULT 0 ,
19 - frt_dimension TEXT NOT NULL DEFAULT '',
20 - frt_value SMALLINT NOT NULL DEFAULT 0
21 -);
22 -CREATE UNIQUE INDEX frt_rev_dimension ON flaggedrevtags (frt_rev_id,frt_dimension);
23 -CREATE INDEX frt_rev_dim_val ON flaggedrevtags (frt_rev_id,frt_dimension,frt_value);
24 -
25 -CREATE TABLE flaggedtemplates (
26 - ft_rev_id INTEGER NOT NULL DEFAULT 0 ,
27 - ft_namespace SMALLINT NOT NULL DEFAULT 0,
28 - ft_title TEXT NOT NULL DEFAULT '',
29 - ft_tmp_rev_id INTEGER NOT NULL DEFAULT 0
30 -);
31 -CREATE UNIQUE INDEX ft_rev_ns_title ON flaggedtemplates (ft_rev_id,ft_namespace,ft_title);
32 -CREATE INDEX ft_rev_ns_title_id ON flaggedtemplates (ft_rev_id,ft_namespace,ft_title,ft_tmp_rev_id);
33 -
34 -CREATE TABLE flaggedimages (
35 - fi_rev_id INTEGER NOT NULL DEFAULT 0 ,
36 - fi_name TEXT NOT NULL PRIMARY KEY,
37 - fi_img_timestamp TIMESTAMPTZ,
38 - fi_img_sha1 CHAR(64)
39 -);
40 -CREATE UNIQUE INDEX fi_rev_name ON flaggedimages (fi_rev_id,fi_name);
41 -CREATE INDEX fi_rev_name_time ON flaggedimages (fi_rev_id,fi_name,fi_img_timestamp);
42 -CREATE INDEX fi_rev_img_sha1 ON flaggedimages (fi_rev_id,fi_name,fi_img_sha1);
43 -
44 -COMMIT;
 2+-- (c) Joerg Baach, Aaron Schulz, 2007
 3+-- See FlaggedRevs.sql for details
 4+
 5+BEGIN;
 6+
 7+CREATE TABLE flaggedrevs (
 8+ fr_namespace SMALLINT NOT NULL DEFAULT 0,
 9+ fr_title TEXT NOT NULL DEFAULT '',
 10+ fr_rev_id INTEGER NOT NULL PRIMARY KEY DEFAULT 0 ,
 11+ fr_user int(5) INTEGER NULL REFERENCES mwuser(user_id) ON DELETE SET NULL,
 12+ fr_timestamp TIMESTAMPTZ,
 13+ fr_comment TEXT NOT NULL DEFAULT '',
 14+ fr_text TEXT NOT NULL DEFAULT '',
 15+ fr_quality SMALLINT NOT NULL DEFAULT 0
 16+);
 17+CREATE INDEX fr_namespace_title ON flaggedrevs (fr_namespace,fr_title,fr_quality,fr_rev_id);
 18+
 19+CREATE TABLE flaggedrevtags (
 20+ frt_rev_id INTEGER NOT NULL DEFAULT 0 ,
 21+ frt_dimension TEXT NOT NULL DEFAULT '',
 22+ frt_value SMALLINT NOT NULL DEFAULT 0
 23+);
 24+CREATE UNIQUE INDEX frt_rev_dimension ON flaggedrevtags (frt_rev_id,frt_dimension);
 25+CREATE INDEX frt_rev_dim_val ON flaggedrevtags (frt_rev_id,frt_dimension,frt_value);
 26+
 27+CREATE TABLE flaggedtemplates (
 28+ ft_rev_id INTEGER NOT NULL DEFAULT 0 ,
 29+ ft_namespace SMALLINT NOT NULL DEFAULT 0,
 30+ ft_title TEXT NOT NULL DEFAULT '',
 31+ ft_tmp_rev_id INTEGER NOT NULL DEFAULT 0
 32+);
 33+CREATE UNIQUE INDEX ft_rev_ns_title ON flaggedtemplates (ft_rev_id,ft_namespace,ft_title);
 34+CREATE INDEX ft_rev_ns_title_id ON flaggedtemplates (ft_rev_id,ft_namespace,ft_title,ft_tmp_rev_id);
 35+
 36+CREATE TABLE flaggedimages (
 37+ fi_rev_id INTEGER NOT NULL DEFAULT 0 ,
 38+ fi_name TEXT NOT NULL PRIMARY KEY,
 39+ fi_img_timestamp TIMESTAMPTZ,
 40+ fi_img_sha1 CHAR(64)
 41+);
 42+CREATE UNIQUE INDEX fi_rev_name ON flaggedimages (fi_rev_id,fi_name);
 43+CREATE INDEX fi_rev_name_time ON flaggedimages (fi_rev_id,fi_name,fi_img_timestamp);
 44+CREATE INDEX fi_rev_img_sha1 ON flaggedimages (fi_rev_id,fi_name,fi_img_sha1);
 45+
 46+COMMIT;
Property changes on: trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql
___________________________________________________________________
Added: svn:eol-style
4547 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/ra3.pl
___________________________________________________________________
Added: svn:eol-style
4648 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/overload.php
___________________________________________________________________
Added: svn:eol-style
4749 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/listmatch.pl
___________________________________________________________________
Added: svn:eol-style
4850 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/functionvar.php
___________________________________________________________________
Added: svn:eol-style
4951 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/raO.pl
___________________________________________________________________
Added: svn:eol-style
5052 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/replace_attribs.pl
___________________________________________________________________
Added: svn:eol-style
5153 + native
Property changes on: trunk/extensions/Wikidata/OmegaWiki/small/ra2.pl
___________________________________________________________________
Added: svn:eol-style
5254 + native
Property changes on: trunk/extensions/Wikidata/util/umls/missing.php
___________________________________________________________________
Added: svn:eol-style
5355 + native
Property changes on: trunk/extensions/Wikidata/util/umls/collection.php
___________________________________________________________________
Added: svn:eol-style
5456 + native
Property changes on: trunk/extensions/Wikidata/util/umls/collections.php
___________________________________________________________________
Added: svn:eol-style
5557 + native
Property changes on: trunk/extensions/Wikidata/util/umls/stats.php
___________________________________________________________________
Added: svn:eol-style
5658 + native
Property changes on: trunk/extensions/geoserver/geoserver.psql
___________________________________________________________________
Added: svn:eol-style
5759 + native
Property changes on: trunk/extensions/PdfHandler/PdfImage.php
___________________________________________________________________
Added: svn:eol-style
5860 + native
Property changes on: trunk/extensions/PdfHandler/PdfLoader.php
___________________________________________________________________
Added: svn:eol-style
5961 + native
Property changes on: trunk/extensions/PdfHandler/PdfHandler.php
___________________________________________________________________
Added: svn:eol-style
6062 + native
Property changes on: trunk/extensions/SemanticForms/specials/SF_CreateProperty.php
___________________________________________________________________
Added: svn:eol-style
6163 + native
Property changes on: trunk/extensions/Gadgets/install.settings
___________________________________________________________________
Added: svn:eol-style
6264 + native
Property changes on: trunk/extensions/Gadgets/README
___________________________________________________________________
Added: svn:eol-style
6365 + native

Status & tagging log