Commit graph

146 commits

Author SHA1 Message Date
Tim Starling
916997d6f6 maxlag hidden parameter. Allows client-side bots to throttle under slave lag conditions, just like server-side maintenance scripts. 2007-04-22 21:17:10 +00:00
Brion Vibber
1ed58139f6 * (bug 9256) Add a quick note to index.php header comments
References documentation and main site, explains that web server is misconfigured if you're reading it, and lists copyright/license info.
2007-03-12 15:57:17 +00:00
Brion Vibber
0b06a4fffc Revert r19529 ('ajax editors list'); per chat w/ hashar I recommend working on this as an extension for now. It seems pretty modular, and should be an ideal candidate for that. 2007-01-21 03:14:06 +00:00
Antoine Musso
ed8e8e5833 Optional feature : 'Ajax show editors' based on an idea by Tim Starling
Merge from hashar's branch.
2007-01-20 21:05:36 +00:00
Antoine Musso
f7dfe35d1e Load the ajax stuff once we have a title or we will not be able to parse
wikitext. The parser requires a $wgTitle object or it throws an exception.
2007-01-09 21:00:14 +00:00
Tim Starling
c822e80e8f Exit from AJAX requests properly. Calling exit after doing something is really bad. 2006-08-24 17:01:45 +00:00
Daniel Kinzler
acd1c91af1 fixed include path of AjaxDispatcher.php in index.php 2006-07-26 23:35:49 +00:00
Tim Starling
3ea576aa25 Consolidated web initialisation code into includes/WebStart.php. Moved profiling setup to a hook file "StartProfiler.php", following Brion's suggestion to merge Wikimedia's early profiling patch into subversion. Renamed Profiling.php and logProfilingData(), removed unnecessary wfProfileClose() calls. 2006-07-14 05:35:31 +00:00
Domas Mituzas
9aa7ac0d2c microtime(true) instead of slow php4 hacks 2006-05-28 21:25:03 +00:00
Jens Frank
cf256a36bf Fix wrong path 2006-03-27 20:15:24 +00:00
Jens Frank
97666d062d OOP'ed Ajax functions, embedded in index.php for better compatibility with wikipedia.org setup 2006-03-27 18:53:15 +00:00
Antoine Musso
0cb608f2da * additional comments
* line wrap at 80 columns
2006-01-15 23:12:27 +00:00
Antoine Musso
313c45d5ae funny quotes 2006-01-15 23:07:19 +00:00
Brion Vibber
59b62d1eb7 revert to Wiki.php 1.28 and index.php 1.130
this broke wikipedia. please DO NOT COMMIT BROKEN CODE ON HEAD EVER AGAIN
2006-01-13 17:33:37 +00:00
Magnus Manske
b71834bdec index.php now fits on a single screen :-) 2006-01-13 12:52:04 +00:00
Magnus Manske
3ccace42c0 Further cleanup of index.php 2006-01-13 12:10:59 +00:00
Magnus Manske
ae035e1d27 Moving more stuff to Wiki.php 2006-01-11 19:33:15 +00:00
Magnus Manske
dcae8b53ae Most of index.php now in Wiki.php 2006-01-11 15:46:01 +00:00
Magnus Manske
a0302856fc Consolidation of mediaWIki calls into Wiki.php 2006-01-11 14:42:32 +00:00
Magnus Manske
f53d6be786 Page creation now mostly moved from index.php to Wiki.php 2006-01-11 14:01:40 +00:00
Magnus Manske
7d9d598ef8 moved more stuff 2006-01-11 13:28:23 +00:00
Magnus Manske
62265d4b1a fix 2006-01-11 13:04:43 +00:00
Magnus Manske
c3a994a639 Moving more stuff 2006-01-11 12:56:13 +00:00
Magnus Manske
da73d9192f Slowly moving more stuff from index.php to Wiki.php 2006-01-11 12:25:41 +00:00
Magnus Manske
38f0c4969d mini-fix 2006-01-10 21:49:56 +00:00
Magnus Manske
c8c91d0c23 Brion-style conformity :-) 2006-01-10 21:45:56 +00:00
Magnus Manske
8137979dd3 moving some more stuff from index.php to Wiki.php 2006-01-10 21:20:03 +00:00
Magnus Manske
a2ddb0c688 Moving image and category detection 2006-01-10 18:41:23 +00:00
Magnus Manske
579bcc8c16 Second attempt at (partially) moving to Wiki.php; tested this time, worksForMe 2006-01-10 17:34:04 +00:00
Magnus Manske
006c0ae27b Catching: getrusage() does not exist on Windows platforms 2005-12-31 20:30:22 +00:00
Domas Mituzas
70c5b8cf42 close profiling on script exits instead of page flushing 2005-12-30 23:14:34 +00:00
Tim Starling
81217f55a0 * Added templatelinks table. The table currently represents a literal list of templates included from each article. That is, the table contains pages which were actually loaded during parsing, not the markup which went into resolving their names.
* Ended the role of $wgLinkCache in link updates. Instead, links (and related entities) are registered in the ParserOutput object during a parse. The LinksUpdate constructor now takes a ParserOutput object as a parameter. $wgLinkCache is still used, but only as a cache of article IDs.
* Because the link list is now saved and restored in the parser cache, meta tag keywords now work on parser cache hits. Some refactoring took place in this area.
* Rendering of the HTML for category links has moved from Parser to OutputPage.
* Did some general pottering around in Article.php, such as allowing an Article object to be created with a specified revision ID, thereby optionally removing the dependence on $wgRequest. Not used at the current time.
* A few documentation tweaks.
2005-12-30 09:33:11 +00:00
Brion Vibber
93ae7a9b80 Revert to working version 2005-12-29 20:46:25 +00:00
Magnus Manske
d9efc105b9 finishing moving of code from inex.php to includes/Wiki.php 2005-12-29 10:50:06 +00:00
Magnus Manske
2b1dfa10a9 moving stuff from index.php to includes/Wiki.php 2005-12-29 10:21:20 +00:00
Ævar Arnfjörð Bjarmason
1c0b4ab96d * Whitespace 2005-11-25 06:31:22 +00:00
Brion Vibber
ee402472ac * Recognize Special:Search consistently so read whitelist works 2005-11-16 21:31:41 +00:00
Tim Starling
06e5561545 Require POST method for action=purge, to prevent bots from hitting it 2005-11-07 04:14:15 +00:00
Tim Starling
239ba39261 workaround for any current or future exploit of the $GLOBALS overwrite vulnerability 2005-10-31 21:14:07 +00:00
Brion Vibber
e638ea4295 Reverting fix for 2585; some users report seeing error displays of some
kind with some versions of MSIE (unable to reproduce here).
2005-10-24 02:41:54 +00:00
Brion Vibber
219094eb01 Committing various live hacks from Wikimedia servers 2005-10-22 20:52:30 +00:00
Tom Gilder
2afff59a8b (bug 2585) Return proper 404 code when pages don't exist 2005-10-12 03:12:40 +00:00
Tom Gilder
1380971d5d Nicer default page (complete with sharks with frigg'n lasers on their heads) 2005-10-06 13:07:01 +00:00
Tim Starling
534cd02a0b fixed redirects from one namespace to another 2005-08-20 11:42:19 +00:00
Antoine Musso
062dc6198e No check needed when viewing old versions 2005-08-12 13:18:57 +00:00
Antoine Musso
7b007ab37c Fix #710: redirect to category pages got an empty category list.
TODO: redirect to image pages doesn't show the image.
2005-08-11 05:28:48 +00:00
River Tarnell
7b810c22ef let sysop delete trackbacks 2005-07-23 06:30:26 +00:00
Ævar Arnfjörð Bjarmason
38df72df60 * There's no more need for this here than anywhere else.. 2005-07-08 01:57:08 +00:00
River Tarnell
e4a87e105a implement "action=render" 2005-07-03 04:00:33 +00:00
Tim Starling
17b532e175 fixed hook call 2005-07-02 09:14:30 +00:00