lhc/web/wiklou.git
19 years agoallow NULL html/mathml entries in math table
Domas Mituzas [Tue, 7 Sep 2004 13:44:51 +0000 (13:44 +0000)]
allow NULL html/mathml entries in math table

19 years agoreplace fixes:
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]

19 years agoUse array_keys() rather than array_flip(), which fails for NULL values.
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.

19 years agoeditupdates tsfix
Domas Mituzas [Tue, 7 Sep 2004 08:16:38 +0000 (08:16 +0000)]
editupdates tsfix

19 years agotsfix
Domas Mituzas [Tue, 7 Sep 2004 08:00:45 +0000 (08:00 +0000)]
tsfix

19 years agotimestamp fix
Domas Mituzas [Tue, 7 Sep 2004 06:56:44 +0000 (06:56 +0000)]
timestamp fix

19 years agotypo fix, ipblock expire 'with timezone' -> 'without timezone'
Domas Mituzas [Tue, 7 Sep 2004 06:46:37 +0000 (06:46 +0000)]
typo fix, ipblock expire 'with timezone' -> 'without timezone'

19 years agofix timestamp for expiry too
Domas Mituzas [Tue, 7 Sep 2004 06:26:15 +0000 (06:26 +0000)]
fix timestamp for expiry too

19 years agotimestamp fix, PR405
Domas Mituzas [Tue, 7 Sep 2004 06:20:51 +0000 (06:20 +0000)]
timestamp fix, PR405

19 years agoBUG#403 User page link in Special:Contributions subtitle fails [1.4]
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.

19 years agoJust return if running on PostgreSQL, as this change predates PG support.
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.

19 years agoFix parse error
Brion Vibber [Tue, 7 Sep 2004 02:25:50 +0000 (02:25 +0000)]
Fix parse error

19 years agoFix include
Brion Vibber [Tue, 7 Sep 2004 02:20:02 +0000 (02:20 +0000)]
Fix include

19 years agomore verbose description
Jens Frank [Mon, 6 Sep 2004 21:01:18 +0000 (21:01 +0000)]
more verbose description

19 years agoParentheses needed for this regex for correct treatment of alternatives.
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

19 years agomissing _
River Tarnell [Mon, 6 Sep 2004 16:51:06 +0000 (16:51 +0000)]
missing _

19 years ago- apparently we're not meant to do it this way...
River Tarnell [Mon, 6 Sep 2004 16:47:48 +0000 (16:47 +0000)]
- apparently we're not meant to do it this way...

19 years ago- correct project namespace
River Tarnell [Mon, 6 Sep 2004 15:12:42 +0000 (15:12 +0000)]
- correct project namespace

19 years agospecify DEFAULT for cur_restrictions
Domas Mituzas [Mon, 6 Sep 2004 10:16:22 +0000 (10:16 +0000)]
specify DEFAULT for cur_restrictions

19 years agoyet another group by fix!
Domas Mituzas [Mon, 6 Sep 2004 10:14:32 +0000 (10:14 +0000)]
yet another group by fix!

19 years agolastmodified timestamps
Domas Mituzas [Mon, 6 Sep 2004 10:10:49 +0000 (10:10 +0000)]
lastmodified timestamps

19 years agofix GROUP BY
Domas Mituzas [Mon, 6 Sep 2004 10:02:16 +0000 (10:02 +0000)]
fix GROUP BY

19 years agofix timestamps, sequences
Domas Mituzas [Mon, 6 Sep 2004 09:57:30 +0000 (09:57 +0000)]
fix timestamps, sequences

19 years agodon't replace empty resultsets! :)
Domas Mituzas [Mon, 6 Sep 2004 09:56:29 +0000 (09:56 +0000)]
don't replace empty resultsets! :)

19 years agotimestamp fix
Domas Mituzas [Mon, 6 Sep 2004 09:34:44 +0000 (09:34 +0000)]
timestamp fix

19 years agoadd logging table
Domas Mituzas [Mon, 6 Sep 2004 09:01:17 +0000 (09:01 +0000)]
add logging table

19 years agoFix missing quotes in query which broke metadata XML loading
Brion Vibber [Mon, 6 Sep 2004 09:00:44 +0000 (09:00 +0000)]
Fix missing quotes in query which broke metadata XML loading

19 years agofix timestamp
Domas Mituzas [Mon, 6 Sep 2004 08:43:55 +0000 (08:43 +0000)]
fix timestamp

19 years agofix replace()
Domas Mituzas [Mon, 6 Sep 2004 08:30:42 +0000 (08:30 +0000)]
fix replace()

