lhc/web/wiklou.git
15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Tue, 26 May 2009 13:24:57 +0000 (13:24 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoFollow-up on r51009. Remove unused 'deletedrev'
Siebrand Mazeland [Tue, 26 May 2009 13:06:30 +0000 (13:06 +0000)]
Follow-up on r51009. Remove unused 'deletedrev'

15 years ago(bug 18772) Removed redundant 'deletedrev' message instances
Aaron Schulz [Tue, 26 May 2009 12:29:16 +0000 (12:29 +0000)]
(bug 18772) Removed redundant 'deletedrev' message instances

15 years agoModification of r50714, adding element to the li class, rather than a separate div...
X! [Tue, 26 May 2009 11:03:50 +0000 (11:03 +0000)]
Modification of r50714, adding element to the li class, rather than a separate div class.

15 years agoReverted r49855, r49656, r49401, r49399, r49397. The language converter cannot be...
Tim Starling [Tue, 26 May 2009 07:46:29 +0000 (07:46 +0000)]
Reverted r49855, r49656, r49401, r49399, r49397. The language converter cannot be used outside the parser at present without generating a large number of bugs, due to global lifetime state variables, inappropriate $wgParser references, etc. Some refactoring needs to be done before it can be used in this way.

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Tue, 26 May 2009 04:27:23 +0000 (04:27 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-25 21:04 UTC)
Siebrand Mazeland [Mon, 25 May 2009 21:23:11 +0000 (21:23 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-25 21:04 UTC)

15 years ago(bug 17093) Separate date and time in Special:BlockList
Siebrand Mazeland [Mon, 25 May 2009 18:02:58 +0000 (18:02 +0000)]
(bug 17093) Separate date and time in Special:BlockList

15 years agourlencode not needed anymore
Niklas Laxström [Mon, 25 May 2009 14:02:54 +0000 (14:02 +0000)]
urlencode not needed anymore

15 years ago* feed arrays into getFullURL() for readability
Siebrand Mazeland [Mon, 25 May 2009 13:53:48 +0000 (13:53 +0000)]
* feed arrays into getFullURL() for readability
* fix indentation (spaces to tab)

15 years agoWork around parser madness, because I have no idea what is going on. The following...
Niklas Laxström [Mon, 25 May 2009 13:49:01 +0000 (13:49 +0000)]
Work around parser madness, because I have no idea what is going on. The following renders each line as a paragraph:
<div>a
b
c/div>

15 years agoFix r50972
Purodha B Blissenbach [Mon, 25 May 2009 13:42:47 +0000 (13:42 +0000)]
Fix r50972

15 years agoMisguiding message text amended. See hint at
Purodha B Blissenbach [Mon, 25 May 2009 09:48:22 +0000 (09:48 +0000)]
Misguiding message text amended. See hint at
http://translatewiki.net/w/i.php?title=Support&oldid=1234364#Original_message_problem_-_filepage-nofile-link

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Mon, 25 May 2009 03:02:06 +0000 (03:02 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoFix per comments at r50961: Update MessagesEn.php (remove unused messages and acciden...
Robin Pepermans [Sun, 24 May 2009 22:36:53 +0000 (22:36 +0000)]
Fix per comments at r50961: Update MessagesEn.php (remove unused messages and accidentally committed change)

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-24 21:49 UTC)
Siebrand Mazeland [Sun, 24 May 2009 21:56:54 +0000 (21:56 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-24 21:49 UTC)

15 years agoFixing part of bug 14688 (upload restrictions):
Robin Pepermans [Sun, 24 May 2009 20:45:31 +0000 (20:45 +0000)]
Fixing part of bug 14688 (upload restrictions):
* Only show upload links on file description if $wgEnableUploads = true and user *can* upload
* Don't say "You need to log in to upload", because it's possible that uploading is disabled for registered users as well and e.g. only sysops can upload (same for moving pages)
* And a small tweak: less code in SkinTemplate.php with same result

15 years agoadded functionality to removing a array key specified on a source file in the rebuild...
Shinjiman [Sun, 24 May 2009 14:21:27 +0000 (14:21 +0000)]
added functionality to removing a array key specified on a source file in the rebuildLanguage.php, to incorporate the functionality of the checkDupeMessages.php file.

15 years agoUpdate per r50782:
Robin Pepermans [Sun, 24 May 2009 12:09:15 +0000 (12:09 +0000)]
Update per r50782:
* Remove all $wgAllowRealName, check $wgHiddenPrefs instead
* Make $wgAllowUserSkin obsolete too, check $wgHiddenPrefs instead
* And also only call globals if really needed, and remove unused globals

15 years agoFix special page case
Siebrand Mazeland [Sun, 24 May 2009 09:23:40 +0000 (09:23 +0000)]
Fix special page case

15 years agoRemove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29...
Siebrand Mazeland [Sun, 24 May 2009 09:05:49 +0000 (09:05 +0000)]
Remove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29) and is no longer used in current trunk or extensions.

15 years agoRemove deprecated userCanCreate(), userCanEdit(), userCanMove(). Methods were depreca...
Siebrand Mazeland [Sun, 24 May 2009 08:59:39 +0000 (08:59 +0000)]
Remove deprecated userCanCreate(), userCanEdit(), userCanMove(). Methods were deprecated in r19193 (2007-01-13) and are no longer used in current trunk or extensions.

15 years agoProper casing for getDBkey()
Siebrand Mazeland [Sun, 24 May 2009 08:29:10 +0000 (08:29 +0000)]
Proper casing for getDBkey()

15 years ago* (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .inc
Shinjiman [Sat, 23 May 2009 19:26:05 +0000 (19:26 +0000)]
* (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .inc
  patch by Karun Dambiec

15 years agoadded fallback code display on the translation statistics.
Shinjiman [Sat, 23 May 2009 18:02:34 +0000 (18:02 +0000)]
added fallback code display on the translation statistics.

15 years agotweak message for nodb on Special:Version
Shinjiman [Sat, 23 May 2009 17:26:40 +0000 (17:26 +0000)]
tweak message for nodb on Special:Version
tweak the copyright sign on Special:Version

15 years agoFollow up on r49157 and r50902. Fixed the header parsing code to conform to RFC.
Philip Tzou [Sat, 23 May 2009 15:27:52 +0000 (15:27 +0000)]
Follow up on r49157 and r50902. Fixed the header parsing code to conform to RFC.

15 years agotweak the message for check whether the message array is set
Shinjiman [Sat, 23 May 2009 10:58:52 +0000 (10:58 +0000)]
tweak the message for check whether the message array is set

15 years agoGrammar? English doesn't use {{GRAMMAR}} :o
Niklas Laxström [Sat, 23 May 2009 10:16:47 +0000 (10:16 +0000)]
Grammar? English doesn't use {{GRAMMAR}} :o

15 years ago* $wgDevelopmentWarnings can be set to true to show warnings about deprecated
Niklas Laxström [Sat, 23 May 2009 10:14:24 +0000 (10:14 +0000)]
* $wgDevelopmentWarnings can be set to true to show warnings about deprecated
  functions and other potential errors when developing.
* (bug 14118) SpecialPage::getTitleFor does not return a localised name

15 years agoadded support to output as PHP syntax
Shinjiman [Sat, 23 May 2009 10:06:10 +0000 (10:06 +0000)]
added support to output as PHP syntax

15 years agoCleanup: removing obsolete/outdated messages for zh-tw which are same as zh-hant
Shinjiman [Sat, 23 May 2009 09:43:17 +0000 (09:43 +0000)]
Cleanup: removing obsolete/outdated messages for zh-tw which are same as zh-hant

15 years ago* (bug 9257) $wgRCMaxAge now defaults to three months
Niklas Laxström [Sat, 23 May 2009 08:42:09 +0000 (08:42 +0000)]
* (bug 9257) $wgRCMaxAge now defaults to three months

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-23 08:16 UTC)
Siebrand Mazeland [Sat, 23 May 2009 08:35:05 +0000 (08:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-23 08:16 UTC)

15 years agoRevert own r50862 ('pipe-separator' from optional to ignored). Customising may make...
Siebrand Mazeland [Sat, 23 May 2009 08:14:47 +0000 (08:14 +0000)]
Revert own r50862 ('pipe-separator' from optional to ignored). Customising may make sense if word-separator is ''.

15 years ago* Follow-up to r49720: Fix array logic in Sanitizer::removeHTMLtags so that it doesn...
Ryan Schmidt [Sat, 23 May 2009 02:24:54 +0000 (02:24 +0000)]
* Follow-up to r49720: Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good tags that were redundantly defined (per brion's CodeReview comment on that rev).
* Remove some trailing spaces

15 years agoFollowup to r50744: Actually declare the method as public static, and use it in the API
Chad Horohoe [Sat, 23 May 2009 00:05:40 +0000 (00:05 +0000)]
Followup to r50744: Actually declare the method as public static, and use it in the API

15 years agosome more tweaks
Shinjiman [Fri, 22 May 2009 21:24:16 +0000 (21:24 +0000)]
some more tweaks

15 years agotreak some messages
Shinjiman [Fri, 22 May 2009 21:09:39 +0000 (21:09 +0000)]
treak some messages

15 years agoAdded a script for checks any duplicate messages against a message array for a langua...
Shinjiman [Fri, 22 May 2009 21:02:26 +0000 (21:02 +0000)]
Added a script for checks any duplicate messages against a message array for a language, still in a very draft stage.

15 years agoLocalization update.
Rotem Liss [Fri, 22 May 2009 18:53:58 +0000 (18:53 +0000)]
Localization update.

15 years agoFollow up on r49157. Fixed the header parsing code to conform to RFC 2616 section...
Philip Tzou [Fri, 22 May 2009 17:40:00 +0000 (17:40 +0000)]
Follow up on r49157. Fixed the header parsing code to conform to RFC 2616 section 14.4.

15 years agoCleanup: removing obsolete/outdated messages for zh-tw which are same as zh-hant
Shinjiman [Fri, 22 May 2009 17:34:11 +0000 (17:34 +0000)]
Cleanup: removing obsolete/outdated messages for zh-tw which are same as zh-hant

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 22 May 2009 16:46:16 +0000 (16:46 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoRevert a bit of too much escaping
Niklas Laxström [Fri, 22 May 2009 14:35:23 +0000 (14:35 +0000)]
Revert a bit of too much escaping

15 years agoLocalisation updates Cantonese
Shinjiman [Fri, 22 May 2009 13:04:43 +0000 (13:04 +0000)]
Localisation updates Cantonese
obtained from http://zh-yue.wikipedia.org/wiki/Wikipedia:%E7%94%A8%E6%88%B6%E4%BB%8B%E9%9D%A2%E7%BF%BB%E8%AD%AF/MessagesYue.php

15 years agoLocalization update.
Rotem Liss [Fri, 22 May 2009 12:41:12 +0000 (12:41 +0000)]
Localization update.

15 years agorebuild for all messages files
Shinjiman [Fri, 22 May 2009 11:46:13 +0000 (11:46 +0000)]
rebuild for all messages files

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 22 May 2009 11:09:45 +0000 (11:09 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoMessage text rewording to be more precise, as hinted by EugeneZelenko at
Purodha B Blissenbach [Fri, 22 May 2009 10:15:58 +0000 (10:15 +0000)]
Message text rewording to be more precise, as hinted by EugeneZelenko at
http://translatewiki.net/w/i.php?title=Support&oldid=1228524#Searchprofile-articles

15 years ago* Unescape two entities when transforming. Motivation is to allow to use "Foo&nbsp...
Niklas Laxström [Fri, 22 May 2009 09:38:27 +0000 (09:38 +0000)]
* Unescape two entities when transforming. Motivation is to allow to use "Foo&nbsp;:" with escaping, like  Xml::label( wfMsg('daa') ...
* Escaping fix

15 years agoEscaping fixes
Niklas Laxström [Fri, 22 May 2009 09:35:48 +0000 (09:35 +0000)]
Escaping fixes

15 years ago* Fix mimesearch for me... action for some reason was not enough to pass the title
Niklas Laxström [Fri, 22 May 2009 08:51:45 +0000 (08:51 +0000)]
* Fix mimesearch for me... action for some reason was not enough to pass the title
* Escaping

15 years agoLocalization update.
Rotem Liss [Fri, 22 May 2009 05:43:32 +0000 (05:43 +0000)]
Localization update.

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 22 May 2009 03:48:07 +0000 (03:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 22 May 2009 03:26:46 +0000 (03:26 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-21 22:19 UTC)
Siebrand Mazeland [Thu, 21 May 2009 22:28:41 +0000 (22:28 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-21 22:19 UTC)

15 years agoFollow-up to r50869:
Siebrand Mazeland [Thu, 21 May 2009 21:56:02 +0000 (21:56 +0000)]
Follow-up to r50869:
* added messages for advanced preferences to prevent reuse and allow customisation per preference tab
* add colon to 'timezonelegend' for consistency
* update 'prefs-help-recentchangescount'
* remove label 'dateformat'; not needed
* remove unused 'timezoneselect'
* update messages.inc
* rebuild language files

15 years ago(bug 18860) Allow non-anon-only blocks of IPs to block email
Alex Z [Thu, 21 May 2009 20:32:28 +0000 (20:32 +0000)]
(bug 18860) Allow non-anon-only blocks of IPs to block email

15 years agoAdded user preferences category messages
Trevor Parscal [Thu, 21 May 2009 20:26:26 +0000 (20:26 +0000)]
Added user preferences category messages

15 years agoMoved top-level preferences into sub-categories to improve UI consistency.
Trevor Parscal [Thu, 21 May 2009 20:25:03 +0000 (20:25 +0000)]
Moved top-level preferences into sub-categories to improve UI consistency.

15 years agoLocalization update.
Rotem Liss [Thu, 21 May 2009 19:27:55 +0000 (19:27 +0000)]
Localization update.

15 years agoSet French as fallback language
Siebrand Mazeland [Thu, 21 May 2009 18:41:27 +0000 (18:41 +0000)]
Set French as fallback language

15 years ago(bug 13456) categoriespagetext supports PLURAL
Siebrand Mazeland [Thu, 21 May 2009 17:52:43 +0000 (17:52 +0000)]
(bug 13456) categoriespagetext supports PLURAL

15 years ago'pipe-separator' from optional to ignored
Siebrand Mazeland [Thu, 21 May 2009 17:32:45 +0000 (17:32 +0000)]
'pipe-separator' from optional to ignored

15 years ago(bug 18864) Update autonym for Zhuang language
Siebrand Mazeland [Thu, 21 May 2009 17:24:04 +0000 (17:24 +0000)]
(bug 18864) Update autonym for Zhuang language

15 years agoRm some customisations
Niklas Laxström [Thu, 21 May 2009 16:50:37 +0000 (16:50 +0000)]
Rm some customisations

15 years agoRe-adding ApiMain::requestWriteMode() (removed in r48901) for backwards compatibility...
Roan Kattouw [Wed, 20 May 2009 20:07:33 +0000 (20:07 +0000)]
Re-adding ApiMain::requestWriteMode() (removed in r48901) for backwards compatibility: this way extensions can call requestWriteMode() AND define function isWriteMode() { return true; } without causing fatal errors

15 years agoset eol-style
Raimond Spekking [Wed, 20 May 2009 19:12:12 +0000 (19:12 +0000)]
set eol-style

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-20 17:35 UTC)
Raimond Spekking [Wed, 20 May 2009 17:39:10 +0000 (17:39 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-20 17:35 UTC)

15 years agofollow up r50804, adding two further Japanese era names.
Shinjiman [Wed, 20 May 2009 15:49:30 +0000 (15:49 +0000)]
follow up r50804, adding two further Japanese era names.

15 years agofollow up r50804, fix undefined variable error.
Shinjiman [Wed, 20 May 2009 15:08:18 +0000 (15:08 +0000)]
follow up r50804, fix undefined variable error.

15 years agoClarify comment on $wgAllowRealName deprecation
Aryeh Gregor [Wed, 20 May 2009 14:30:47 +0000 (14:30 +0000)]
Clarify comment on $wgAllowRealName deprecation

As suggested by jidanni on bug 18761.

15 years agoLocalization update.
Rotem Liss [Wed, 20 May 2009 12:29:06 +0000 (12:29 +0000)]
Localization update.

15 years ago* (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the month...
Shinjiman [Wed, 20 May 2009 07:14:03 +0000 (07:14 +0000)]
* (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the month number without the leading zero
* added {{CURRENTMONTH2}} and {{LOCALMONTH2}} as alias of {{CURRENTMONTH}} and {{LOCALMONTH}} for consistency with other magic words

15 years agoAdded wfDeprecated too
Niklas Laxström [Wed, 20 May 2009 05:45:18 +0000 (05:45 +0000)]
Added wfDeprecated too

15 years agoFollow-up to r50776. Retaining old method names for backwards compatibility,
Charles Melbye [Wed, 20 May 2009 04:30:03 +0000 (04:30 +0000)]
Follow-up to r50776. Retaining old method names for backwards compatibility,
but making them as deprecated. Patch by ^demon.

15 years ago* (bug 18849) follow up r50778 and r50804, additional date format for Taiwan Chinese...
Shinjiman [Wed, 20 May 2009 03:29:17 +0000 (03:29 +0000)]
* (bug 18849) follow up r50778 and r50804, additional date format for Taiwan Chinese language and Korean language.

15 years agoadditional date format for Taiwan Chinese language, per code review on r50778.
Shinjiman [Wed, 20 May 2009 03:02:46 +0000 (03:02 +0000)]
additional date format for Taiwan Chinese language, per code review on r50778.

15 years ago* (bug 18849) Added Japanese and North Korean calendars support
Shinjiman [Wed, 20 May 2009 01:53:39 +0000 (01:53 +0000)]
* (bug 18849) Added Japanese and North Korean calendars support

15 years agoFix typo in comment
Siebrand Mazeland [Tue, 19 May 2009 23:27:53 +0000 (23:27 +0000)]
Fix typo in comment

15 years agoClean up whitespace, add log_search to Postgres schema.
Greg Sabino Mullane [Tue, 19 May 2009 20:55:29 +0000 (20:55 +0000)]
Clean up whitespace, add log_search to Postgres schema.

15 years agoHandle multi-col primary keys, cleanup new tables.
Greg Sabino Mullane [Tue, 19 May 2009 20:54:52 +0000 (20:54 +0000)]
Handle multi-col primary keys, cleanup new tables.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-19 19:49 UTC)
Siebrand Mazeland [Tue, 19 May 2009 20:18:19 +0000 (20:18 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-19 19:49 UTC)

15 years ago* Fix plural issues
Niklas Laxström [Tue, 19 May 2009 19:44:23 +0000 (19:44 +0000)]
* Fix plural issues

15 years ago(bug 17060) Renders edit comments the same for all users wrt to revdelete
Aaron Schulz [Tue, 19 May 2009 19:19:41 +0000 (19:19 +0000)]
(bug 17060) Renders edit comments the same for all users wrt to revdelete

15 years agoorder fixed
Jure Kajzer [Tue, 19 May 2009 17:23:47 +0000 (17:23 +0000)]
order fixed

15 years agoForgot RELEASE-NOTES
Jure Kajzer [Tue, 19 May 2009 17:20:21 +0000 (17:20 +0000)]
Forgot RELEASE-NOTES

15 years ago(bug 18761) Add setting to hide a list of preferences.
Chad Horohoe [Tue, 19 May 2009 17:07:46 +0000 (17:07 +0000)]
(bug 18761) Add setting to hide a list of preferences.

15 years agofollow up r50778, updating the release notes.
Shinjiman [Tue, 19 May 2009 17:02:55 +0000 (17:02 +0000)]
follow up r50778, updating the release notes.

15 years agoPreparations for Oracle database abstraction update. Take II.
Jure Kajzer [Tue, 19 May 2009 16:58:56 +0000 (16:58 +0000)]
Preparations for Oracle database abstraction update. Take II.
Replaced hardcoded LIMIT clauses with database function (except in maintenance).
Created unionQueries in Database and overloaded it in DatabaseOracle (not commited yet).
Replaced all UNION clauses with function calls (except in maintenance).

15 years agoadded Minguo calendar support for the Taiwan Chinese language
Shinjiman [Tue, 19 May 2009 16:38:21 +0000 (16:38 +0000)]
added Minguo calendar support for the Taiwan Chinese language

15 years agoCleanup to r50310 & 50313: Don't use @ on chmod() and dl(), use wfSuppressWarnings...
Chad Horohoe [Tue, 19 May 2009 16:34:49 +0000 (16:34 +0000)]
Cleanup to r50310 & 50313: Don't use @ on chmod() and dl(), use wfSuppressWarnings()/wfRestoreWarnings()

15 years agoPer code review: Redo these allowBlah() functions (except allowPasswordChange) into...
Chad Horohoe [Tue, 19 May 2009 16:23:58 +0000 (16:23 +0000)]
Per code review: Redo these allowBlah() functions (except allowPasswordChange) into a general allowPropChange(), update Preferences to use this. Checked extensions in SVN using AuthPlugin and none have implemented any of the allow*() functions, so nothing should break.

15 years agoRemove the globals.
Chad Horohoe [Tue, 19 May 2009 16:10:36 +0000 (16:10 +0000)]
Remove the globals.

15 years agoFollowup to 50635: Consolidate all of these hacky global checks into a clean method...
Chad Horohoe [Tue, 19 May 2009 16:08:53 +0000 (16:08 +0000)]
Followup to 50635: Consolidate all of these hacky global checks into a clean method. Also move a global and document it.

15 years agoReverting the code that encloses article sections in their own div for the time being...
Arash Boostani [Tue, 19 May 2009 15:12:05 +0000 (15:12 +0000)]
Reverting the code that encloses article sections in their own div for the time being, because there are certain scenarios that break the document structure.

15 years agochanging the Unihan.zip source from ftp to http in order to getting more stable download.
Shinjiman [Tue, 19 May 2009 14:54:49 +0000 (14:54 +0000)]
changing the Unihan.zip source from ftp to http in order to getting more stable download.

15 years agoCode style tweak, use strval() to make this all much shorter.
Chad Horohoe [Tue, 19 May 2009 14:54:20 +0000 (14:54 +0000)]
Code style tweak, use strval() to make this all much shorter.

15 years agoPartial revert of r49700: per Tim, this should probably stay, since it is likely...
Chad Horohoe [Tue, 19 May 2009 14:51:42 +0000 (14:51 +0000)]
Partial revert of r49700: per Tim, this should probably stay, since it is likely to still work in a PHP4 environment.