Commit graph

21 commits

Author SHA1 Message Date
Antoine Musso
6291a4774d implement a new magic word: PAGENAMEE wich return the escaped title. Implement sourceforge feature requests 999044 and 997771 2004-08-12 13:32:04 +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
Gabriel Wicke
944b872646 New magic word __TOC__ that inserts the toc at the place it is found
Implies __FORCETOC__
2004-06-29 23:59:30 +00:00
Jens Frank
d4f2fe39ea thumbs with alt text starting with center or ending in centre are centred, which they shouldn't. BUG #963876 2004-06-01 06:02:13 +00:00
Jens Frank
ad76b42c79 Fixed problems caused by merging of a patch which was generated from an old version 2004-04-24 21:20:32 +00:00
Brion Vibber
f0f5a17d5b Add {{NAMESPACE}} and {{PAGENAME}} magic words. (dori's patch) 2004-04-24 20:19:05 +00:00
Jens Frank
06eb1fc1b5 New parameter 'framed' for Extended Image Syntax
Frame the image using the same box the thumbnail uses, but don't scale the image and
don't show the zoom-icon
2004-04-24 01:05:49 +00:00
Tim Starling
c503774b28 Moved MAG_XXXX constants to MagicWord.php, changed canonical name for NS 4 to "MetaNamespace" 2004-04-09 07:02:29 +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
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
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Tim Starling
536b796ee1 More characters allowed in message names (or more generally, MagicWord "variables") 2004-01-25 02:38:47 +00:00
Erik Moeller
99f6383f37 JeLuF's image resizing code 2004-01-12 00:55:01 +00:00
Mr. E23
225fa83227 Cleaned up OutputPage::replaceVariables() a bit. Some performance gain by doing several replacements at once in MagicWord::replaceMultiple() 2004-01-10 22:49:37 +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
Tim Starling
788ff5c181 Comments 2003-12-14 14:25:44 +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
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
d5cbc0e43a new Block object, block expiry, optional sysop blocks 2003-09-01 13:13:56 +00:00
Tim Starling
684dba201e Internationalisation of "magic words" such as #redirect 2003-08-31 09:46:37 +00:00