19 years agoextend makeList so it could include database field names
Domas Mituzas [Mon, 6 Sep 2004 08:30:05 +0000 (08:30 +0000)]
extend makeList so it could include database field names

19 years agooops, register_globals security flaw
Domas Mituzas [Mon, 6 Sep 2004 06:58:53 +0000 (06:58 +0000)]
oops, register_globals security flaw

19 years agoallow empty server
Domas Mituzas [Mon, 6 Sep 2004 06:57:32 +0000 (06:57 +0000)]
allow empty server

19 years agomove weekdays and month names to $wgAllmessagesZh_tw array
Arne Heizmann [Mon, 6 Sep 2004 06:00:28 +0000 (06:00 +0000)]
move weekdays and month names to $wgAllmessagesZh_tw array

19 years agoCopy updated version from stable branch.
Brion Vibber [Mon, 6 Sep 2004 05:48:41 +0000 (05:48 +0000)]
Copy updated version from stable branch.

19 years agoQuick fix for canonical redirects when the URL is case-converted.
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.

19 years agoMove the check for legacy/UTF character conversion on incoming URLs from
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...

19 years agos/ :/:/
Arne Heizmann [Mon, 6 Sep 2004 02:40:43 +0000 (02:40 +0000)]
s/ :/:/

19 years agoUndo total breakage from incorrect string quoting conversion.
Brion Vibber [Sun, 5 Sep 2004 07:56:05 +0000 (07:56 +0000)]
Undo total breakage from incorrect string quoting conversion.

19 years agoStub language file for zh-tw, changing Setup.php and Language.php to allow for langua...
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

19 years ago*** empty log message ***
Antoine Musso [Sun, 5 Sep 2004 03:43:34 +0000 (03:43 +0000)]
*** empty log message ***

19 years agosome more files I forgot from /stylesheets/
Antoine Musso [Sun, 5 Sep 2004 03:37:30 +0000 (03:37 +0000)]
some more files I forgot from /stylesheets/

19 years agofiles moved from /stylesheets/ (wich is now obsolete)
Antoine Musso [Sun, 5 Sep 2004 03:33:26 +0000 (03:33 +0000)]
files moved from /stylesheets/ (wich is now obsolete)

19 years agoUse the new skin tree hierarchy
Antoine Musso [Sun, 5 Sep 2004 03:25:58 +0000 (03:25 +0000)]
Use the new skin tree hierarchy

19 years agoNew stylepath : ./skins/ instead of ./style/ or ./stylesheet/
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.

19 years agoforgot to remove this
Arne Heizmann [Sat, 4 Sep 2004 14:25:47 +0000 (14:25 +0000)]
forgot to remove this

19 years agoexpand comment for isNewbie(), and spelling corrections
Arne Heizmann [Sat, 4 Sep 2004 14:21:45 +0000 (14:21 +0000)]
expand comment for isNewbie(), and spelling corrections

19 years agoPhpdoc comments
Antoine Musso [Sat, 4 Sep 2004 13:06:25 +0000 (13:06 +0000)]
Phpdoc comments

19 years agoUse default skin
Tim Starling [Sat, 4 Sep 2004 09:48:12 +0000 (09:48 +0000)]
Use default skin

19 years agoSome more phpdoc bits
Brion Vibber [Sat, 4 Sep 2004 09:35:01 +0000 (09:35 +0000)]
Some more phpdoc bits

19 years agotypo
Brion Vibber [Sat, 4 Sep 2004 09:09:17 +0000 (09:09 +0000)]
typo

19 years agophpdoc comments
Brion Vibber [Sat, 4 Sep 2004 09:08:22 +0000 (09:08 +0000)]
phpdoc comments

19 years agoMore command-line options so I can just hit 'up, enter' instead of the tedious prompt. :)
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. :)

19 years agophpdoc tweaking
Brion Vibber [Sat, 4 Sep 2004 08:34:51 +0000 (08:34 +0000)]
phpdoc tweaking

19 years agoLink the FAQ
Brion Vibber [Sat, 4 Sep 2004 06:25:23 +0000 (06:25 +0000)]
Link the FAQ

19 years agodummy FAQ
Antoine Musso [Sat, 4 Sep 2004 04:27:53 +0000 (04:27 +0000)]
dummy FAQ

19 years agoMediaWiki :-)
Arne Heizmann [Sat, 4 Sep 2004 02:20:34 +0000 (02:20 +0000)]
MediaWiki :-)

19 years agoRemove hard-coded paths from documentation generation script, and don't allow running...
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.

19 years agoAdd some documentation comments
Brion Vibber [Sat, 4 Sep 2004 00:12:08 +0000 (00:12 +0000)]
Add some documentation comments

