Commit graph

11 commits

Author SHA1 Message Date
umherirrender
e256c69f9a Remove a bunch of trailing spaces and unneeded newlines
Change-Id: If9fb04f64389b9b40c13f3372ad4792c2e14def0
2012-10-20 13:35:38 +02:00
Roan Kattouw
051e1e7624 Self-revert r80547 per CR, breaks stuff and is undesirable 2011-01-20 23:56:47 +00:00
Roan Kattouw
8b70c17d24 War on varchar. Changed all occurrences of varchar(N) and varchar(N) binary to varbinary(N). varchars cause problems ("Invalid mix of collations" errors) on MySQL databases with certain configs, most notably the default MySQL config 2011-01-19 01:11:21 +00:00
Tim Starling
1842f903c2 Updated patch files to match the recent update to tables.sql. Removed some defunct patch files. Tested with a 1.3 -> 1.11 upgrade. 2007-06-22 20:09:59 +00:00
Tim Starling
0a93752af6 * Removed mysql5 SQL files, obviously we're collectively incapable of keeping them up to date. They were littered with errors. The only deliberate difference appears to be the table character set, which can be adjusted programatically using a variable.
* Added table option variable to the SQL patch files, so now upgrading a non-standard schema won't leave your database horribly corrupted.
* Added sql.php, for sourcing SQL files with MediaWiki variable substitution.
* Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the various problems that occur when it is on.
2007-04-22 14:04:06 +00:00
Domas Mituzas
88932b0758 put TYPE back in, now as it's back in 5.1 ;-) 2006-04-08 21:11:13 +00:00
Domas Mituzas
0b25a247a1 replace TYPE= with ENGINE=, (supported since 4.0, TYPE deprecated since 4.1) 2006-03-12 14:35:03 +00:00
Tim Starling
b59bacc74e fixed key lengths, as per tables.sql 2005-07-02 11:16:26 +00:00
Brion Vibber
fa8603c521 Use InnoDB by default for table creations if available. 2005-05-02 08:40:17 +00:00
Tim Starling
722e946b52 added /*$wgDBprefix*/ in various places, to support upgrading from old prefixed databases, e.g. mine 2005-01-14 13:33:17 +00:00
Brion Vibber
ac9621badb Add categorylinks table to separately list category relationships. Actual
_page_ links to category pages like [[:category:Some cat]] will stay in
links/brokenlinks and not be listed in the category page list anymore.

A link can optionally specify a sort key like this: [[category:cat|Sort me]].
The page will then be sorted in category lists according to the given text
instead of the page name; thus categories may be sorted arbitrarily, by
last name or whatever.

There is also a timestamp field included on gwicke's request; this is not
used yet. Also it will currently be updated at every edit of the page,
this can be changed by implementing differential updating for the cat links.

TODO:
* Make sure that automatic sort keys are updated on page rename.
* Make sure cateory pages get cache-invalidated and purged
* Use proper text sorting instead of raw binary sort
* Allow specification of the display style on category pages: comma list
  or bullet list or number list; by sortkey or by timestamp; etc
2004-05-15 00:29:39 +00:00