Commit graph

23 commits

Author SHA1 Message Date
Brion Vibber
41c8b7bf72 Antiglobalization!
* Remove some unused and some useless functions from GlobalSettings.php
* wfEscapeHTML() replaced with PHP built-in htmlspecialchars().
* Moved some functions into Parser.php and Image.php
2004-08-13 15:55:59 +00:00
Domas Mituzas
4bc38e9ad6 cutoff timestamps use Database::timestamp() 2004-08-10 13:07:39 +00:00
Tim Starling
ac549401d4 * Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Tim Starling
8f22cb45b1 include_once -> require_once 2004-05-07 13:43:10 +00:00
Gabriel Wicke
a886d76d79 one unclosed br partisan 2004-05-06 15:30:05 +00:00
Antoine Musso
d503d4b6f1 Implement feature request 937430
Add a backlink on the "Related changes" page.
2004-04-19 13:06:36 +00:00
Gabriel Wicke
a6d18de13c counter for tab indexes 2004-04-19 09:15:01 +00:00
Brion Vibber
509775a7d0 XHTML clean-up. Started reformatting Preferences. Fixed some hard-coding
of 'Vikipedio' in eo.
2004-04-09 08:27:00 +00:00
Tim Starling
68967f0f00 use of $wgRequest 2004-04-01 12:53:01 +00:00
Brion Vibber
59c6e92429 Some changes to the link tables. They now all use a key on cur_id for the *_from column instead of strings, and have a unique index to force prevent any duplicate entries. There's not yet a clean step in the update script, so just clear out your links tables (patch-linktables.sql) and rebuild them with refreshLinks.php.
This saves trouble in a number of places where we can now do joins with the link tables to get other info (such as cur_is_redirect!) as well as the name, and fewer bits need to be juggled on page renaming, as outgoing links no longer have to be changed (cur_id remains the same when a page is renamed).

rebuildLinks.inc and some of the tools in the 'maintenance page' still need to be updated to work with the new setup. (Special:Maintenance needs a *lot* of cleanup in general. It's kind of a catch-all of vaguely defined features which suck performance like a hydroelectric dam.)

Also I've slipped in some extra debug code. And, I think 'indexes.sql' is a big waste of time and should all be moved into tables.sql. Building indexes separately doesn't help on InnoDB and won't do anything on MyISAM either if you're just going to replace the table after it's built with an imported one from a dump which creates it with indexes.
2004-03-11 09:06:13 +00:00
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Tim Starling
a12ffe0cea Bug fixes: watchlist and recent changes linked were broken in the last commit 2004-01-17 09:49:43 +00:00
Brion Vibber
92a4927486 Sanity check hideminor param; fix the hide link in rc 2003-11-30 01:23:44 +00:00
Evan Prodromou
a3d16adadd Reduced the scope of the hideminor user preference to just recent
changes (bug #845036). User contributions and related changes now
ignore this preference.

Also, fixed a problem where the show/hide minor edits link wasn't
appearing on recent changes and related changes. Made sure that the
param gets passed through with all the links.

Made sure that user contributions also had a show/hide minor edits
thing, and that minor edits are flagged with the M (or whatever) in
user contributions.
2003-11-29 18:39:04 +00:00
Brion Vibber
0a164de2ba Revert globals patch pending further work 2003-11-24 00:48:10 +00:00
Brion Vibber
13c17d0cc9 Commit JeLuF's register_globals fixes, first phase 2003-11-23 22:46:01 +00:00
Brion Vibber
d3c61d791d Security fix: include path 2003-11-17 03:00:18 +00:00
Brion Vibber
077ccb298c Use wfMsg()'s parameters 2003-11-15 13:41:26 +00:00
Tim Starling
9b28aa9905 changing wfQuery to allow replication 2003-09-20 02:21:40 +00:00
Brion Vibber
d7f6cb4ff1 Enhances special page links; allow some parameters to be passed via wikilinks to special pages to make it easier to cite things like backlinks, contribs, options for recentchanges, etc 2003-07-02 06:22:03 +00:00
Brion Vibber
f92d41d6c3 Date/time fixes: try to ensure that timestamps are always kept in GMT, with conversion where necessary. 2003-06-30 01:33:16 +00:00
Brion Vibber
efca89ebbe Refactor some common code for offsets/limits; some preliminary stuff for upload license notes and mysql4 fulltext support (not ready yet) 2003-06-03 08:44:50 +00:00
Lee Daniel Crocker
d82c14fb4f Initial revision 2003-04-14 23:10:40 +00:00