Commit graph

22 commits

Author SHA1 Message Date
Zheng Zhu
14052ee5e5 Second batch of files modified to replace selected wgLang with wgContLang 2004-09-24 16:24:43 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Brion Vibber
a152138927 Normalize output for Special:Export. 2004-09-03 06:49:17 +00:00
Brion Vibber
4f8ccf628c Parameters in wrong order, used wrong where conditions 2004-09-03 06:28:59 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +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
df106e2f49 New, simple method to retrieve the plain source of an article
Syntax:
* action=raw
* ctype=text/plain (defaults to text/plain, used in the header)
* charset=utf-8 (defaults to wgInputEncoding, used in header)
* oldid=int (retrieves old version if set)
2004-04-28 17:38:48 +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
cd0577bb81 Uninitialized variable cleanup; allow x-code input for page box in export for Esperanto 2004-03-20 08:56:05 +00:00
Brion Vibber
436a028086 Still not complete, but import is approaching functionality 2004-03-16 06:18:37 +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
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15: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
Mr. E23
53fba653e0 Replaced calls to exit() with wfAbruptExit(). 2003-12-10 15:05:08 +00:00
Brion Vibber
b939839e4f Add xml header (redundant but nice) and correct xml:lang tag 2003-12-01 21:29:59 +00:00
Brion Vibber
fb0d4449ea Fix cur revision for multi-version export 2003-11-25 19:35:21 +00:00
Brion Vibber
064515d8d5 Skip bad titles 2003-11-25 19:27:54 +00:00
Brion Vibber
cb1ed976d1 exit() 2003-11-15 09:24:18 +00:00
Tim Starling
eee45843b0 misc. bug fixes 2003-11-15 07:14:05 +00:00
Tim Starling
b32d1ece40 More wfQuery() conversion 2003-09-20 13:24:31 +00:00
Brion Vibber
1e03e58b59 Preliminary export of individual pages/page histories packaged in some
simple XML: Special:Export. Special:Import should follow...
2003-09-15 00:01:11 +00:00