Brion Vibber [Tue, 16 Mar 2004 06:18:37 +0000 (06:18 +0000)]
Still not complete, but import is approaching functionality
Antoine Musso [Tue, 16 Mar 2004 03:58:36 +0000 (03:58 +0000)]
fix source forge bug 787780
Allow = sign in headers. Ex: = my text = crap = will render as <h1>my text = crap</h1>
Antoine Musso [Tue, 16 Mar 2004 02:27:42 +0000 (02:27 +0000)]
removing a debugging line (echo $variable)... I feel so lame :(
Antoine Musso [Tue, 16 Mar 2004 02:17:33 +0000 (02:17 +0000)]
Fix sourceforge bug 872981
Render [[[link]]] as [<a href...>link</a>]
Render [[[link|text]]] as [<a href...>text</a>]
UNTESTED with $wgLang->linkPrefixExtension() true
Antoine Musso [Mon, 15 Mar 2004 14:53:54 +0000 (14:53 +0000)]
Implement sourceforge feature request 903491
Show a backlink to the article.
Tim Starling [Mon, 15 Mar 2004 12:15:52 +0000 (12:15 +0000)]
moved to the irc directory
Erik Moeller [Mon, 15 Mar 2004 02:36:40 +0000 (02:36 +0000)]
Change behavior of toolbar in browsers not supporting document.selection:
- When the mouse is moved over the buttons the infobox shows an example text
- When the user *clicks* a button, he is prompted to enter text, which is
then formatted according to the button they chose and inserted into the
infobox
- After the first button has been clicked, the infobox no longer changes
on mouse move to allow for copy and pasting.
This could be modified to add an additional [+] button that pastes the
content of the the infobox into the textarea, but I've tried this and found
it confusing.
Mr. E23 [Sun, 14 Mar 2004 22:28:52 +0000 (22:28 +0000)]
Fixed problems with section editing and merging
Mr. E23 [Sun, 14 Mar 2004 21:34:03 +0000 (21:34 +0000)]
Fixed problem with merging of identical changes
Jens Frank [Sun, 14 Mar 2004 21:29:30 +0000 (21:29 +0000)]
fixed language linking bug left from elimination of globals
Mr. E23 [Sun, 14 Mar 2004 15:05:52 +0000 (15:05 +0000)]
Experimental merging of edit conflicts
Mr. E23 [Sun, 14 Mar 2004 13:42:16 +0000 (13:42 +0000)]
Fixed broken edit conflict page
Tim Starling [Sun, 14 Mar 2004 09:34:28 +0000 (09:34 +0000)]
better script
Brion Vibber [Sun, 14 Mar 2004 06:40:00 +0000 (06:40 +0000)]
Revert last change, which did not produce working URLs when given titles to search on.
Antoine Musso [Sun, 14 Mar 2004 06:06:42 +0000 (06:06 +0000)]
Fix sourceforge bug 856707
Fix the imdb url although there is a redirect.
Antoine Musso [Sun, 14 Mar 2004 05:28:46 +0000 (05:28 +0000)]
Fix sourceforge bug 855544
Disallow the creation of articles with titles wich are bigger than the size of cur_title in the database. Please review this code, it is working but I am not sure if it is safe :)
Antoine Musso [Sun, 14 Mar 2004 03:02:42 +0000 (03:02 +0000)]
Fix sourceforge bug 600079
Allow to move a talk page if an article is moved across different namespace (unless the new namespace is itself a talk page)
Tim Starling [Sun, 14 Mar 2004 02:02:59 +0000 (02:02 +0000)]
bug fix: invalid ranges didn't halt processing
Antoine Musso [Sun, 14 Mar 2004 01:44:17 +0000 (01:44 +0000)]
Lighter version using a sub function to avoid repetiting code. Will ease futur status integration as well.
Mr. E23 [Sun, 14 Mar 2004 00:55:43 +0000 (00:55 +0000)]
Standardizing linebreaks
Antoine Musso [Sun, 14 Mar 2004 00:55:42 +0000 (00:55 +0000)]
fix occurence of "/wiki" instead of $wgScriptPath
Fix sourceforge bug #911754.
fix occurence of "wikipedia" instead of $wgMetaNameSpace
Fix sourceforge bug #883893
Erik Moeller [Sun, 14 Mar 2004 00:34:36 +0000 (00:34 +0000)]
make gnunote work without mod_rewrite
Antoine Musso [Sun, 14 Mar 2004 00:32:43 +0000 (00:32 +0000)]
fix occurence of "/wiki" instead of $wgScriptPath
Fix sourceforge bug #911754.
Antoine Musso [Sun, 14 Mar 2004 00:27:27 +0000 (00:27 +0000)]
fix occurence of "/wiki" instead of $wgScriptPath
Gabriel Wicke [Sat, 13 Mar 2004 16:09:00 +0000 (16:09 +0000)]
added manual purge action
Gabriel Wicke [Sat, 13 Mar 2004 13:43:22 +0000 (13:43 +0000)]
calls to setSquidMaxage for cacheable pages
Gabriel Wicke [Sat, 13 Mar 2004 13:42:17 +0000 (13:42 +0000)]
made setSquidMaxage an accessor, default mSquidMaxage = 0
Brion Vibber [Sat, 13 Mar 2004 11:28:05 +0000 (11:28 +0000)]
Detect port the server is running on; needed for redirects and other full URLs
Brion Vibber [Sat, 13 Mar 2004 09:25:09 +0000 (09:25 +0000)]
Minor enhanced recentchanges fix for Safari; put <a>s inside the two <span>s to prevent a rogue underline from being displayed under the arrow icons
Brion Vibber [Sat, 13 Mar 2004 09:18:39 +0000 (09:18 +0000)]
Disable underlined links in default settings for Arabic; it harms readibility significantly
Brion Vibber [Sat, 13 Mar 2004 08:53:16 +0000 (08:53 +0000)]
Remove the forced left-align in enhanced recentchanges; this screws up display for RTL languages. Added left-pointing Arr_l.png arrow for use in same.
Brion Vibber [Sat, 13 Mar 2004 08:11:08 +0000 (08:11 +0000)]
Fix caption alignment for RTL langs
Brion Vibber [Sat, 13 Mar 2004 06:29:39 +0000 (06:29 +0000)]
Make sure output buffering is off for install scripts
Tim Starling [Sat, 13 Mar 2004 02:20:35 +0000 (02:20 +0000)]
bug fix in proxy check
Tim Starling [Fri, 12 Mar 2004 05:56:25 +0000 (05:56 +0000)]
Allowing user ids to be specified e.g. "#1234@en", to work around any encoding problems
Brion Vibber [Thu, 11 Mar 2004 09:06:13 +0000 (09:06 +0000)]
Some changes to the link tables. They now all use a key on cur_id for the *_from column instead of strings, and have a unique index to force prevent any duplicate entries. There's not yet a clean step in the update script, so just clear out your links tables (patch-linktables.sql) and rebuild them with refreshLinks.php.
This saves trouble in a number of places where we can now do joins with the link tables to get other info (such as cur_is_redirect!) as well as the name, and fewer bits need to be juggled on page renaming, as outgoing links no longer have to be changed (cur_id remains the same when a page is renamed).
rebuildLinks.inc and some of the tools in the 'maintenance page' still need to be updated to work with the new setup. (Special:Maintenance needs a *lot* of cleanup in general. It's kind of a catch-all of vaguely defined features which suck performance like a hydroelectric dam.)
Also I've slipped in some extra debug code. And, I think 'indexes.sql' is a big waste of time and should all be moved into tables.sql. Building indexes separately doesn't help on InnoDB and won't do anything on MyISAM either if you're just going to replace the table after it's built with an imported one from a dump which creates it with indexes.
Evan Prodromou [Thu, 11 Mar 2004 05:59:03 +0000 (05:59 +0000)]
Removed duplicate stub style declarations.
Mr. E23 [Wed, 10 Mar 2004 23:43:54 +0000 (23:43 +0000)]
Made linkscc title column case sensitive
Brion Vibber [Wed, 10 Mar 2004 16:08:16 +0000 (16:08 +0000)]
Add incomplete Special:Import to repository; will complete it when have a chance
Tim Starling [Wed, 10 Mar 2004 14:37:06 +0000 (14:37 +0000)]
proxy check
Tim Starling [Wed, 10 Mar 2004 14:24:40 +0000 (14:24 +0000)]
proxy check
Brion Vibber [Wed, 10 Mar 2004 05:21:58 +0000 (05:21 +0000)]
Save password cookie fixes
Mr. E23 [Wed, 10 Mar 2004 01:37:16 +0000 (01:37 +0000)]
Fixed 'call on non-object' error on Special:Contributions
Brion Vibber [Wed, 10 Mar 2004 00:56:23 +0000 (00:56 +0000)]
Set up Smarty skins to be usable if $wgUseSmarty is set
Gabriel Wicke [Tue, 9 Mar 2004 14:00:37 +0000 (14:00 +0000)]
purge first url only once
Gabriel Wicke [Tue, 9 Mar 2004 12:55:54 +0000 (12:55 +0000)]
history purging
Gabriel Wicke [Tue, 9 Mar 2004 12:07:35 +0000 (12:07 +0000)]
bug fixes and indentation in purge function
Gabriel Wicke [Mon, 8 Mar 2004 18:44:20 +0000 (18:44 +0000)]
support for second-tier squids in the ip parsing function
Brion Vibber [Mon, 8 Mar 2004 10:17:24 +0000 (10:17 +0000)]
Make login work again; some var init fixes
Brion Vibber [Mon, 8 Mar 2004 09:51:11 +0000 (09:51 +0000)]
Consolidate with Title::getInternalURL() a bit
Tim Starling [Mon, 8 Mar 2004 09:43:36 +0000 (09:43 +0000)]
code formatting
Tim Starling [Mon, 8 Mar 2004 09:42:00 +0000 (09:42 +0000)]
fixed a couple of minor bugs
Tim Starling [Mon, 8 Mar 2004 09:39:01 +0000 (09:39 +0000)]
use the one central list of talk namespaces, don't make your own every time you need one
Tim Starling [Mon, 8 Mar 2004 09:37:53 +0000 (09:37 +0000)]
freeing a result object
Tim Starling [Mon, 8 Mar 2004 09:33:23 +0000 (09:33 +0000)]
ability to dump messages to a file, not quite sure what to use it for yet
Tim Starling [Mon, 8 Mar 2004 09:30:24 +0000 (09:30 +0000)]
overwriting of old default messages; ability to dump messages to a file
Tim Starling [Mon, 8 Mar 2004 09:29:14 +0000 (09:29 +0000)]
disabling database messages during install
Tim Starling [Mon, 8 Mar 2004 09:26:23 +0000 (09:26 +0000)]
bug fix, mContainsOldMagic goes in mOutput now
Brion Vibber [Mon, 8 Mar 2004 09:09:35 +0000 (09:09 +0000)]
More globals and uninitialized variables fixes. Added WebRequest ($wgRequest)
object to encapsulate the handling of get/post variables:
The following grab something out of $_REQUEST. The first parameter is the
variable name and is required. The second is an optional default value:
$wgRequest->getVal() - any type, returns NULL if no default given
$wgRequest->getInt() - forced integer, 0 default
$wgRequest->getText() - runs through $wgLang->recodeInput()
$wgRequest->getBool() - return true/false
$wgRequest->getCheck() - returns true if the var is set, even if to ""
$wgRequest strips slashes at initialization if necessary.
Also in this fine object:
$wgRequest->wasPosted() - returns false if this wasn't a real form post,
so we can protect against faked submissions in get urls.
There's still plenty of work to do, not everything uses the new functions
yet. To test the strict mode, do define('DEBUG_GLOBALS', 1);
Brion Vibber [Mon, 8 Mar 2004 02:50:04 +0000 (02:50 +0000)]
More unitialized variable cleanup && 'pure' register_globals cleanup...
Added wfDebugDieBacktrace() function to help in pinpointing problems by
showing a function call backtrace along with a friendly die message.
Brion Vibber [Mon, 8 Mar 2004 02:46:27 +0000 (02:46 +0000)]
Fixed what seems to be an off-by-one error (it tried to access one past the end of the array quite consistently). Someone who understands this code, please check.
Brion Vibber [Mon, 8 Mar 2004 01:51:32 +0000 (01:51 +0000)]
Imported the register_globals hack from REL1_2. Also starting work on
elimination of the use of import_request_variables (which gives us all
the insecurity of register_globals). Uncomment the define of DEBUG_GLOBALS
in index.php to turn on extra error reporting and trace down use of
uninitialized variables and nassssty globals.
Also rearranged the magic_quotes fixing, may not yet cover everything...
Jens Frank [Sun, 7 Mar 2004 19:40:58 +0000 (19:40 +0000)]
Create an error warning for thumbnails of non-existing images
Mr. E23 [Sun, 7 Mar 2004 17:27:00 +0000 (17:27 +0000)]
Fixed parse error
Brion Vibber [Sun, 7 Mar 2004 07:26:56 +0000 (07:26 +0000)]
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.
Brion Vibber [Sun, 7 Mar 2004 01:31:08 +0000 (01:31 +0000)]
Avoid failing on pre-4.3.2 due to lack of 'x' create-only option on fopen
Brion Vibber [Sun, 7 Mar 2004 01:07:08 +0000 (01:07 +0000)]
Try blank root password if user fails... fix (unused) math paths, use the libgd check to disable/enable thumbnails (but upload is still off)
Brion Vibber [Sun, 7 Mar 2004 00:43:42 +0000 (00:43 +0000)]
Copy the arrow files on install/update
Brion Vibber [Sun, 7 Mar 2004 00:35:48 +0000 (00:35 +0000)]
GIMP source image for the arrows
Brion Vibber [Sun, 7 Mar 2004 00:33:43 +0000 (00:33 +0000)]
Add long-missing arrow images for enhanced recentchanges. These Arr_r.png and Arr_d.png are by Brion Vibber, made quickly in the gimp.
Brion Vibber [Sat, 6 Mar 2004 23:01:53 +0000 (23:01 +0000)]
Put site name first in feed title
Jens Frank [Sat, 6 Mar 2004 21:51:58 +0000 (21:51 +0000)]
ISBN links disabled insides of [[link]]s, too, upon brions request
Jens Frank [Sat, 6 Mar 2004 21:45:05 +0000 (21:45 +0000)]
disable RFC autolinking inside of [[links]]
Brion Vibber [Sat, 6 Mar 2004 21:35:07 +0000 (21:35 +0000)]
Use PATH_INFO for prettier default URLs: index.php/Foo instead of index.php?title=Foo
Jens Frank [Sat, 6 Mar 2004 21:30:42 +0000 (21:30 +0000)]
Added RFC link magic, similar to ISBN magic
Jens Frank [Sat, 6 Mar 2004 20:04:25 +0000 (20:04 +0000)]
Moved ISBN magic to new parser
Brion Vibber [Sat, 6 Mar 2004 09:34:05 +0000 (09:34 +0000)]
Fix timestamp error in redirects (fails in particularly ugly fashion on Windows server)
Brion Vibber [Sat, 6 Mar 2004 09:04:25 +0000 (09:04 +0000)]
Moved database update functions into maintenance/updater.inc, to be used
by both update.php and config/index.php. Check path separator to get the
include path right in Windows for the in-place LocalSettings.php.
Brion Vibber [Sat, 6 Mar 2004 03:17:43 +0000 (03:17 +0000)]
In case of mysterious write failure, spit out the config file for manual paste. Haven't yet determined the exact failure condition, but a user is reporting this. (The is_writable() should catch it up above.)
Brion Vibber [Sat, 6 Mar 2004 03:03:14 +0000 (03:03 +0000)]
Add digit transformation function Language::formatNum() for Arabic and other
languages which need to use localized (decimal) digits. Sample implementation
for Arabic.
Tim Starling [Sat, 6 Mar 2004 02:13:59 +0000 (02:13 +0000)]
Oops, left debug output in
Tim Starling [Sat, 6 Mar 2004 01:55:08 +0000 (01:55 +0000)]
* using new Title::getURL()
Tim Starling [Sat, 6 Mar 2004 01:49:16 +0000 (01:49 +0000)]
* 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
Mr. E23 [Fri, 5 Mar 2004 21:44:38 +0000 (21:44 +0000)]
Added language string 'talkpagetext' before talk page edit box
Mr. E23 [Fri, 5 Mar 2004 21:24:14 +0000 (21:24 +0000)]
Fixed bug causing early execution errors to occasionally be masked
Nicholas Pisarro, Jr [Fri, 5 Mar 2004 13:19:19 +0000 (13:19 +0000)]
Implemented '$wgWhitelistRead'.
$wgWhitelistRead is now defined to be an optional array
of namespace:pages a user may see unless they login.
For example:
$wgWhitelistRead = array ( ":Main_Page", "Special:Userlogin", "Wikipedia:Help" );
will restrict an anonymous user to only those pages. They are
alerted that they must login, if the try to go to another page.
If 'false', the default, the anonymous user may see all pages,
except Sysop pages, of course.
Brion Vibber [Fri, 5 Mar 2004 11:33:03 +0000 (11:33 +0000)]
recent.phtml is obsoleted by Feed.php/QueryPage.php
Brion Vibber [Fri, 5 Mar 2004 11:21:43 +0000 (11:21 +0000)]
Tweaking RSS; add dates, etc.
Brion Vibber [Fri, 5 Mar 2004 10:16:46 +0000 (10:16 +0000)]
New RSS feed should be easier to integrate with any QueryPage. Sample for Newpages.
Brion Vibber [Fri, 5 Mar 2004 03:34:35 +0000 (03:34 +0000)]
Update LocalSettings.php and LanguageUtf8.php on command-line update
Brion Vibber [Fri, 5 Mar 2004 03:18:31 +0000 (03:18 +0000)]
Add $wgDebugRedirects to assist in debugging some problems hidden by
automated http redirects.
Brion Vibber [Fri, 5 Mar 2004 02:40:40 +0000 (02:40 +0000)]
Install magnify-clip.png.
Brion Vibber [Thu, 4 Mar 2004 08:26:17 +0000 (08:26 +0000)]
Fix for #883774 inverse_timestamp not updated when overwriting an old redirect on move.
Brion Vibber [Wed, 3 Mar 2004 08:45:40 +0000 (08:45 +0000)]
Mark some old scripts as obsolete; this keeps them from being accidentally run via web, among other things
Brion Vibber [Wed, 3 Mar 2004 07:46:21 +0000 (07:46 +0000)]
Initialize log pages; bow out quick if dir not writable.
Installation now seems to be pretty much functional!
Brion Vibber [Wed, 3 Mar 2004 07:20:34 +0000 (07:20 +0000)]
Initialize messages.
Brion Vibber [Wed, 3 Mar 2004 06:54:03 +0000 (06:54 +0000)]
Create sysop account on new wiki creation.
Jens Frank [Tue, 2 Mar 2004 20:23:56 +0000 (20:23 +0000)]
Added hook to tokenizer and to parser for language specific
processing.
Using this hook, added a conversion of spaces to non-breaking
spaces for the French wikipedia.
Switched ----- -> <hr> processing to tokenizer.
Nicholas Pisarro, Jr [Tue, 2 Mar 2004 11:01:10 +0000 (11:01 +0000)]
Added a message needed by revised "SpecialEmailuser.php".
Brion Vibber [Tue, 2 Mar 2004 09:26:57 +0000 (09:26 +0000)]
Add database creation to in-place installer, plus a couple fixlets.
Installer is now able to connect to the db, check its version (and
enable some MySQL 4 features if available), create the database
if need be, create the empty tables, and grant user privs if given
the root pass. This creates a usable empty wiki.
TODO:
* Populate main page and stub log pages
* Create sysop account
* Populate MediaWiki namespace for selected language
* Better error checking
* Option for InnoDB tables?
* Other useful options like uploads and TeX (shudder)
* Support scripts still need to be checked for security.
Also fixed a minor bug in Database::tableExists which ran into infinite
loops if no tables were present, and made Database::selectDB modify
the right member variable.
To get around some problems induced by the new parser stuff, User
won't loadFromDatabase() if we're in CommandLineMode, since it ends
up trying to do so before we've set up the database and fails.