Commit graph

237 commits

Author SHA1 Message Date
Brion Vibber
3f74f85fa8 tiny fixlet for browsers that don't support gzip 2003-08-08 03:08:06 +00:00
Brion Vibber
e3bbb66de8 Extract the edit page interface functions out of Article and into separate
EditPage class/file. Trying to streamline these things into managable
hunks of source...
2003-08-02 20:43:11 +00:00
Brion Vibber
4348c0b320 Slight cache tweaks; fixes gzip encoding header for newly recached pages
on my home test box (worked fine on the real install anyway, but...)
2003-08-02 12:41:30 +00:00
Brion Vibber
c6879704ab Move file cache functions into CacheManager class (in CacheManager.php)
and add support for showing the cached version of a page if unable to
contact the database.

Also add 'Vary: Accept-Encoding' to headers for every output, just to
make sure.
2003-08-02 10:13:27 +00:00
Erik Moeller
854c2df9ea fixed weird section editing bug (would save section instead of merged
article during edit conflict with self)
2003-07-29 15:26:53 +00:00
Erik Moeller
6f70078255 fixed edit conflict bug with sections 2003-07-29 02:08:25 +00:00
Erik Moeller
6b271ae5cb - don't check for edit conflict when posting comments (can always append)
- right click on article title instead of top [edit] link when rightclick
option is enabled
2003-07-28 03:57:40 +00:00
Erik Moeller
98c8698ddb 1) Stylesheet changes:
- smaller headlines in standard skin
   - slightly smaller font for menu links
   - headlines have thin gray underline
   - thinner borders
   - footer in blue box
2) Skin changes:
   - changed default color for non-article pages
   - removed "Special pages" dropdown -- takes space,
     causes display bugs and is hardly used
3) Preferences:
   - put all checkbox prefs in a table so they are
     properly aligned
4) Section editing:
   - new option for editing sections by right clicking
     titles (onContextMenu); works in Mozilla & IE
   - new functionality for appending text to pages, currently
     displayed only for Talk pages as "Post a comment"
     (summary field becomes comment subject)
2003-07-21 07:36:52 +00:00
Erik Moeller
4e98711e3c 1) moved some toc layout elements to stylesheet
2) fixed edit section bug (would not trigger on <h[1-6]> elements
3) show/hide javascript toggle text changes when clicked
4) toc centered, smaller font
2003-07-20 13:13:06 +00:00
Brion Vibber
80441d522a oops :) 2003-07-10 05:19:29 +00:00
Brion Vibber
c398bdb69e Don't cache zero-length 'pages' from redirects 2003-07-10 05:00:22 +00:00
Brion Vibber
8ed0b1d6e1 cache tweaks 2003-07-10 04:55:41 +00:00
Brion Vibber
92c2e450b0 Fix for floating point random value in non-english locales which may use comma as decimal separator 2003-07-08 11:15:26 +00:00
Tim Starling
f6d81b04c0 Minor link update fix 2003-07-06 12:04:36 +00:00
Tim Starling
a81b621b5f Incremental link table updates 2003-07-06 11:42:42 +00:00
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