Commit graph

237 commits

Author SHA1 Message Date
Gabriel Wicke
3f946da1c2 wrap user css and js in pre on view 2004-04-29 10:04:57 +00:00
Evan Prodromou
8157c21675 For on-page attribution, only show last ($wgMaxCredits - 1) contributors. No
indication yet that there may be other contributors, and no separate credits
page.

Also, remove conflict over "contributions" string.
2004-04-29 01:58:20 +00:00
Erik Moeller
dfecc217ab fix longstanding bug with section editing where section headers within
<nowiki> or <!-- .. --> tags would cause it to miscount section
numbers. Parser::extractTags modified to allow stripping HTML comments
as well. Note: Presently HTML comments are completeley removed from
the output using preg_replace. Should they ever be rendered instead,
Parser::extractTags should be used.
2004-04-28 04:50:35 +00:00
Brion Vibber
11bf1cd3b5 Disable renaming of category pages (this causes a number of problems
currently which make it a dubious thing to try to do). Fix HTML for
error display on move. Add error class to style sheets. Fix error call
in protect. Remove dupe function that was moved from skin to output.
2004-04-25 01:01:38 +00:00
Brion Vibber
1e3a9f9580 Use the set page title and HTML title in MonoBook skin, which was ignoring
them. Moved the action name appending into Output to work with all skins.
2004-04-25 00:32:24 +00:00
Evan Prodromou
9d6bd18753 Moved contributor logic to Article class, and changed Metadata to use that
method instead.
2004-04-23 21:01:29 +00:00
Jens Frank
ce1a1dbc6b Dori's patch: require confirmation for protection/unprotection like it's already done for deletion. 2004-04-21 16:17:49 +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
Brion Vibber
fe5ff59ad6 XHTML fixes. 2004-04-09 01:37:41 +00:00
Brion Vibber
3d2a067e8c HTML tweaks inching towards XHTML-friendly output. To test:
$wgMimeType = "text/xml";
	$wgDocType = "-//W3C//DTD XHTML 1.0 Transitional//EN";
	$wgDTD = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";

Mozilla will spit out angry erorrs at all the well-formedness errors.
2004-04-03 10:01:08 +00:00
Tim Starling
be9ef591e2 fixed bugs added recently 2004-04-01 12:35:45 +00:00
Tim Starling
e9aa758d7a Removed dependence on register_globals from everything except the special pages. Fixed miscellaneous bugs. 2004-03-29 14:48:07 +00:00
Tim Starling
4ac09fcc22 getContentWithoutUsingSoManyDamnGlobals(), allowing deletion in MediaWiki namespace 2004-03-23 10:11:24 +00:00
Brion Vibber
339b742275 Printable mode cleanup. Now done through stylesheets, <link>ed so that the
print command on a regular page will actually use the print stylesheet.
Explicitly following the printable link will also show the printable view
on screen.

CAVEATS: IE/Win may oversimplify the link style in what should be colored
or underlined text. Page title is not shown in Nostalgia skin printable
view. Part of the footer is duplicated in the output and will be visible in a styleless
user agent (lynx, really old Netscape, etc). Some render options aren't
totally handled right for printable, such as ? brokenlinks.

Also, section edit links are now available in diff view if the dest rev is
the current revision.

Some misc code clean-up and formatting as well.
2004-03-21 11:28:44 +00:00
Tim Starling
8fdf96fbb8 fixed error handling broken since 1.96 2004-03-21 06:58:12 +00:00
Tim Starling
2ca258fd03 * Changed inclusion syntax to allow e.g. {{stub}}
* Split MediaWiki namespace into MediaWiki and Template (requires changes to all language files)
* Purge links to on edit of Template namespace
* General refactoring of purging and cache invalidation code
2004-03-20 15:03:26 +00:00
Magnus Manske
e799a6d83a adding meta keywords 2004-03-20 13:27:08 +00:00
Mr. E23
46071b3a16 Fixed problems with section editing and merging 2004-03-14 22:28:52 +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
Gabriel Wicke
21ca86666f history purging 2004-03-09 12:55:54 +00:00
Brion Vibber
014093acc4 More globals and uninitialized variables fixes. Added WebRequest ($wgRequest)
object to encapsulate the handling of get/post variables:

