Commit graph

37 commits

Author SHA1 Message Date
Domas Mituzas
27e8894502 Fix recent changes cutoff to use Database::timestamp 2004-08-10 11:36:22 +00:00
Arne Heizmann
075396a961 New feature: Recent Changes Patrol. All edits and new pages are now highlighted on
Special:Recentchanges and Special:Newpages until someone "marks" them as
"patrolled" using a special link. For new pages, this link appears at the bottom
of the article if the link in Recent Changes or New Pages is followed. For all
other edits, this link appears only in the diff and only if the diff link is
followed from Recent Changes. (Might need to add this functionality to Watchlist
too; haven't done that yet.)
2004-08-09 05:38:11 +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
Brion Vibber
6ae494e9e9 <br/> isn't compatible with Netscape 4.x; use <br /> to avoid gratuitously breaking it. (bug 963341) 2004-05-31 00:58:57 +00:00
Tim Starling
8f22cb45b1 include_once -> require_once 2004-05-07 13:43:10 +00:00
Brion Vibber
5be318f7e9 Fix use of the <comments> field in RSS feed. It's not a textual comment, but rather a URL to a comments page; using the talk page in this case. If the page in question already is a talk page, it'll be the same URL as the page itself. 2004-04-29 01:14:32 +00:00
Brion Vibber
67d576d602 Avoid duplication 2004-04-28 05:50:33 +00:00
Antoine Musso
28c394e505 +Enable Atom support for that script that isn't migrated to Querypage.php class yet. 2004-04-28 05:18:30 +00:00
Antoine Musso
72bdb334e0 +add the "comments" field to rss feeds
+Atom support !
2004-04-28 04:37:31 +00:00
Gabriel Wicke
eee9aaec3b counter for tab indexes and similar 2004-04-09 23:44:18 +00:00
Tim Starling
549d49951e Refactored (object-orientified) to make them play nice with $wgRequest 2004-04-01 13:03:05 +00:00
Gabriel Wicke
72199b2da9 xhtml tweaks 2004-03-22 23:48:07 +00:00
Brion Vibber
64bff5a33d Send cache-control headers with feeds, this makes 304 responses possible 2004-03-20 02:35:08 +00:00
Brion Vibber
9729a6d8de Some more RSS syndication work. <author> tags now included; Special:Newpages
includes page text (incomplete); preliminary feed support for Recentchanges;
added RSS feed link next to printable link (incomplete).
2004-03-19 05:31:18 +00:00
Brion Vibber
9e861c1c9e Make login work again; some var init fixes 2004-03-08 10:17:24 +00:00
Brion Vibber
4dac4d85c6 Add digit transformation function Language::formatNum() for Arabic and other
languages which need to use localized (decimal) digits. Sample implementation
for Arabic.
2004-03-06 03:03:14 +00:00
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Gabriel Wicke
d2b982f358 maximum ten seconds server-side caching 2004-02-08 21:14:53 +00:00
Tim Starling
57cec6f4dc More hide/show links in RC 2004-01-30 12:47:19 +00:00
Mr. E23
4dc1f7cce6 potentially uninitialized variable fixed 2004-01-29 03:00:20 +00:00
Mr. E23
4a43d39f7f Removed not-so-useful RC caching 2004-01-29 02:58:16 +00:00
Mr. E23
af708941e4 Short term caching of RC database query 2004-01-28 15:57:47 +00:00
Mr. E23
7d43968968 Cutoff on midnight always, making successive queries identical. This means it can take advantage of the mysql query cache. 2004-01-28 14:41:20 +00:00
Tim Starling
5431a39742 Option to hide logged in users 2004-01-25 02:24:46 +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
Tim Starling
3c96949682 * Recent Changes improvements: object oriented back end, move page annotation and (untested) message queue feed.
* Misc. bugs fixed in DatabaseFunctions.php and Skin.php.
* install-utils, install and update utilise Database objects instead of handling their own connections
* schema change for RC improvement -- added rc_type, rc_moved_to_title and rc_moved_to_ns
2004-01-17 05:49:39 +00:00
Mr. E23
bdf73da2d2 The purpose of this modification is to ensure that every normal request
execution starts and ends in wiki.phtml, giving the code a somewhat
more predictable flow.

OutputPage.php:
* Added disable() method to Output class.
* Replaced exit() call in checkLastModified() with "return true" (thereby
  altering its contract quite severly).
* reportTime() now only returns elapsed time, code with side effects
  moved to logProfilingData() in GlobalFunctions.php.

GlobalFunctions.php:
* Added function logProfilingData() which does most of what
  OutputPage->reportTime() used to do.

Article.php:
* Replaced exit() in checkLastModified() with "return true" (thereby altering
  its contract quite severly).
* replaced implicit exit in calls to checkLastModified() and tryFileCache()
  with returns.

LogPage.php:
* replaced implicit exit() with return in call to checkLastModified()

SpecialRecentchanges.php:
* replaced implicit exit() with return in call to checkLastModified()

wiki.phtml:
* Single call to logProfilingData() at the end of the request.
2003-12-11 20:16:34 +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
Tim Starling
9b28aa9905 changing wfQuery to allow replication 2003-09-20 02:21:40 +00:00
Tim Starling
3d042077f8 enhanced wfMsg: minor improvements 2003-08-30 07:12:38 +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