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.
Brion Vibber [Tue, 2 Mar 2004 02:22:44 +0000 (02:22 +0000)]
Force the wiki out of frameset thieves
Gabriel Wicke [Mon, 1 Mar 2004 22:28:33 +0000 (22:28 +0000)]
typo and minor tweak to permanent redirect
Gabriel Wicke [Mon, 1 Mar 2004 22:16:39 +0000 (22:16 +0000)]
allow caching for permanent redirects
Nicholas Pisarro, Jr [Mon, 1 Mar 2004 20:02:50 +0000 (20:02 +0000)]
Made the reference to the MediaWiki namespace symbolic in "SpecialAllmessages.php".
Fixed up messages that form the title and opening text of Special:Allmessages page.
Mr. E23 [Mon, 1 Mar 2004 16:22:35 +0000 (16:22 +0000)]
Reverted bugfix for centering thumbs in Opera: breaks float=right divs in IE. See example at sv.wikipedia.org/w/wiki.phtml?title=Wikipedia:Sandl%E5dan&oldid=101565
Magnus Manske [Mon, 1 Mar 2004 15:47:55 +0000 (15:47 +0000)]
fixing category feature, again
Nicholas Pisarro, Jr [Mon, 1 Mar 2004 13:40:58 +0000 (13:40 +0000)]
Created a new page, "SpecialAllmessages.php", which builds
the equivalent of "MediaWiki:All_message" at run time
instead of install time.
This page is currently shown on "Special:Specialpages" by
those with SysOp access.
The table has a background color. Entries where the current
text is different than the default text are show with a
different background color.
It might be possible to better optimize this table's
construction.
Brion Vibber [Mon, 1 Mar 2004 12:59:45 +0000 (12:59 +0000)]
Experimental in-place installer.
Doesn't yet do any database setup, but does produce a LocalSettings.php
that can successfully operate the wiki in the distribution directory
structure. Note that the maintenance scripts may not all be fully armored
against web access, and aren't set up to be run from the web by an actual
administrator either.
Brion Vibber [Mon, 1 Mar 2004 08:14:12 +0000 (08:14 +0000)]
Seems we forgot to copy the GPL text itself into the phase3 tree. Rectifying.
Brion Vibber [Mon, 1 Mar 2004 06:53:22 +0000 (06:53 +0000)]
Fix float left for Mac Mozilla/Netscape and Safari
Brion Vibber [Mon, 1 Mar 2004 05:51:55 +0000 (05:51 +0000)]
Clear message cache on rebuild
Brion Vibber [Mon, 1 Mar 2004 01:32:11 +0000 (01:32 +0000)]
Add escaping necessary to deal with tips and example text that contain apostrophes and such (needed for French etc)
Tim Starling [Mon, 1 Mar 2004 00:31:08 +0000 (00:31 +0000)]
Limited developer version of Special:Makesysop to a given list of databases
Brion Vibber [Mon, 1 Mar 2004 00:25:57 +0000 (00:25 +0000)]
Compatibility fixes for edit toolbar:
* Use infobox mode for Gecko. Inline direct editing is neat, but because of
a Mozilla bug that induces weird scrolling it's confusing and unusable.
When Mozilla fixes the bug and we can detect it, we'll enable it for
fixed versions only.
* Use 'new RegExp()' instead of '//' to avoid ugly JS parse errors when
viewing pages in Netscape 3. There are still runtime errors in NS3 at
edit time, but this lets people read in peace.
Gabriel Wicke [Sun, 29 Feb 2004 19:47:59 +0000 (19:47 +0000)]
missing addslashes broke edit toolbar on fr
Jens Frank [Sun, 29 Feb 2004 13:33:51 +0000 (13:33 +0000)]
extended tokenizer to handle prefixed links
Nicholas Pisarro, Jr [Sun, 29 Feb 2004 12:54:03 +0000 (12:54 +0000)]
Commented side effect of changing '$wgUseDatabaseMessages'.
Jens Frank [Sun, 29 Feb 2004 11:00:30 +0000 (11:00 +0000)]
renamed variables for better readability
Brion Vibber [Sun, 29 Feb 2004 10:42:38 +0000 (10:42 +0000)]
Initial import; Bengali (incomplete) from meta
Brion Vibber [Sun, 29 Feb 2004 10:10:32 +0000 (10:10 +0000)]
Stub Indonesian file; imports everything from Malay
Brion Vibber [Sun, 29 Feb 2004 09:43:52 +0000 (09:43 +0000)]
Clean up so it works
Brion Vibber [Sun, 29 Feb 2004 09:32:20 +0000 (09:32 +0000)]
Add welsh file, updated from meta
Tim Starling [Sun, 29 Feb 2004 09:17:17 +0000 (09:17 +0000)]
bug fix
Tim Starling [Sun, 29 Feb 2004 08:51:15 +0000 (08:51 +0000)]
Special developer powers in SpecialMakesysop, different defaults for anons and logged in users, plus some bits and pieces
Tim Starling [Sun, 29 Feb 2004 08:48:47 +0000 (08:48 +0000)]
marked a static function as such
Tim Starling [Sun, 29 Feb 2004 08:44:59 +0000 (08:44 +0000)]
wfRecordUpload() using RecentChange instead of direct DB, which fixes a minor bug
Tim Starling [Sun, 29 Feb 2004 08:43:29 +0000 (08:43 +0000)]
Parser improvements: global variable destruction
Brion Vibber [Sun, 29 Feb 2004 08:06:49 +0000 (08:06 +0000)]
Double-check at runtime that sitename is set. Paranoia is good... if we don't do this, manual installs that are sloppy may introduce subtle bugs.
Brion Vibber [Sun, 29 Feb 2004 07:24:47 +0000 (07:24 +0000)]
Go result was going straight to google fallback instead of the regular search if a match couldn't be found. This broke correct behavior when text search is enabled.
Jens Frank [Sat, 28 Feb 2004 23:38:08 +0000 (23:38 +0000)]
Added real parser/tokenizer.
Tokenizer is a new class that splits a text into tokens.
Parser calls the tokenizer to get one token by another and
handle them one by one.
Parser:doAllQuotes and Parser:replaceInternalLinks have been
replaced by the new parser.
Image thumbnailing now allows links in the captions.
Tim Starling [Sat, 28 Feb 2004 14:34:13 +0000 (14:34 +0000)]
Improved [[MediaWiki:All messages]] table
Tim Starling [Sat, 28 Feb 2004 09:26:16 +0000 (09:26 +0000)]
bug fix
Brion Vibber [Sat, 28 Feb 2004 08:31:44 +0000 (08:31 +0000)]
Turn database messages on by default. If it sucks too bad, we can change it for the release.
Brion Vibber [Sat, 28 Feb 2004 08:04:02 +0000 (08:04 +0000)]
Require sitename to be set at install or update time. It must not be MediaWiki in particular, as that would interfere with namespaces 4 and 8. The old default was Wikipedia, also not great for most people. :)
Brion Vibber [Sat, 28 Feb 2004 07:48:01 +0000 (07:48 +0000)]
Massive updates to sample settings file
Brion Vibber [Sat, 28 Feb 2004 07:32:10 +0000 (07:32 +0000)]
Farsi language file; initial add
Brion Vibber [Sat, 28 Feb 2004 07:28:49 +0000 (07:28 +0000)]
Update from wiki
Brion Vibber [Sat, 28 Feb 2004 07:23:04 +0000 (07:23 +0000)]
Expand Latin a bit. Main body translations are currently in mediawiki namespace on la.wikipedia.org, need tobe extracted
Brion Vibber [Sat, 28 Feb 2004 07:08:13 +0000 (07:08 +0000)]
Shorttags fix
Brion Vibber [Sat, 28 Feb 2004 06:35:00 +0000 (06:35 +0000)]
Switch nasty GIFs in toolbar for PNGs
Brion Vibber [Sat, 28 Feb 2004 06:02:06 +0000 (06:02 +0000)]
Swap nasty GIFs in toolbar for PNGs.
Tim Starling [Sat, 28 Feb 2004 05:55:13 +0000 (05:55 +0000)]
Comments and code formatting
Brion Vibber [Sat, 28 Feb 2004 05:43:43 +0000 (05:43 +0000)]
This has not been used ever; from an experimental demo skin in early phase 2
Erik Moeller [Sat, 28 Feb 2004 03:25:55 +0000 (03:25 +0000)]
site-independence
Erik Moeller [Sat, 28 Feb 2004 03:23:52 +0000 (03:23 +0000)]
oops, removing old version
Erik Moeller [Sat, 28 Feb 2004 03:04:02 +0000 (03:04 +0000)]
using index.php and redirect.php instead of wiki.phtml and redirect.phtml
keeping phtml stubs around for compatibility and CVS history
Mr. E23 [Sat, 28 Feb 2004 02:29:51 +0000 (02:29 +0000)]
Fix for linkPrefixExtension feature
Tim Starling [Sat, 28 Feb 2004 02:09:41 +0000 (02:09 +0000)]
lost linestart
Tim Starling [Sat, 28 Feb 2004 01:55:55 +0000 (01:55 +0000)]
In development, doesn't work currently
Tim Starling [Sat, 28 Feb 2004 01:54:34 +0000 (01:54 +0000)]
IRC script moved from maintenance directory
Brion Vibber [Sat, 28 Feb 2004 00:53:12 +0000 (00:53 +0000)]
Update language names
Brion Vibber [Fri, 27 Feb 2004 23:08:11 +0000 (23:08 +0000)]
1.2.0 release candidate 1
Brion Vibber [Fri, 27 Feb 2004 23:01:07 +0000 (23:01 +0000)]
Note ipb_expiry change
Nicholas Pisarro, Jr [Fri, 27 Feb 2004 12:48:07 +0000 (12:48 +0000)]
Added the ability to do an authenticated SMTP login to send mail.
* by setting the array variable '$wgSMTP' in Local settings,
the source will use PEAR:mail to connect to a specific
SMTP server to send mail. It will use an authenticated
login, if requested.
* Example:
$wgSMTP = array ( "host" => "smtp.wherever.com",\r "IDHost" => "mail.wikipedia.org",\r "port" => "25",\r "auth" => true,\r "username" => "mailID",\r "password" => "mailPswd");
Nicholas Pisarro, Jr [Fri, 27 Feb 2004 11:51:59 +0000 (11:51 +0000)]
Added "My contributions" to Cologne Blue skin under "My pages".
Tim Starling [Fri, 27 Feb 2004 08:25:56 +0000 (08:25 +0000)]
fixed problem with updateTimestamp() altering existing IP blocks
Brion Vibber [Fri, 27 Feb 2004 03:59:21 +0000 (03:59 +0000)]
Fix for 904065: use .php instead of .phtml extension by default
Brion Vibber [Fri, 27 Feb 2004 03:35:36 +0000 (03:35 +0000)]
Fix for 901693: specify default text color to avoid conflicting with background
Brion Vibber [Fri, 27 Feb 2004 03:34:47 +0000 (03:34 +0000)]
Fix for 903572: mark the user page backlink as existing/nonexisting
Tim Starling [Fri, 27 Feb 2004 02:24:14 +0000 (02:24 +0000)]
bug fix -- parser cache used when it shouldn't be
Mr. E23 [Fri, 27 Feb 2004 00:36:36 +0000 (00:36 +0000)]
Improvement on link rendering speed
Tim Starling [Fri, 27 Feb 2004 00:08:19 +0000 (00:08 +0000)]
minor fixes
Gabriel Wicke [Thu, 26 Feb 2004 20:08:45 +0000 (20:08 +0000)]
enabled ports != 80 for purging, just add the :port in wgSquidServers
Tim Starling [Thu, 26 Feb 2004 13:37:26 +0000 (13:37 +0000)]
Split parser from OutputPage into Parser.php, corrected spelling of "suppress", a few other bits and pieces