Commit graph

138 commits

Author SHA1 Message Date
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
Brion Vibber
86b6cdaa28 * Copy fix for old search URLs with Lucene search plugin from REL1_4 2005-06-30 08:26:03 +00:00
Tim Starling
225a20c35a Unconditional inclusion for SpecialPage.php, needed for {{special:whatever}}. Fixed getRedirect() to work with this inclusion order. 2005-05-28 11:49:40 +00:00
Tim Starling
ce5b29ff09 fixed silly switch() use, much better handled with if..elseif..else 2005-05-28 06:52:55 +00:00
Ævar Arnfjörð Bjarmason
84f1376565 * Changed the handling of the action GET variable from being lower cased and
trimmed to only being rtrim()'ed.
2005-05-23 22:10:10 +00:00
Zheng Zhu
61a5c3b87d Fix my last broken fix (that caused bug 1899) 2005-04-21 03:22:40 +00:00
Ævar Arnfjörð Bjarmason
76bb2dbc40 * Some clown with CVS access deleted our MS Word files and replaced them with
textfiles, changing all references to them.
2005-04-12 02:07:16 +00:00
Zheng Zhu
d0ac77eaec Try to find variant article when an incomming request leads to a non-existent article. 2005-04-08 18:03:51 +00:00
Ævar Arnfjörð Bjarmason
8971a434dd * brion forgot to change this when he moved around the logos 2005-04-06 22:39:52 +00:00