Commit graph

22 commits

Author SHA1 Message Date
Brion Vibber
cd0a89520d Fixes missing cache-control and last-modified headers with file cached pages.
HOWEVER, the session cookie seems to override our cache control. May need to
mess with this to get things working smoothly.

Also, caching + gzip may be a difficult combination.
2003-07-03 10:18:07 +00:00
Erik Moeller
0fec91367a fix preview section editing bug 2003-07-03 02:15:00 +00:00
Erik Moeller
f2ffe4f62f 1) Hide section edit links for protected pages
2) Hide section edit links for old revisions
3) Changed layout of section edit links
4) added info to editing screen when you are editing a section
5) removed toc from main page
2003-06-30 02:15:17 +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
Erik Moeller
8b3f49bed5 * "Edit this section" feature that allows loading just part of an article
instead of the whole one
* "Table of contents" feature that is displayed above the article if that
preference is enabled and there are more than three headings
* Rewrote auto-numbering code
* Automatic insertion of anchors into every page
* minor fixes to update.php
2003-06-30 00:19:35 +00:00
Brion Vibber
a4b0c48dea Don't send the compressed version of the cache to a browser that won't take it when generating new cached page; this had made Safari rather difficult to use 2003-06-09 19:16:38 +00:00
Brion Vibber
d8cc1b0e8d Restore the clear all on the edit form which keeps floating images in the preview from invading the edit area; now on previews only. 2003-06-09 02:00:35 +00:00
Erik Moeller
57b3d9fedb bugfixes to deletion code 2003-06-09 01:46:22 +00:00
Brion Vibber
5648184915 Tweak to use local random, don't trust mysql's; new seed 2003-06-03 21:27:06 +00:00
Tim Starling
15656c813e fixed edit conflict bug 2003-05-28 08:30:36 +00:00
Erik Moeller
dec4b588d7 updated error messages for improved rollback feature 2003-05-25 07:56:08 +00:00
Brion Vibber
21a6c8751f Fix rollback to avoid race conditions with multiple people trying to revert after each other 2003-05-25 07:09:23 +00:00
Erik Moeller
ad3b6be0ff using existing Skin reference from $wgUser instead of Skin() object 2003-05-23 07:15:37 +00:00
Erik Moeller
8d13af81b7 Deletion feature improved:
If an article with less than 500 characters is to be deleted, at most the
first 150 characters are automatically suggested as a deletion reason. This
should automate the frequent practice of pasting the text of nonsense
articles into the deletion reason.

If an article with a history is to be deleted, a warning is inserted,
linking to the article history (so as to avoid accidentally deleting a
vandalized page with a valid history).

If a blanked article with a history is to be deleted, and the next earlier
revision contains less than 500 characters, at most the first 150 characters
are automatically suggested as a deletion reason. Nonsense pages are often
blanked, just checking the current revision for nonsense is not good enough.

New texts in Language.php for this feature:
- excontent, exblank, exbeforeblank, historywarning
2003-05-23 04:26:51 +00:00
Brion Vibber
3c4ddb9b53 use 'name', this is html4... avoid js errors 2003-05-20 10:22:56 +00:00
Brion Vibber
764331c963 Experimental optional compression support for page cache 2003-05-20 09:30:40 +00:00
Brion Vibber
e3520d2181 Break/clear before edit box to preview preview floating weirdness 2003-05-19 21:18:08 +00:00
Erik Moeller
9fa558cc22 experimental file cache now creates hash directories if necessary 2003-05-19 19:31:33 +00:00
Brion Vibber
1b95f968b6 Fix cache epoch for file cache 2003-05-16 20:50:43 +00:00
Brion Vibber
62e268a4c3 Tweaks to experimental filesystem caching 2003-05-16 13:56:34 +00:00
Brion Vibber
a58262c9e7 Optional server-side caching of anon-viewed pages in filesystem 2003-05-16 13:39:22 +00:00
Lee Daniel Crocker
d82c14fb4f Initial revision 2003-04-14 23:10:40 +00:00