Commit graph

153 commits

Author SHA1 Message Date
Tim Starling
bcb4f2c046 New feature: Turck MMCache shared memory as a lightweight, windows-compatible replacement for memcached 2004-08-21 13:59:48 +00:00
Jens Frank
5f4b3ec064 On image pages, limit image width to $wgMaxImageWidth.
If $wgUseImageResize is set, the image will be resized to fit this limit.
The resized image links to the big image.
Default for $wgMaxImageWidth is 800 pixels. Set to really big values (like 9999999) to disable.
2004-08-17 21:07:14 +00:00
Antoine Musso
fd2a41c6ff some more comments and moved parameters in their sections 2004-08-15 23:25:52 +00:00
Brion Vibber
1ce0aa1886 Disable $wgUseGzip by default since it's wildly incompatible with
default output buffering. May further streamline this later.
2004-08-14 22:51:28 +00:00
Tim Starling
5698c6bcc7 Allowed post-parse link cache to be used for update as well as page view. This involves changes to Article::showArticle() and maintenance/refreshLinks.inc. Fixed various bugs that I noticed along the way. Added an option to recover the old 1.3.x behaviour, for profiling and debugging. 2004-08-14 13:34:57 +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
Tim Starling
cd2e8170d2 Ahh, so that's what that does 2004-08-12 06:54:58 +00:00
Jens Frank
ede710c2c2 Make RC patroling an optional feature that can be turned off by setting wgUseRCPatrol to false.
Enabled by default
2004-08-09 18:58:43 +00:00
Jens Frank
61c6f0b223 Integrated C++ wikidiff engine. Enable by setting wgUseExternalDiffEngine to true.
Needs wikidiff module from the extensions package and SWIG to compile.
2004-08-08 02:20:00 +00:00
Brion Vibber
62e98ad47c Suppress some more warnings on separate execution of files. Shouldn't
be anything exploitable, it's just annoying.
2004-08-06 22:30:47 +00:00
Brion Vibber
c280d5887a Degrade gracefully: disable PHPTal-based skins on PHP 5.0 or higher.
Notify the user about this at setup time.
2004-08-06 09:46:25 +00:00
Brion Vibber
d53a5b7add * Change version number to 1.3.0+ (should it be 1.4-prealpha yet?)
* Add gif to the file extension whitelist since Unisys patent is now dead.
2004-08-03 07:10:35 +00:00
Brion Vibber
fbd709f2e9 Add $wgTranslateNumerals global option to disable local numeral usage
in the interface where implemented (ar, hi)
2004-08-01 06:46:43 +00:00
Tim Starling
7abb986676 added $wgUseValidation 2004-07-25 05:15:03 +00:00
Brion Vibber
67833d481c $wgRawHtml option to enable <html>...</html> container for RAW UNCHECKED
UNPARSED html bits. Don't enable this except on trusted sites!
2004-07-24 22:59:44 +00:00
Tim Starling
1773cd1e76 * Introducing bit field for database parameters
** Database constructor calling sequence, and Database::newFromParams()
** Including flags in the server initialisation structs
** Support for setting appropriate flags from legacy globals in Setup.php
** Moved some defines to Define.php so that they can be used in LocalSettings.php, most importantly the bit field constants

* Changes related to post-parse link colouring
** Turn the link cache back on when using it for updating the links table
** No longer need to call preFill() on page view

* Better synchronisation of slave servers
** Rearranged getConnection()
** System for beginning and committing transactions when multiple connections are open
** wfAbruptExit() commits transactions, wfErrorExit() does not. Various functions changed to use wfErrorAbort()

* Allowed reporting of database errors during deferred updates by moving them above output()
2004-07-24 07:24:04 +00:00
Jens Frank
6b37aa9a04 New global config setting $wgMaxTocLevel: Maximum indent level of toc. 2004-07-19 05:15:50 +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
2fa2d5f1d1 remove repeated code 2004-07-18 04:31:00 +00:00
Domas Mituzas
6da9ebb849 Use pgsql->PostgreSQL. Change required for class loading automagic. 2004-07-15 15:11:18 +00:00
Tim Starling
b96b707efa OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature. 2004-07-10 03:09:26 +00:00
Tim Starling
f0987b0523 exclude Rambot (or any other arbitrary SQL) from Special:Randompage 2004-07-10 01:25:42 +00:00
Tim Starling
1fbf7c2202 Disabling info action for now, would kill suda if we put it live and we can't have that happening 2004-07-09 11:42:24 +00:00
Tim Starling
ea33dc3d07 Limit squid purging 2004-06-30 03:39:48 +00:00
Tim Starling
0943144cbc squid debugging 2004-06-30 02:02:43 +00:00
Tim Starling
524d56a6f1 DB error log 2004-06-29 07:09:00 +00:00
Evan Prodromou
c9d98b9dca Added two global variables, $wgAllowUserJs and $wgAllowUserCss, which
default to true. Admins can set one or the other to false to disable the
feature of User: namespace Javascript and CSS links.

