Commit graph

1232 commits

Author SHA1 Message Date
Tim Starling
036ff960ce Improvements in MediaWiki namespace handling, enhanced rollback 2003-12-14 14:29:35 +00:00
Mr. E23
4f8b5eaaa5 removed tracing printout 2003-12-11 22:14:03 +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
ea5c70a473 Added wfAbruptExit() function, to replace exit() calls with. 2003-12-10 14:58:17 +00:00
Tim Starling
35cecc8014 Fixed wfMsg bug -- problems with "loading" message 2003-11-21 04:57:32 +00:00
Brion Vibber
d3c61d791d Security fix: include path 2003-11-17 03:00:18 +00:00
Brion Vibber
8609ef44c7 PHP version check on install/update; remove 4.0.x compatibility functions, as we've broken 4.0 compatibility elsewhere 2003-11-16 14:30:39 +00:00
Brion Vibber
d1c2cf108b Add compatibility file_get_contents; fix compat iconv 2003-11-15 14:47:31 +00:00
Brion Vibber
83b43d49ce Use wfMsg()'s parameters 2003-11-15 14:32:58 +00:00
Tim Starling
eee45843b0 misc. bug fixes 2003-11-15 07:14:05 +00:00
Tim Starling
596f4b09ce Latest features and bug fixes imported from stable 2003-11-12 10:21:28 +00:00
Tim Starling
46787701ce Nov. branch merge. Various features backported from stable, various bug fixes. 2003-11-09 11:45:12 +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
d1f6bd3328 Made enhanced wfMsg() faster 2003-10-21 13:01:49 +00:00
Tim Starling
ef8c8d5f2b fixed profiling; fixed wfMsg() use of memcached; put block log in initialdata.sql 2003-10-20 13:39:40 +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
436d389650 changing wfQuery to allow replication 2003-09-20 02:30:00 +00:00
Magnus Manske
2afd409ebb upload add-on 2003-09-17 13:48:08 +00:00
Tim Starling
3d042077f8 enhanced wfMsg: minor improvements 2003-08-30 07:12:38 +00:00
Brion Vibber
578e1dbf26 Update cache validation timestamp on uploads / re-uploads 2003-08-30 06:21:34 +00:00
Brion Vibber
9dfa7d1895 Disable debug comments if debug comments are disabled 2003-07-10 04:54:22 +00:00
Brion Vibber
d7f6cb4ff1 Enhances special page links; allow some parameters to be passed via wikilinks to special pages to make it easier to cite things like backlinks, contribs, options for recentchanges, etc 2003-07-02 06:22:03 +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
Brion Vibber
317bf19b8b fix typo 2003-06-23 07:53:08 +00:00
Brion Vibber
7303e8e667 Add wfFullUrl()/wfFullUrlE() function to explicitly include the http://foo.bar/ to use in links we give out to the world 2003-06-23 07:01:42 +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
Brion Vibber
efca89ebbe Refactor some common code for offsets/limits; some preliminary stuff for upload license notes and mysql4 fulltext support (not ready yet) 2003-06-03 08:44:50 +00:00
Brion Vibber
764331c963 Experimental optional compression support for page cache 2003-05-20 09:30:40 +00:00
T.D. Corell
2f3f8433fb New function ShowingResultsNum for use in SearchEngine. 2003-05-20 06:15:20 +00:00
Brion Vibber
92ea39aa9f Local URLs return real local URLs 2003-05-15 20:44:55 +00:00
Lee Daniel Crocker
d82c14fb4f Initial revision 2003-04-14 23:10:40 +00:00