The following grab something out of $_REQUEST. The first parameter is the
variable name and is required. The second is an optional default value:

  $wgRequest->getVal() - any type, returns NULL if no default given
  $wgRequest->getInt() - forced integer, 0 default
  $wgRequest->getText() - runs through $wgLang->recodeInput()
  $wgRequest->getBool() - return true/false
  $wgRequest->getCheck() - returns true if the var is set, even if to ""

$wgRequest strips slashes at initialization if necessary.

Also in this fine object:
  $wgRequest->wasPosted() - returns false if this wasn't a real form post,
    so we can protect against faked submissions in get urls.

There's still plenty of work to do, not everything uses the new functions
yet. To test the strict mode, do define('DEBUG_GLOBALS', 1);
2004-03-08 09:09:35 +00:00
Brion Vibber
b59ce22943 Replace the random boolean parameters on Title::getURL() with a set of
practical, clear methods:
  Title::getLocalURL() - "/wiki/index.php/Foobar" or "/wiki/index.php?title=Foobar&action=edit"
  Title::getFullUrl() - ditto with $wgServer on the front
  Title::getInternalUrl() - ditto with $wgInternalServer on the front (for some squid-related functions)
  Title::escapeLocalUrl() - local URL escaped for HTML output
  Title::escapeFullUrl() - full URL escaped for HTML output

All take an optional query parameter.