19 years agochange all occurrences of "Mediawiki" to "MediaWiki".
Arne Heizmann [Sat, 4 Sep 2004 00:05:30 +0000 (00:05 +0000)]
change all occurrences of "Mediawiki" to "MediaWiki".

19 years agosome comments.
Antoine Musso [Sat, 4 Sep 2004 00:02:45 +0000 (00:02 +0000)]
some comments.

19 years agosome comments
Antoine Musso [Fri, 3 Sep 2004 23:53:56 +0000 (23:53 +0000)]
some comments

19 years agosimple script to generate phpdocumentor documentation and troubleshoot its generation
Antoine Musso [Fri, 3 Sep 2004 23:07:58 +0000 (23:07 +0000)]
simple script to generate phpdocumentor documentation and troubleshoot its generation

19 years agoSplit files and classes in different packages for phpdocumentor. I probably changed...
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

19 years agoChange the way comment are generated so they are compatible with phpdocumentor. Chang...
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.

19 years agoPhpdocumentor comments format.
Antoine Musso [Fri, 3 Sep 2004 22:33:01 +0000 (22:33 +0000)]
Phpdocumentor comments format.
Devs: please update your AdminSettings.php

19 years agochange all occurrences of "fromwikipedia" to "tagline".
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".

19 years agoremove trailing white space
Arne Heizmann [Fri, 3 Sep 2004 21:22:20 +0000 (21:22 +0000)]
remove trailing white space

19 years agoSuppress unset array index notice with quoted search terms
Brion Vibber [Fri, 3 Sep 2004 21:21:19 +0000 (21:21 +0000)]
Suppress unset array index notice with quoted search terms

19 years agoSkins classes under their own phpdocumentor subpackage: "Skins"
Antoine Musso [Fri, 3 Sep 2004 21:02:18 +0000 (21:02 +0000)]
Skins classes under their own phpdocumentor subpackage: "Skins"

19 years agogrammar fix
Arne Heizmann [Fri, 3 Sep 2004 20:54:26 +0000 (20:54 +0000)]
grammar fix

19 years agoPhpdoc comments and place holder. Part of the subpackage "maintenance", archives...
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"

19 years agoadd Ashar to credits
Erik Moeller [Fri, 3 Sep 2004 19:48:38 +0000 (19:48 +0000)]
add Ashar to credits

19 years agoComments. No more alpha version
Antoine Musso [Fri, 3 Sep 2004 18:52:58 +0000 (18:52 +0000)]
Comments. No more alpha version

19 years agoRemoving obsolete files, already removed from 1.3 branch.
Brion Vibber [Fri, 3 Sep 2004 17:36:21 +0000 (17:36 +0000)]
Removing obsolete files, already removed from 1.3 branch.

19 years agocomment that it's deprecated
Antoine Musso [Fri, 3 Sep 2004 17:22:43 +0000 (17:22 +0000)]
comment that it's deprecated

19 years agoMore comments !
Antoine Musso [Fri, 3 Sep 2004 17:13:55 +0000 (17:13 +0000)]
More comments !

19 years agophpdocumentor comments placeholders
Antoine Musso [Fri, 3 Sep 2004 16:51:45 +0000 (16:51 +0000)]
phpdocumentor comments placeholders

19 years agoComments for phpdocumentor + comments placeholder.
Antoine Musso [Fri, 3 Sep 2004 16:36:46 +0000 (16:36 +0000)]
Comments for phpdocumentor + comments placeholder.

19 years agocomments and comments placeholders
Antoine Musso [Fri, 3 Sep 2004 15:48:02 +0000 (15:48 +0000)]
comments and comments placeholders

19 years agoSome comments
Antoine Musso [Fri, 3 Sep 2004 15:23:37 +0000 (15:23 +0000)]
Some comments

19 years agoFix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=270
Antoine Musso [Fri, 3 Sep 2004 15:10:05 +0000 (15:10 +0000)]
Fix bug bugzilla.wikipedia.org/show_bug.cgi?id=270
PHPTal skins would not let an user watch a non existent page.

19 years agoFix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=365
Antoine Musso [Fri, 3 Sep 2004 14:47:27 +0000 (14:47 +0000)]
Fix bug bugzilla.wikipedia.org/show_bug.cgi?id=365
Typo

19 years agochange double->single quotes for string literal in sql query
Domas Mituzas [Fri, 3 Sep 2004 12:13:53 +0000 (12:13 +0000)]
change double->single quotes for string literal in sql query

