Tim Starling [Thu, 9 Sep 2004 12:11:10 +0000 (12:11 +0000)]
I had a fix for this bug sitting in my working copy for over a week without getting around to committing. I see someone else has fixed it for me, but I like my way better :-) Sure, it's still a special case, but it's less special.
Domas Mituzas [Thu, 9 Sep 2004 12:10:58 +0000 (12:10 +0000)]
Use Database:aggregateValue() for HAVING and GROUP BY clauses, closes bug387
Domas Mituzas [Thu, 9 Sep 2004 12:04:39 +0000 (12:04 +0000)]
add aggregateValue(), as some databases require different aggregated value specifications in HAVING and ORDER clauses
Tim Starling [Thu, 9 Sep 2004 11:54:01 +0000 (11:54 +0000)]
Nicer database wrapper names
Domas Mituzas [Thu, 9 Sep 2004 11:53:14 +0000 (11:53 +0000)]
remove unix_timestamp() from query, and wfUnix2Timestamp(). I could not find any reason, really, no other reason, for that redundant job. Fixes bug386
Domas Mituzas [Thu, 9 Sep 2004 08:34:45 +0000 (08:34 +0000)]
fix timestamps, change multirow insert query into Database:insertArray()
Domas Mituzas [Thu, 9 Sep 2004 08:33:00 +0000 (08:33 +0000)]
specify defaults for cur_user and cur_user_text
Domas Mituzas [Thu, 9 Sep 2004 07:13:06 +0000 (07:13 +0000)]
tsfixen
Domas Mituzas [Thu, 9 Sep 2004 07:12:11 +0000 (07:12 +0000)]
add indexUnique()
Brion Vibber [Thu, 9 Sep 2004 06:31:19 +0000 (06:31 +0000)]
Installer support for picking traditional Chinese (zh-tw) localization.
Brion Vibber [Thu, 9 Sep 2004 06:12:04 +0000 (06:12 +0000)]
Fix register_globals vulnerability checked in last week.
Brion Vibber [Thu, 9 Sep 2004 05:08:47 +0000 (05:08 +0000)]
Use require_once instead of include_once on the generated LocalSettings.php.
If it doesn't work, everything will break and there may be register_globals
problems, so let's make extra sure.
Brion Vibber [Thu, 9 Sep 2004 00:02:38 +0000 (00:02 +0000)]
Add Database::conditional() function to build IF() or CASE statements
depending on the RDBMS used. Allowed NULL in some RC fields on PostgreSQL.
Fix for bug 407: rebuildrecentchanges.php fails on PostgreSQL
http://bugzilla.wikipedia.org/show_bug.cgi?id=407
Brion Vibber [Wed, 8 Sep 2004 23:24:17 +0000 (23:24 +0000)]
Re-order tables in FROM to get it working on PostgreSQL.
Fix for bug 393: Special:Log fails on PostgreSQL
http://bugzilla.wikipedia.org/show_bug.cgi?id=393
Jens Frank [Wed, 8 Sep 2004 22:01:58 +0000 (22:01 +0000)]
ENH#208 Updated:
* using searchindex
* client.php can only be called using the cli
* upon first sight, nusoap seems to be utf8-clean. search query for utf8 strings succeeded.
Brion Vibber [Wed, 8 Sep 2004 20:36:41 +0000 (20:36 +0000)]
Add Database::getSoftwareLink() and Database::getServerVersion(), and use
those in Special:Version.
Fixes bug 388: Special:Version shows MySQL version when using PostgreSQL
http://bugzilla.wikipedia.org/show_bug.cgi?id=388
Brion Vibber [Wed, 8 Sep 2004 20:20:10 +0000 (20:20 +0000)]
Use handy-dandy __FILE__ constant to get the pathname instead of more
cumbersome means. Would be nice if PHP documented these things better;
things that aren't functions are very hard to find in their online docs.
Antoine Musso [Wed, 8 Sep 2004 13:32:13 +0000 (13:32 +0000)]
Patch to only load $msgAllMessages instead of replacing the language object.
It's slow as the language object constructor is called twice.
See: http://bugzilla.wikipedia.org/show_bug.cgi?id=184
Brion Vibber [Wed, 8 Sep 2004 07:35:00 +0000 (07:35 +0000)]
Add $wgUserLanguages array to specify which languages users are allowed
to select for the user interface. If this is left at the default empty
array the selection is disabled.
Currently the language selection is broken and will fail for many
cases, using bogus namespaces and probably corrupting your database
with bogus links, search index updates, and more.
Brion Vibber [Wed, 8 Sep 2004 07:20:25 +0000 (07:20 +0000)]
fix notice when asked for bogus messages
Antoine Musso [Wed, 8 Sep 2004 03:39:32 +0000 (03:39 +0000)]
Registered user can set their own language for the interface. See bugzilla.wikipedia.org/show_bug.cgi?id=184
Antoine Musso [Wed, 8 Sep 2004 01:36:51 +0000 (01:36 +0000)]
'yourlanguage' => 'Interface language'
Antoine Musso [Wed, 8 Sep 2004 01:24:35 +0000 (01:24 +0000)]
* double quotes to single quotes
* phpdoc comments
Jens Frank [Tue, 7 Sep 2004 22:08:01 +0000 (22:08 +0000)]
BUG#76 For categories, don't use the Category:-prefix for the sortkey.
[[Category:Mountains of Panama]] now gets cl_sortkey='Mountains of Panama' instead of 'Category:Mountains of Panama'.
Avoids later issues with sorting.
Domas Mituzas [Tue, 7 Sep 2004 13:44:51 +0000 (13:44 +0000)]
allow NULL html/mathml entries in math table
Brion Vibber [Tue, 7 Sep 2004 08:37:50 +0000 (08:37 +0000)]
replace fixes:
* use array_keys() instead of array_flip() to get the keys, since the latter fails with NULL data
* where there is a single-column unique index, don't forget the initial paren since it's going to get closed [fix for <math> rendering]
Brion Vibber [Tue, 7 Sep 2004 08:25:35 +0000 (08:25 +0000)]
Use array_keys() rather than array_flip(), which fails for NULL values.
Domas Mituzas [Tue, 7 Sep 2004 08:16:38 +0000 (08:16 +0000)]
editupdates tsfix
Domas Mituzas [Tue, 7 Sep 2004 08:00:45 +0000 (08:00 +0000)]
tsfix
Domas Mituzas [Tue, 7 Sep 2004 06:56:44 +0000 (06:56 +0000)]
timestamp fix
Domas Mituzas [Tue, 7 Sep 2004 06:46:37 +0000 (06:46 +0000)]
typo fix, ipblock expire 'with timezone' -> 'without timezone'
Domas Mituzas [Tue, 7 Sep 2004 06:26:15 +0000 (06:26 +0000)]
fix timestamp for expiry too
Domas Mituzas [Tue, 7 Sep 2004 06:20:51 +0000 (06:20 +0000)]
timestamp fix, PR405
Jens Frank [Tue, 7 Sep 2004 06:14:34 +0000 (06:14 +0000)]
BUG#403 User page link in Special:Contributions subtitle fails [1.4]
Disable delayed link colouring for the link in the header.
Brion Vibber [Tue, 7 Sep 2004 02:29:04 +0000 (02:29 +0000)]
Just return if running on PostgreSQL, as this change predates PG support.
Brion Vibber [Tue, 7 Sep 2004 02:25:50 +0000 (02:25 +0000)]
Fix parse error
Brion Vibber [Tue, 7 Sep 2004 02:20:02 +0000 (02:20 +0000)]
Fix include
Jens Frank [Mon, 6 Sep 2004 21:01:18 +0000 (21:01 +0000)]
more verbose description
Jens Frank [Mon, 6 Sep 2004 20:36:35 +0000 (20:36 +0000)]
Parentheses needed for this regex for correct treatment of alternatives.
^(#REDIRECT|#UMLEITUNG) instead of ^#REDIRECT|#UMLEITUNG, where the anchor would only be used for #REDIRECT
Bug reported by borislav for Bulgarian deletion log page
River Tarnell [Mon, 6 Sep 2004 16:51:06 +0000 (16:51 +0000)]
missing _
River Tarnell [Mon, 6 Sep 2004 16:47:48 +0000 (16:47 +0000)]
- apparently we're not meant to do it this way...
River Tarnell [Mon, 6 Sep 2004 15:12:42 +0000 (15:12 +0000)]
- correct project namespace
Domas Mituzas [Mon, 6 Sep 2004 10:16:22 +0000 (10:16 +0000)]
specify DEFAULT for cur_restrictions
Domas Mituzas [Mon, 6 Sep 2004 10:14:32 +0000 (10:14 +0000)]
yet another group by fix!
Domas Mituzas [Mon, 6 Sep 2004 10:10:49 +0000 (10:10 +0000)]
lastmodified timestamps
Domas Mituzas [Mon, 6 Sep 2004 10:02:16 +0000 (10:02 +0000)]
fix GROUP BY
Domas Mituzas [Mon, 6 Sep 2004 09:57:30 +0000 (09:57 +0000)]
fix timestamps, sequences
Domas Mituzas [Mon, 6 Sep 2004 09:56:29 +0000 (09:56 +0000)]
don't replace empty resultsets! :)
Domas Mituzas [Mon, 6 Sep 2004 09:34:44 +0000 (09:34 +0000)]
timestamp fix
Domas Mituzas [Mon, 6 Sep 2004 09:01:17 +0000 (09:01 +0000)]
add logging table
Brion Vibber [Mon, 6 Sep 2004 09:00:44 +0000 (09:00 +0000)]
Fix missing quotes in query which broke metadata XML loading
Domas Mituzas [Mon, 6 Sep 2004 08:43:55 +0000 (08:43 +0000)]
fix timestamp
Domas Mituzas [Mon, 6 Sep 2004 08:30:42 +0000 (08:30 +0000)]
fix replace()
Domas Mituzas [Mon, 6 Sep 2004 08:30:05 +0000 (08:30 +0000)]
extend makeList so it could include database field names
Domas Mituzas [Mon, 6 Sep 2004 06:58:53 +0000 (06:58 +0000)]
oops, register_globals security flaw
Domas Mituzas [Mon, 6 Sep 2004 06:57:32 +0000 (06:57 +0000)]
allow empty server
Arne Heizmann [Mon, 6 Sep 2004 06:00:28 +0000 (06:00 +0000)]
move weekdays and month names to $wgAllmessagesZh_tw array
Brion Vibber [Mon, 6 Sep 2004 05:48:41 +0000 (05:48 +0000)]
Copy updated version from stable branch.
Brion Vibber [Mon, 6 Sep 2004 03:17:21 +0000 (03:17 +0000)]
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.
Brion Vibber [Mon, 6 Sep 2004 03:01:33 +0000 (03:01 +0000)]
Move the check for legacy/UTF character conversion on incoming URLs from
Title::newFromURL into WebRequest itself. Should now work on all get params,
so essentially the full URL will be converted.
(The check is not done if the referer matches the canonical server, as before.)
Fixes problem with latin-1 typed URLs introduced by the stricter UTF-8
validation checks running before the conversion check.
One minor glitch; the canonical URL redirection no longer picks up on a
charset conversion. However it's broken anyway and doesn't pick up eg
non-canonical URLs using ?title= instead of / or other such things. Needs
to be improved...
Arne Heizmann [Mon, 6 Sep 2004 02:40:43 +0000 (02:40 +0000)]
s/ :/:/
Brion Vibber [Sun, 5 Sep 2004 07:56:05 +0000 (07:56 +0000)]
Undo total breakage from incorrect string quoting conversion.
Tim Starling [Sun, 5 Sep 2004 06:17:37 +0000 (06:17 +0000)]
Stub language file for zh-tw, changing Setup.php and Language.php to allow for languages with hyphens in their code
Antoine Musso [Sun, 5 Sep 2004 03:43:34 +0000 (03:43 +0000)]
*** empty log message ***
Antoine Musso [Sun, 5 Sep 2004 03:37:30 +0000 (03:37 +0000)]
some more files I forgot from /stylesheets/
Antoine Musso [Sun, 5 Sep 2004 03:33:26 +0000 (03:33 +0000)]
files moved from /stylesheets/ (wich is now obsolete)
Antoine Musso [Sun, 5 Sep 2004 03:25:58 +0000 (03:25 +0000)]
Use the new skin tree hierarchy
Antoine Musso [Sun, 5 Sep 2004 02:21:52 +0000 (02:21 +0000)]
New stylepath : ./skins/ instead of ./style/ or ./stylesheet/
Committing before I forget about it. Installer probably need it's default choice to be updated as well.
Arne Heizmann [Sat, 4 Sep 2004 14:25:47 +0000 (14:25 +0000)]
forgot to remove this
Arne Heizmann [Sat, 4 Sep 2004 14:21:45 +0000 (14:21 +0000)]
expand comment for isNewbie(), and spelling corrections
Antoine Musso [Sat, 4 Sep 2004 13:06:25 +0000 (13:06 +0000)]
Phpdoc comments
Tim Starling [Sat, 4 Sep 2004 09:48:12 +0000 (09:48 +0000)]
Use default skin
Brion Vibber [Sat, 4 Sep 2004 09:35:01 +0000 (09:35 +0000)]
Some more phpdoc bits
Brion Vibber [Sat, 4 Sep 2004 09:09:17 +0000 (09:09 +0000)]
typo
Brion Vibber [Sat, 4 Sep 2004 09:08:22 +0000 (09:08 +0000)]
phpdoc comments
Brion Vibber [Sat, 4 Sep 2004 08:54:59 +0000 (08:54 +0000)]
More command-line options so I can just hit 'up, enter' instead of the tedious prompt. :)
Brion Vibber [Sat, 4 Sep 2004 08:34:51 +0000 (08:34 +0000)]
phpdoc tweaking
Brion Vibber [Sat, 4 Sep 2004 06:25:23 +0000 (06:25 +0000)]
Link the FAQ
Antoine Musso [Sat, 4 Sep 2004 04:27:53 +0000 (04:27 +0000)]
dummy FAQ
Arne Heizmann [Sat, 4 Sep 2004 02:20:34 +0000 (02:20 +0000)]
MediaWiki :-)
Brion Vibber [Sat, 4 Sep 2004 01:58:17 +0000 (01:58 +0000)]
Remove hard-coded paths from documentation generation script, and don't allow running except from CLI.
Added --all option to skip the prompt so this can be run as part of an automated release build process.
Place the generated files into docs/html.
Brion Vibber [Sat, 4 Sep 2004 00:12:08 +0000 (00:12 +0000)]
Add some documentation comments
Arne Heizmann [Sat, 4 Sep 2004 00:05:30 +0000 (00:05 +0000)]
change all occurrences of "Mediawiki" to "MediaWiki".
Antoine Musso [Sat, 4 Sep 2004 00:02:45 +0000 (00:02 +0000)]
some comments.
Antoine Musso [Fri, 3 Sep 2004 23:53:56 +0000 (23:53 +0000)]
some comments
Antoine Musso [Fri, 3 Sep 2004 23:07:58 +0000 (23:07 +0000)]
simple script to generate phpdocumentor documentation and troubleshoot its generation
Antoine Musso [Fri, 3 Sep 2004 23:00:01 +0000 (23:00 +0000)]
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
Antoine Musso [Fri, 3 Sep 2004 22:52:28 +0000 (22:52 +0000)]
Change the way comment are generated so they are compatible with phpdocumentor. Changes already existing files as well.
Antoine Musso [Fri, 3 Sep 2004 22:33:01 +0000 (22:33 +0000)]
Phpdocumentor comments format.
Devs: please update your AdminSettings.php
Arne Heizmann [Fri, 3 Sep 2004 21:29:06 +0000 (21:29 +0000)]
change all occurrences of "fromwikipedia" to "tagline".
change all occurrences of "aboutwikipedia" to "aboutsite".
Arne Heizmann [Fri, 3 Sep 2004 21:22:20 +0000 (21:22 +0000)]
remove trailing white space
Brion Vibber [Fri, 3 Sep 2004 21:21:19 +0000 (21:21 +0000)]
Suppress unset array index notice with quoted search terms
Antoine Musso [Fri, 3 Sep 2004 21:02:18 +0000 (21:02 +0000)]
Skins classes under their own phpdocumentor subpackage: "Skins"
Arne Heizmann [Fri, 3 Sep 2004 20:54:26 +0000 (20:54 +0000)]
grammar fix
Antoine Musso [Fri, 3 Sep 2004 20:33:01 +0000 (20:33 +0000)]
Phpdoc comments and place holder. Part of the subpackage "maintenance", archives in subpackage "maintenanceArchive"
Erik Moeller [Fri, 3 Sep 2004 19:48:38 +0000 (19:48 +0000)]
add Ashar to credits
Antoine Musso [Fri, 3 Sep 2004 18:52:58 +0000 (18:52 +0000)]
Comments. No more alpha version
Brion Vibber [Fri, 3 Sep 2004 17:36:21 +0000 (17:36 +0000)]
Removing obsolete files, already removed from 1.3 branch.
Antoine Musso [Fri, 3 Sep 2004 17:22:43 +0000 (17:22 +0000)]
comment that it's deprecated
Antoine Musso [Fri, 3 Sep 2004 17:13:55 +0000 (17:13 +0000)]
More comments !