Title::getURL(), wfFullUrl() and wfFullUrlE() are now officially
deprecated and will result in instant death. wfLocalUrl() and wfLocalUrlE()
will be killed shortly; they are still used in the language files.
2004-03-07 07:26:56 +00:00
Tim Starling
840dee3ad4 * Fixed magic quotes in $_REQUEST, in Setup.php
* Converted many instances of globals from the query to $_REQUEST
* Renamed near-useless Title::getURL() to Title::getPartialURL()
* Created new Title::getURL(), to replace wfLocalUrl, wfLocalUrlE, wfFullUrl and wfFullUrlE. Replaced most instances throughout the code
* In Parser.php, generalised stripping of <nowiki>, <pre> and <math> to allow more general use such as nesting
* Moved body of Article::preSaveTransform to Parser.php
* Put lots of comments in Title.php
2004-03-06 01:49:16 +00:00
Tim Starling
db41d9ae7c Parser improvements: global variable destruction 2004-02-29 08:43:29 +00:00
Tim Starling
a3e7e46c3b bug fix -- parser cache used when it shouldn't be 2004-02-27 02:24:14 +00:00
Tim Starling
bb8ca6e2c2 minor fixes 2004-02-27 00:08:19 +00:00
Tim Starling
ee73b49007 Split parser from OutputPage into Parser.php, corrected spelling of "suppress", a few other bits and pieces 2004-02-26 13:37:26 +00:00
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Mr. E23
11e14cb131 Fix for parser cache; pages containing variables are now updated without delay when the variable is. 2004-02-15 17:02:58 +00:00
Mr. E23
548f98f411 Fix for deletion bug 2004-02-03 17:15:27 +00:00
Gabriel Wicke
9356ead84d reverted my edit, purging should be already done in updateArticle 2004-02-03 01:53:27 +00:00
Gabriel Wicke
3a4d7638ca purging on revert 2004-02-03 01:48:16 +00:00
Gabriel Wicke
ef98e54686 Squid branch merge. Calls to purge functions in Article.php and special pages. 2004-02-02 01:40:03 +00:00
Mr. E23
b09b9d4428 Temporarily reverted to pre-squid changes due to some issues. Tims bot patch in rev 1.102 is included though 2004-01-31 16:59:08 +00:00
Gabriel Wicke
e8b8cce179 bug fix I (replaced -\>mTitle with ) 2004-01-31 16:33:32 +00:00
Tim Starling
e68dd8114c Fixing &bot=1, broken by new RC code 2004-01-31 02:22:15 +00:00
Gabriel Wicke
144cbe5bd6 Squid integration changes 2004-01-30 17:07:50 +00:00
Mr. E23
9170073b75 Only allow identified users to mark edits as minor 2004-01-24 16:12:23 +00:00
Mr. E23
7096a0b227 Added pref which can be used to enable faster page hit counter feature. Default is to do it the old way. 2004-01-17 19:59:42 +00:00
Tim Starling
e02097a0e1 More informative rollback summary 2004-01-17 11:16:14 +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
Brion Vibber
eb59e628df Remove sometimes erroneous duplicate Content-encoding header for gzip.
As workaround for Apache2+PHP bug, avoid calling flush() in OutputPage::output
so headers aren't eaten during cache save.
2004-01-10 19:42:33 +00:00
Tim Starling
7fd73cbe63 fixed a few minor bugs and misc. notices 2004-01-10 14:18:05 +00:00
Mr. E23
16b6b929ca A patch to cache articles after conversion to HTML but before insertion
into a full page. Significant speed improvements on cache hits, especially
on pages with many links.
2004-01-07 02:51:47 +00:00
Mr. E23
f55ee65a08 Added hooks for article create/delete/edit events and moved linkscc calls there 2004-01-05 23:32:39 +00:00
Mr. E23
bd7256aede Moved linkscc SQL details into LinkCache for cleaner code. Also cleaned up LinkCache a bit. 2004-01-05 20:55:45 +00:00
Brion Vibber
80dc53604b Add $wgCompressRevisions option to compress old revisions on page save.
(Off by default.) Also change default of $wgUseGzip to be on if zlib
is available (this affects the file cache only).
2004-01-04 03:35:00 +00:00
Brion Vibber
57d8f4b737 Start support for compressing entries in the old table with gzdeflate.
Adds compressOld.php to batch-compress existing entries.
Article::getRevisionText will do decompression on a given row if
necessary (marked by old_flags). Requires zlib.
2004-01-03 12:32:32 +00:00
Erik Moeller
6df15daa34 $wgUseBetterLinksUpdate no longer needed, removed, doDumbUpdate removed 2004-01-03 02:46:35 +00:00
Brion Vibber
0020aa84d1 Split off page history code to PageHistory.php out of Article.php and Skin.php.
No substantive changes yet.
2003-12-21 12:01:29 +00:00
Brion Vibber
502964b2dc We no longer check the content, so have to make an explicit exception for the main page for short cache expiry 2003-12-17 09:41:17 +00:00
Brion Vibber
71840371c4 Check for bad title on redirect (ot: why can't diff understand indentation changes? is it so hard?) 2003-12-17 00:18:27 +00:00
Tim Starling
036ff960ce Improvements in MediaWiki namespace handling, enhanced rollback 2003-12-14 14:29:35 +00:00
Mr. E23
6a41de71d7 Article.php:
* Made updating of page view stats faster my buffering them in a
  HEAP table until many pages can be updated at once.

tables.sql:
* hitcounter table

patch-hitcounter.sql:
* hitcounter table

update.php:
* Creating hitcounter table when necessary
2003-12-13 21:32:32 +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
Mr. E23
53fba653e0 Replaced calls to exit() with wfAbruptExit(). 2003-12-10 15:05:08 +00:00
Tim Starling
c83ea550e3 MediaWiki: namespace memcached synchronisation 2003-12-06 02:09:48 +00:00
Brion Vibber
4da8ccdbdf Disallow rollback during read-only mode 2003-12-05 10:55:50 +00:00
Tim Starling
6d54b24c51 Bug fixes 2003-12-04 10:56:20 +00:00
Tim Starling
03d617d32d namespace 8 bug fix 2003-12-03 09:43:24 +00:00
Tim Starling
c7f9484049 MediaWiki: namespace update bug fix 2003-11-30 07:45:34 +00:00
Mr. E23
c0c33f7983 Removed a bit too much. Must clear linkscc for the article itself on edit. 2003-11-28 09:42:13 +00:00
Mr. E23
961a316dfc Clearing linkscc for article on rollback 2003-11-28 08:28:08 +00:00
Mr. E23
5e5a5929e4 Removed unnecessary clearing of linkscc 2003-11-28 08:13:52 +00:00
Mr. E23
530d919f5c Fixed bug (missing global) for linkscc that caused links to deleted pages to remain blue. 2003-11-28 03:21:55 +00:00
Brion Vibber
d664882512 Fix article count update on page creation 2003-11-27 02:04:02 +00:00
Brion Vibber
b292c89f24 Fix incremental link update with persistent linkcache 2003-11-25 06:57:24 +00:00
Brion Vibber
9c2379e862 Sometimes no title object....? 2003-11-24 10:24:04 +00:00
Brion Vibber
c388d1e0e1 Fix double-compression; fix missing deletion reason; fix html insertion attack; fix deletion text check for non-0 namespaces 2003-11-24 08:41:40 +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
4624709b6d Remove redundant code accidentally re-added in revision 1.56; this stuff was removed to EditPage.php a while back 2003-11-23 05:07:23 +00:00
Brion Vibber
575f3b8e5e Fix bug 795011; restrictions not loaded on redirects 2003-11-17 00:43:18 +00:00
Brion Vibber
d0b9388362 Use wfMsg()'s parameters 2003-11-15 13:08:12 +00:00
Tim Starling
2b931f51c0 Bug fixes 2003-11-15 12:38:02 +00:00
Tim Starling
c89a592f0b Bug fixes 2003-11-15 11:18:39 +00:00
Tim Starling
eee45843b0 misc. bug fixes 2003-11-15 07:14:05 +00:00
Tim Starling
a4148b7e85 Bug fix: added semicolon 2003-11-14 13:54:15 +00:00
Tim Starling
286be59ed5 Imported latest features from the stable branch 2003-11-12 13:07:08 +00:00
Mr. E23
df79d3432b Some minor PersistentLC related changes 2003-11-09 23:28:06 +00:00
Tim Starling
46787701ce Nov. branch merge. Various features backported from stable, various bug fixes. 2003-11-09 11:45:12 +00:00
Mr. E23
665c30813e Experimental code for caching page links 2003-11-08 15:12:34 +00:00
Tim Starling
ee4c7f2f49 Various fixes, see the version of [[m:Development status]] before this commit for details 2003-11-02 13:57:24 +00:00
Tim Starling
0f6234916a Translation checker added (nl: fixed); more conditional inclusion; misc. tweaks 2003-10-25 08:01:33 +00:00
Tim Starling
6d7467b131 More minor wfMsg() fixes 2003-10-21 13:06:15 +00:00
Tim Starling
d8cc830c4a block/unblock log; split off profiling into Profiling.php and broke it (turn it off for now) 2003-10-16 13:30:45 +00:00
Tim Starling
a2bc5d8338 MediaWiki namespace 2003-09-21 13:10:10 +00:00
Tim Starling
b32d1ece40 More wfQuery() conversion 2003-09-20 13:24:31 +00:00
Tim Starling
436d389650 changing wfQuery to allow replication 2003-09-20 02:30:00 +00:00
Brion Vibber
574a71a9fc Expire pages with variable replacements after 1 hour, to prevent obsolete dates and article counts on eg main page 2003-09-05 21:12:24 +00:00
Brion Vibber
38e0048fe9 Don't cache pages that don't exist 2003-09-01 19:40:52 +00:00
Brion Vibber
19682710ba Split image description page handling into ImagePage child class of Article.
Fold together some set/unset pairs in Article (watch, protect).
2003-09-01 09:59:53 +00:00
Brion Vibber
76dd2a8880 Article object now is associated with an arbitrary title object instead of a global 2003-09-01 08:30:14 +00:00
Tim Starling
1412a6885c Undelete bug partially fixed; Sysop ability to block users; various code formatting changes 2003-08-31 14:30:24 +00:00
Tim Starling
684dba201e Internationalisation of "magic words" such as #redirect 2003-08-31 09:46:37 +00:00
Brion Vibber
7461f62155 Fix for corruption of previous edit's data for 'post comment' 2003-08-24 12:09:20 +00:00
Bogdan Stancescu
d7ee54b053 Added label tag for confirm checkbox 2003-08-21 10:11:53 +00:00
Brion Vibber
b025e06871 Experimental patch to partially protect against simultaneous edit bug by
adding the conflict check to the UPDATE on cur and moving it up before
the INSERT to old. Should throw edit conflict instead of overwriting
a different revision.
2003-08-17 11:58:33 +00:00
Brion Vibber
3ad2397c2b Fix for rollback 2003-08-16 21:37:27 +00:00
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