19 years agoworking schema for working pg layer. hooray! :)
Domas Mituzas [Fri, 3 Sep 2004 11:53:46 +0000 (11:53 +0000)]
working schema for working pg layer. hooray! :)
$wgPutIPinRC=true; must be set

19 years agowfTimestampNow()->Database::timestamp()
Domas Mituzas [Fri, 3 Sep 2004 11:28:35 +0000 (11:28 +0000)]
wfTimestampNow()->Database::timestamp()

19 years agoNormalize Unicode in uploaded filenames. In particular this is a fix for a problem...
Brion Vibber [Fri, 3 Sep 2004 07:12:46 +0000 (07:12 +0000)]
Normalize Unicode in uploaded filenames. In particular this is a fix for a problem with non-ascii filenames uploaded with Safari, which encodes the file with HTML character references *with combining characters decomposed*.
* Fix for http://bugzilla.wikipedia.org/show_bug.cgi?id=215

19 years agoNormalize output for Special:Export.
Brion Vibber [Fri, 3 Sep 2004 06:49:17 +0000 (06:49 +0000)]
Normalize output for Special:Export.

19 years agoCorrection to the \r stripping
Brion Vibber [Fri, 3 Sep 2004 06:44:57 +0000 (06:44 +0000)]
Correction to the \r stripping

19 years agoParameters in wrong order, used wrong where conditions
Brion Vibber [Fri, 3 Sep 2004 06:28:59 +0000 (06:28 +0000)]
Parameters in wrong order, used wrong where conditions

19 years agotypo
Brion Vibber [Fri, 3 Sep 2004 06:19:16 +0000 (06:19 +0000)]
typo

19 years agoStart cracking down on illegal titles: in UTF-8 mode reject titles which have had...
Brion Vibber [Fri, 3 Sep 2004 06:12:57 +0000 (06:12 +0000)]
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'].

19 years agoAdd UtfNormal::cleanUp() function: strips XML-unsafe characters and illegal UTF-8...
Brion Vibber [Fri, 3 Sep 2004 05:39:30 +0000 (05:39 +0000)]
Add UtfNormal::cleanUp() function: strips XML-unsafe characters and illegal UTF-8 sequences, then normalizes to form C.

19 years agoSome documentation. Let's talk about it in wikitech-l.
Antoine Musso [Fri, 3 Sep 2004 01:05:32 +0000 (01:05 +0000)]
Some documentation. Let's talk about it in wikitech-l.

19 years agosome documentation
Antoine Musso [Fri, 3 Sep 2004 00:20:26 +0000 (00:20 +0000)]
some documentation

19 years agoDon't bother writing out the MediaWiki:All_messages page. It takes a billion years...
Brion Vibber [Thu, 2 Sep 2004 23:35:13 +0000 (23:35 +0000)]
Don't bother writing out the MediaWiki:All_messages page. It takes a billion years to render and is superceded by the dynamic Special:Allmessages.

19 years agoChanging comments layout preparing for generated documentation with Phpdocumentor
Antoine Musso [Thu, 2 Sep 2004 23:28:24 +0000 (23:28 +0000)]
Changing comments layout preparing for generated documentation with Phpdocumentor

19 years agoOne more unicode normalization fix: don't die horribly on arrays, and get the PATH_IN...
Brion Vibber [Thu, 2 Sep 2004 08:01:13 +0000 (08:01 +0000)]
One more unicode normalization fix: don't die horribly on arrays, and get the PATH_INFO title too.

19 years agoNormalize Unicode input to normalization form C. Most of the time input
Brion Vibber [Thu, 2 Sep 2004 07:50:04 +0000 (07:50 +0000)]
Normalize Unicode input to normalization form C. Most of the time input
is already in this form and it shouldn't take very long to verify it.
There is still optimization to be done though.

Partial fix for http://bugzilla.wikipedia.org/show_bug.cgi?id=240

Will also need to verify correct UTF-8 sequences and strip characters
that are illegal in XML.

Some input may not be going through this verification yet (eg the uploaded filenames)

19 years agoSplit the data arrays for form KC, KD to a separate include file and load it on demand.
Brion Vibber [Thu, 2 Sep 2004 07:39:06 +0000 (07:39 +0000)]
Split the data arrays for form KC, KD to a separate include file and load it on demand.
These are less likely to be used, so save the memory and parse time...

19 years agoBUG#26 Set setSquidMaxage to 0 if the user has new messages. Don't cache page.
Jens Frank [Thu, 2 Sep 2004 05:59:33 +0000 (05:59 +0000)]
BUG#26 Set setSquidMaxage to 0 if the user has new messages. Don't cache page.