Chad Horohoe
7914b2ee68
(bug 29475) Remove "trackback" feature entirely from core. This has been disabled-by-default since its inception and nobody uses it.
...
If someone really really wants this, they can write an extension.
Language files need rebuilding, but I took care of En and messages.inc.
2011-11-23 17:14:03 +00:00
OverlordQ
0074526857
Followup to r100640, use correct name scheme for sequence, correct references to sequence and add optional patch file for sites following trunk
2011-11-16 19:54:38 +00:00
OverlordQ
608d6bba76
Followup to r101021, add back to Pg schema so we can install mediawiki
2011-10-31 20:03:43 +00:00
OverlordQ
8cd73f35ff
Update Postgres with missing uploadstash tables
2011-10-24 19:43:16 +00:00
Aaron Schulz
a4d029210a
Follow-up r90749:
...
* Removed useless ufg_group index from user_former_groups
* Index name consistency
2011-06-25 04:11:20 +00:00
Aaron Schulz
cb6b72cef7
Added one-time promote support via Autopromote::autopromoteOnceHook function. This is still a bit rough on the edges. This uses a hook since extension may want to control when it's called for performance reasons. Patch by lampak. (for bug 24948)
2011-06-25 02:52:30 +00:00
Brion Vibber
5f0afcf1a2
Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options!
...
The 'math' table will no longer be created on a default install unless you've explicitly enabled the Math plugin at install time; the usual update.php procedure will add it in.
Postgres, Oracle, MSSQL, and DB2 variants are included -- broken out from the core files -- but have not been tested.
I know there has been some code duplication in parser test infrastructure but could only find one instance of the parser test temporary table setup to remove the 'math' table from (the extension adds it back via the hook). If the phpunit-based runner breaks, please track it down and fix it there too.
2011-04-22 21:37:16 +00:00
Mark A. Hershberger
13e7d428b1
followup r13884 add CASCADE so that if the tables are created a second
...
time, errors aren't given.
2011-02-05 22:20:09 +00:00
Mark A. Hershberger
1eb2307caa
Results of my work on new-installer and Pg.
...
* NOTE: this commit removes any semblence of tsearch compatibility with pre-8.3 PostgreSQL
* Make new-installer work against PostgreSQL
* Remove SearchPostgres.php's call to pg_fetch_result. I think this is the only one outside of the vestigtial old installer code.
2011-02-03 04:06:11 +00:00
Greg Sabino Mullane
a159977153
Use text_pattern_ops for page_title, as some code uses 'anchor%' matching.
2011-01-19 16:14:37 +00:00
Greg Sabino Mullane
cb1c5fd26b
Add new index on pagelinkes(pl_title) per suggestion from bug 25111
2010-09-13 15:04:04 +00:00
Greg Sabino Mullane
da86748730
Add new tables.
2010-09-08 02:02:28 +00:00
Greg Sabino Mullane
7eac02fe48
Bump cl_collation from smallint to a text
2010-09-03 21:08:16 +00:00
Greg Sabino Mullane
0426d84d21
Add in new categorylinks columns.
2010-08-31 14:35:56 +00:00
Greg Sabino Mullane
f31556261f
CREATE LANGUAGE belongs as part of the installer, not here.
2010-08-24 17:35:03 +00:00
Mark A. Hershberger
79907b4b08
OverloardQ or other PG person, please review
...
These patches were necessary to get new-installer working on PG for me. I'm not sure about the ‘create lang' bits — they should maybe be in another step?
2010-08-17 03:07:27 +00:00
Greg Sabino Mullane
f6e216c54e
Add new partial index for Postgres
2010-08-04 12:40:42 +00:00
Greg Sabino Mullane
5c994a71b3
Remove invalid comma
2010-08-04 11:09:56 +00:00
Roan Kattouw
61de1b9006
Rename the iwl_prefix_from_title index (again) to iwl_prefix_title_from and change the field order accordingly. Fixed r66892 which inserted iwl_from into the index (which was a good thing) but put it in the wrong place. I went out of my way to make sure the index isn't dropped and recreated needlessly, but since I don't know how to do the drop-index-if-exists thing in the Postgres updater, I left that out. The Postgres updater will now create the new index without dropping any old incarnations if present. I did create the patch files with the DROP INDEX statements to make it easier to add this behavior. Also tweak ApiQueryIWBacklinks to use this index properly.
2010-07-22 08:52:58 +00:00
OverlordQ
4739d6e36e
Followup to r69580, did I mention MySQL sucks?
2010-07-20 06:02:09 +00:00
OverlordQ
aac4aa2c6f
Followup to r69542, since the new installer doesn't support PG, this is going into updaters.inc
2010-07-20 05:59:51 +00:00
Greg Sabino Mullane
23fc153996
Add ul_value to Postgres schema.
2010-07-08 15:11:57 +00:00
Greg Sabino Mullane
f9e29ab620
Standardize the formatting.
2010-05-28 21:37:15 +00:00
Sam Reed
d5b8c1e12b
Attempt at changing postgres as per r66892
...
OverlordQ or someone, can you review please?
2010-05-25 21:36:56 +00:00
Chad Horohoe
b9648ffd01
Kill last vestiges of mediawiki_version. Nobody actually uses it anymore, it just gets silently updated (and only for Postgres at that)
2010-04-26 13:46:04 +00:00
OverlordQ
f787b8155f
Followup to r65104, PG updater/table def
2010-04-16 02:35:37 +00:00
Greg Sabino Mullane
4539958087
Make foreign key constraints DEFERRABLE INITIALLY DEFERRED when using Postgres as the database backend
2010-03-22 18:13:06 +00:00
Aryeh Gregor
b520bfb771
Rename some extauth functions and fields
...
Per Code Review at
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53497#c4633 >. One
of the changes was a database field, and updaters might have to be
written for pgsql and DB2.
2009-12-08 19:32:17 +00:00
OverlordQ
31bc78fc18
Followup to r58262: PG half of sequence changes
2009-10-28 17:08:06 +00:00
OverlordQ
355d563f05
Followup to r57964, forgot to revert column change
2009-10-21 02:50:45 +00:00
OverlordQ
bdb4f74360
Add missing columns to PG schemas
...
Add exceptions to schema comparison script
Alter SQL comments to appease said script
2009-10-21 02:46:39 +00:00
Greg Sabino Mullane
d34a4a5425
Full support for modified oldimage FK constraint to do ON UPDATE CASCASE as well as ON DELETE CASCADE. Thanks to Robert Fleming for reporting and supplying a patch in bug #19445 .
2009-07-20 01:54:36 +00:00
Greg Sabino Mullane
3b545f8a39
For oldimage table, do ON UPDATE CASCADE. Per bug #19445 .
...
Note: still needs adjustments to updaters.inc
2009-07-20 01:42:24 +00:00
Roan Kattouw
7130db80c9
(bug 19726) Missing schema updates break file uploads for Postgres. Patch by OverlordQ
2009-07-15 09:38:07 +00:00
Chad Horohoe
6964e122dd
(bug 19428) PG and MySQL followups to r52503. Patch by OverlordQ
2009-07-01 00:55:45 +00:00
Greg Sabino Mullane
21993cbb81
Clean up whitespace, add log_search to Postgres schema.
2009-05-19 20:55:29 +00:00
Brion Vibber
ef4849a201
Follow-up to r49803: use proper type and add an explicit foreign key reference for up_user->user_id as we have for other tables in the postgresql schema
2009-04-28 18:42:26 +00:00
Alexandre Emsenhuber
dba3ca83e4
Follow-up r49790: update the PostgreSQL schema
2009-04-24 08:49:29 +00:00
Brion Vibber
7d3e76c415
Revert r48212 "Add user_hidden field to complement ipb_deleted and gu_hidden"
...
Unauthorized schema change, also appears to be unused.
2009-03-20 01:15:41 +00:00
Greg Sabino Mullane
556142b6b2
Make oldimage nullabilities match image ones, per not on bug 15815
2009-03-12 14:46:27 +00:00
Greg Sabino Mullane
2a6c9a1dfc
Add user_hidden column to mwuser table for Postgres schema.
2009-03-12 14:35:40 +00:00
Greg Sabino Mullane
43e92922f7
Whitespace consistency.
2009-02-27 16:49:32 +00:00
Alexandre Emsenhuber
81d04dba17
Update Postgres schema per r46460
2009-02-05 20:55:07 +00:00
Greg Sabino Mullane
61615d0df8
Add column ipblocks.ipb_allow_usertalk
2008-10-11 12:08:10 +00:00
Greg Sabino Mullane
cbef9787ec
Add index on templatelinks.tl_from
2008-10-11 11:45:26 +00:00
Tim Starling
20cfed18d9
Fixed bug 15148, total breakage of Special:BlockIP on PostgreSQL:
...
* Migrated to a unique index for IP block conflict detection, like we did for MySQL some aeons ago.
* Modified DatabasePostgres to return a correct affected row count for INSERT IGNORE. Tested for single and multi.
* Fixed an unrelated bug: duplicate index rc_timestamp in tables.sql
* Tested for install and upgrade on PG 8.3.
No changelog because I'll backport it to 1.13.
2008-09-06 07:05:14 +00:00
Aaron Schulz
332c496506
* Maintain active user count for Special:Statistics (bug 13585)
...
* Add a global to add update functions to updateSpecialPages.php
2008-08-31 19:29:37 +00:00
Greg Sabino Mullane
f8ef51fc11
Add separate index for watchlist(wl_user) [Postgres]
2008-07-31 16:18:59 +00:00
Greg Sabino Mullane
ee57423144
Add partial index for common recentchanges query.
2008-07-24 22:28:29 +00:00
Brion Vibber
a7af6c3b72
Hold back $wgTrackLinkChanges for a little bit; reverting r37322, 37430, 37432, 37435.
...
Even disabled, it's started interfering with regular tasks like running the parser tests.
2008-07-10 22:11:11 +00:00