Commit graph

95 commits

Author SHA1 Message Date
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
Ævar Arnfjörð Bjarmason
3a12ea9031 * Documented 2005-04-06 17:55:18 +00:00
Ævar Arnfjörð Bjarmason
4cd21e13d6 formatting 2005-03-31 12:07:33 +00:00
Magnus Manske
e76fa905e3 Fixed installation bug 2005-03-31 08:13:37 +00:00
Magnus Manske
8c2a0fbb00 Partial fix for installation bug 2005-03-31 08:02:09 +00:00
Ævar Arnfjörð Bjarmason
5b5b800e70 <? => <?php 2005-03-31 02:27:31 +00:00
Ævar Arnfjörð Bjarmason
ea20bbcbf9 Display something nicer looking when the wiki hasn't been configured. 2005-03-31 02:22:03 +00:00
Tim Starling
96d2e151d9 Ability to disable actions from LocalSettings.php 2005-03-28 08:55:35 +00:00
Brion Vibber
6f5560867c Start removing the Latin-1 hacks. We're going pure UTF-8 for 1.5... 2005-03-26 22:23:48 +00:00
Erik Moeller
1b562068b6 Preliminary support for application/external-editor
allows editing wiki pages or files with an external application, by using
an intermediate helper application (such as the reference one in
extensions/ee) which fetches the data and transmits the changes back to the
server.

This version adds external editor support for uploaded files, as well as for
pages. More operations, such as diffs and merges, should support
application/external-editor in the future.