Added code to Skin.php (but not SkinPHPTal.php, yet) to check these
variables before adding the User: namespace Javascript and CSS links.
2004-06-28 21:51:52 +00:00
Evan Prodromou
51a38cfbc5 Only show last N contributors in the credits. Unfortunately, this required a
change in the getContributors() method of Article, which in turn required
some code changes in the Metadata module.

However, it now seems to work.

If the number of contributors is greater than N, then show a link to the
full credits page.

An additional bit: it may be that we don't want to show _any_ contributors
if we are over the max. So, there's a flag to check this.
2004-06-28 20:24:23 +00:00
Evan Prodromou
e9080b7357 Make user names (and real names) in credits block link to user pages.
Also, fix a bug in Skin.php so that if $wgMaxCredits < 0, all credits are
shown.

Finally, document the $wgMaxCredits config var better.
2004-06-28 18:35:03 +00:00
Brion Vibber
3290ecd13f Beta4 2004-06-26 23:37:25 +00:00
Tim Starling
1211a3bb39 Account creation throttle 2004-06-26 04:00:03 +00:00
Antoine Musso
e137ce07a8 patch by Laurent GUERBY to use/check copyright upload. Disabled by default. 2004-06-24 13:26:08 +00:00
Tim Starling
24d8a8e50b new anti-bot code 2004-06-21 07:41:53 +00:00
Tim Starling
b5ef8d221b Bringing the load balancer to the main branch. Still doesn't do much. I needed a DB connection cache for my Article.php alterations, which LoadBalancer provides. 2004-06-15 15:00:54 +00:00
Tim Starling
e3d0c474a8 Storing IP in RC. Off by default. Tested:
* Installation
* Edit when switched off
* Edit when switched on
2004-06-14 10:40:24 +00:00
Brion Vibber
03f9f78b9e Preparing for beta3... 2004-06-12 02:05:15 +00:00
Brion Vibber
9a78bae429 Converted remaining latin-1 localizations to UTF-8 (da/de/es/nl/sv).
For compatibility with existing installations, a latin-1 proxy language
module can be activated by setting $wgUseLatin1 = true; which will convert
messages to Latin-1 and use the Latin-1 support code as necessary.
2004-06-11 02:47:41 +00:00
Domas Mituzas
45afe6b70a Add database type (demysql code) 2004-06-09 16:10:45 +00:00
Tim Starling
3ac0a71c13 Hiero and timeline as fully modular extensions. To use, just include the header file from LocalSettings.php 2004-06-09 12:15:42 +00:00
Antoine Musso
e511d7706e some double quoting replaced by single quoting 2004-06-09 00:03:26 +00:00
Brion Vibber
c4bf374b36 Update beta2 2004-06-06 06:44:50 +00:00
Antoine Musso
69e040aaa5 disabling the dmoz-like category browser by defaut 2004-06-06 04:15:03 +00:00
Evan Prodromou
940f992a19 Per request, I've added code to disable setting the real name field on login
or in user preferences. The field remains in the database, however, and
classes such as User still use it. It's just hidden from the user interface.

The configuration variable is $wgAllowRealName, which defaults to TRUE.
Admins can set it to false if they need to.

It was kind of a chop-shop job, but I'm pretty sure that clever hackers
won't be able to force in a real name anywhere.

I haven't yet made display of real names in the RDF optional; I figure
that's a lower priority.
2004-05-29 17:32:49 +00:00
Brion Vibber
d5c8171a31 Update version and docs to 1.3.0beta1 2004-05-21 19:04:52 +00:00
Tim Starling
f8bbc61b42 Various board vote enhancements, moving to the BoardVote directory 2004-05-15 10:36:59 +00:00
Tim Starling
e3676a470c Introducing special page modular extensions, making the board vote special page the first of these.
* Moving common special page handling to SpecialPage.php
* Special page lists in the language classes are obsolete, replaced by the list in SpecialPage.php
* Special:Specialpages uses the standard page titles wfMsg(pagename) instead of the description list previously contained in the $wgSpecialPagesEn arrays
* Ability to add custom messages to the MessageCache. Overridable by the MediaWiki namespace.
* Moving board vote functionality from includes/SpecialBoardvote.php to extensions/BoardVote.php
2004-05-15 03:36:39 +00:00
Gabriel Wicke
df08e4792a removed section folding 2004-05-13 11:54:19 +00:00
Gabriel Wicke
5890e384b7 tweaks to tidy comments 2004-05-12 14:30:35 +00:00
Erik Moeller
a3826b88bb some documentation 2004-05-12 01:17:05 +00:00
Gabriel Wicke
5a6f3fda52 phptal doesn't require ini_set anymore 2004-05-11 01:42:58 +00:00