Commit graph

54 commits

Author SHA1 Message Date
Lupin
11337038b3 removing unused globals and some whitespace cleaning 2006-03-07 01:10:39 +00:00
Magnus Manske
b1c16bd4d6 Fixing bug 2082: Related changes views (Special:Recentchangeslinked) do not indicate one's watched page 2006-01-08 15:59:16 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7 * s~\t+$~~ 2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Antoine Musso
2ca68a256d Clean up unused globals! 2005-12-04 18:27:59 +00:00
Brion Vibber
72ad47d183 * (bug 4090) Fix diff links in Special:Recentchangeslinked 2005-11-27 09:53:13 +00:00
Brion Vibber
ece0b3e88f * (bug 4059) fix 'hide minor edits' on Recentchangeslinked
Needed to change rev_minor_edit in where clause to rc_minor, can't
use the aliased column name there.
2005-11-23 20:14:36 +00:00
Domas Mituzas
d0b4d2cc9a categories deserve recentchanges based recentchanges linked queries as well 2005-11-12 20:43:21 +00:00
Domas Mituzas
f0b5872333 recentchanges based recentchanges linked 2005-11-12 20:06:28 +00:00
Domas Mituzas
4bf83c2dd8 page_timestamp does not exist, eh eh, page_touched does though.. 2005-11-12 19:39:17 +00:00
Domas Mituzas
c738759377 there were two queries to be fixed, ... 2005-11-12 17:04:13 +00:00
Domas Mituzas
a360518cfb do not join revision for pages not touched, saves some cpu and i/o 2005-11-12 15:34:07 +00:00
Brion Vibber
3eac584406 * Clean up duplicate code for selection of changeslist style
in part for bug 3467
2005-09-15 00:40:51 +00:00
Antoine Musso
e00b2f8d2e Split enhanced and old changelist in two classes that inherit from the main
class. Need to setup more methods :)
2005-09-06 18:43:45 +00:00
Brion Vibber
de595c3eed More HTML validation checks on page subtitle. Not exploitable, but could create validation errors. 2005-08-25 04:31:46 +00:00
Antoine Musso
7dcb3eaf38 first letter lowercase 2005-08-16 21:02:15 +00:00
Antoine Musso
b91cc79f32 fix #923 : correct title for RCLinked special page 2005-07-03 19:20:42 +00:00
Brion Vibber
753cfc1553 * Various code cleanup and HTML escaping fixlets on page history, contribs etc
* fix page history with table prefix
* fix paging on history
* switch 'earliest' and 'latest' link order to fix 'prev' and 'next'
* use null where appropriate
* switch some messages to plaintext or wikitext
2005-06-29 06:16:03 +00:00
Brion Vibber
e0ce5a322e * links and brokenlinks tables merged to pagelinks; this will reduce pain
dealing with moves and deletes of widely-linked pages.

The updaters should be fixed up to understand future versions without the
tables there without breaking upgrades.
2005-05-26 10:23:36 +00:00
Ævar Arnfjörð Bjarmason
1ec4bb9890 * Special:Allpages, Special:Contributions, Special:Whatlinkshere
Special:Recentchangeslinked and Special:Emailuser all mishandled being passed
  "0" with the Special:Page/0 syntax (unrelated to bug 2087), this either
  required a workaround in the form of passing "0" as a GET value or blocked
  the user from passing that value at all.
2005-05-06 11:20:37 +00:00
Domas Mituzas
0aa2629efc remove inverse_timestamp wherever it is found and disable wfInvertTimestamp()
dear mysql3, try to remember how beautiful filesorts are, you're so good at it.
2005-02-21 15:33:58 +00:00
Brion Vibber
b7d89cb717 Somebody forgot the table names *ahem* 2005-02-08 20:46:22 +00:00
Brion Vibber
64ac6b8e77 Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:
* Page moves/overwrites are a little iffy
* Compression might not be working right
* Profit!
2004-12-19 08:00:50 +00:00
Brion Vibber
798270581d (bug 454) Merge e-notif 2.00
From http://bugzilla.wikipedia.org/attachment.cgi?id=171&action=view
and extra files from http://www.tgries.de/mw/cvs15+enea200-minus-cvs.tgz

Undid a couple minor bits like the broken changing of minoreditletter.
Have not yet made general corrections/reworkings. Since this changes
the user and watchlist tables, you must run the updaters (installer or
update.php) on an existing database.
2004-12-18 03:47:11 +00:00
Brion Vibber
d0bc0b3f4a (bug 144) Dan Keshet's category backlinks special-casing patch, with sql escaping fix. 2004-12-03 08:12:50 +00:00
Brion Vibber
ef985d1362 Split recentchanges and image history list formatters from Skin, where they never really belonged. No skin overrides these things, and they just waste server time loading and parsing the code for every page hit where they're not needed. 2004-11-25 13:47:17 +00:00
Zheng Zhu
c05629c010 Third batch of files modified to replace selected wgLang with wgContLang 2004-09-24 16:45:31 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
64fcc0ed91 Some comments 2004-09-03 15:23:37 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Domas Mituzas
c1e18b8bf9 include all fields in group-by, required by nonmysql databases, doesn't break anything on mysql 2004-09-01 12:49:19 +00:00
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