See extensions/ee/README for some more info on the concept. Documentation
will also be placed on http://meta.wikimedia.org/wiki/Help:External_editors
2005-03-24 13:30:09 +00:00
Magnus Manske
2195bf8355 Re-establishing validation feature (the beginnings) 2005-03-17 13:47:05 +00:00
Brion Vibber
a4adffd49f Mark interwiki redirect URLs with a source parameter to stop them from further redirecting, and if on a whitelist display the return URL for handy edit-linking. 2005-03-15 03:32:30 +00:00
Brion Vibber
666d4d5135 Merge changes from 1.4:
* Squid purged defered to outside the db transaction
* Partial redirect goodies
* Compression threadhold on memcached
* setproctitle
* Some other tweaks
2005-03-09 02:02:04 +00:00
Brion Vibber
eb151b0572 * (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis 2005-02-27 09:58:49 +00:00
Brion Vibber
0e6c27ae83 eat a couple more namespace cruft bits 2005-02-21 12:29:31 +00:00
Brion Vibber
15bca69d8b Remove Special:Asksql; moving it out to an extension. 2005-02-18 12:22:28 +00:00
Brion Vibber
9636a88e1c Clean up experiments for special:data, special:validate, special:geo.
Moving these things to extensions if they are needed in the future.
2005-02-18 11:47:36 +00:00
Tom Gilder
a2adad8928 Double to single quotes 2005-01-19 22:30:20 +00:00
Tom Gilder
1c0f56295c Only start new session for anon users on submit, not edit 2005-01-18 11:51:25 +00:00
Jens Frank
95a7cab693 Cache the redirect from index.php to the start page (default: Main_Page) 2005-01-10 21:04:20 +00:00
River Tarnell
b88747bf3d $wgDisableInternalSearch 2004-12-21 09:28:57 +00:00
Brion Vibber
1753353797 Revert unauthorized changes made without discussion of outstanding objections.
Please rework this as an extension.
2004-12-10 05:02:23 +00:00
Nicholas Pisarro, Jr
28de6d99d2 New feature: You can edit summaries and change the Minor Edit flag.
* Documented at http://meta.wikimedia.org/wiki/Feature_to_edit_summaries
2004-12-10 04:49:27 +00:00
Brion Vibber
9a2a36ce5e * Defer message cache initialization, shaving a few ms off file cache hits 2004-12-09 05:51:20 +00:00
Evan Prodromou
bd8995d35e Added "unknown action" event, so that extensions can define new
actions and handle them. Documented in hooks.doc, but not really
appropriate for the Syslog extension, so ignored.
2004-11-28 07:06:25 +00:00
Antoine Musso
28ea816fba Implementing user levels management. This is only a very basic interface and several things need to be done! A tracking bug is at http://bugzilla.wikipedia.org/show_bug.cgi?id=767 2004-10-24 19:14:48 +00:00
Brion Vibber
8ffff3e2e0 Reorganization of SearchEngine for legibility
* Removed 'fuzzy title search', it's not been maintained and generally produces unexpected and unwanted results
* Separated search guts (in SearchEngine) from display/control (in SpecialSearch)
* Extracted MySQL3 and MySQL4 variants to subclasses
* Added PHPUnit tests for MySQL3 and MySQL4 search engines, which try to use temporary tables to fiddle in (if configured)
* comments n stuff
2004-10-20 09:56:34 +00:00
Brion Vibber
53856406a6 Clean up a few scriptlets 2004-10-14 02:13:12 +00:00
Brion Vibber
bf8a62bb96 Fix for running with no include_path set 2004-10-02 20:15:26 +00:00
Tim Starling
91cf173f4a More informative error message for when the user forgot to move LocalSettings.php. Moved recently-added setup code from index.php to Setup.php where it's meant to be. index.php isn't the only entry point! 2004-09-26 10:41:48 +00:00
Magnus Manske
c97f3bbdeb Wiki database system 2004-09-24 14:49:22 +00:00
Zheng Zhu
ca7619c81c made some more wfMsg() to wfMsgForContent changes 2004-09-22 04:09:31 +00:00
Brion Vibber
b59b2ef01a Quick fix for canonical redirects when the URL is case-converted.
Since this is now done in WebRequest, $title is already converted so
check $_GET directly.

The canonical redirect still does not handle the case of an
index.php?title=Foo URL where $wgArticlePath is set for pretty
URLs.
2004-09-06 03:17:21 +00:00
Brion Vibber
2406b511a6 Start cracking down on illegal titles: in UTF-8 mode reject titles which have had the 'replacement character' inserted, representing illegal UTF-8 sequences or non-legal Unicode characters.
Moved the PATH_INFO check from index.php into WebRequest; it now just shoves the param into $_REQUEST['title'].
2004-09-03 06:12:57 +00:00
Brion Vibber
81e0b9d3c0 One more unicode normalization fix: don't die horribly on arrays, and get the PATH_INFO title too. 2004-09-02 08:01:13 +00:00
Brion Vibber
67e6306a0e Avoid numeric and boolean interpretation of "0" in self-link check and Go searching.
Fix for bug 174: 0 as an article name behaves strangely (numerical comparison in article-ids).
http://bugzilla.wikipedia.org/show_bug.cgi?id=174
2004-08-31 02:26:55 +00:00
Brion Vibber
82571fa72d Add back the slower version of Title::makeTitle as Title::makeTitleSafe()
and use it in a few places where user names, images, or messages are being
used to create titles.
2004-08-22 23:55:36 +00:00
Jens Frank
1eb2480014 Moved category stuff to CategoryPage, copying logic of ImagePage 2004-08-22 09:42:12 +00:00
Brion Vibber
c5410557fe Add some profiling points 2004-08-22 09:07:31 +00:00
Brion Vibber
dde3967d28 Don't include SearchEngine.php when it's not used. Saves about 180k of memory at runtime. 2004-08-21 09:51:01 +00:00
Arne Heizmann
74573405b1 # Please don't move this line to includes/Defines.php. This line essentially defines
# a valid entry point. If you put it in includes/Defines.php, then any script that includes
# it becomes an entry point, thereby defeating its purpose.
2004-08-14 20:33:01 +00:00
Antoine Musso
0737146cf0 Reverting my previous change. Comment 2004-08-14 12:20:39 +00:00
Antoine Musso
47c3eb7298 moving define(mediawiki, true) from index.php to includes/Defines.php 2004-08-14 12:10:43 +00:00
Brion Vibber
41c8b7bf72 Antiglobalization!
* Remove some unused and some useless functions from GlobalSettings.php
* wfEscapeHTML() replaced with PHP built-in htmlspecialchars().
* Moved some functions into Parser.php and Image.php
2004-08-13 15:55:59 +00:00