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 :" with escaping, like Xml::label( wfMsg('daa') ...
* Escaping fix
Niklas Laxström [Fri, 22 May 2009 09:35:48 +0000 (09:35 +0000)]
Escaping fixes
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
Rotem Liss [Fri, 22 May 2009 05:43:32 +0000 (05:43 +0000)]
Localization update.
Shinjiman [Fri, 22 May 2009 03:48:07 +0000 (03:48 +0000)]
Localisation 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
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)
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
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
Trevor Parscal [Thu, 21 May 2009 20:26:26 +0000 (20:26 +0000)]
Added user preferences category messages
Trevor Parscal [Thu, 21 May 2009 20:25:03 +0000 (20:25 +0000)]
Moved top-level preferences into sub-categories to improve UI consistency.
Rotem Liss [Thu, 21 May 2009 19:27:55 +0000 (19:27 +0000)]
Localization update.
Siebrand Mazeland [Thu, 21 May 2009 18:41:27 +0000 (18:41 +0000)]
Set French as fallback language
Siebrand Mazeland [Thu, 21 May 2009 17:52:43 +0000 (17:52 +0000)]
(bug 13456) categoriespagetext supports PLURAL
Siebrand Mazeland [Thu, 21 May 2009 17:32:45 +0000 (17:32 +0000)]
'pipe-separator' from optional to ignored
Siebrand Mazeland [Thu, 21 May 2009 17:24:04 +0000 (17:24 +0000)]
(bug 18864) Update autonym for Zhuang language
Niklas Laxström [Thu, 21 May 2009 16:50:37 +0000 (16:50 +0000)]
Rm some customisations
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
Raimond Spekking [Wed, 20 May 2009 19:12:12 +0000 (19:12 +0000)]
set eol-style
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)
Shinjiman [Wed, 20 May 2009 15:49:30 +0000 (15:49 +0000)]
follow up r50804, adding two further Japanese era names.
Shinjiman [Wed, 20 May 2009 15:08:18 +0000 (15:08 +0000)]
follow up r50804, fix undefined variable error.
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.
Rotem Liss [Wed, 20 May 2009 12:29:06 +0000 (12:29 +0000)]
Localization update.
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
Niklas Laxström [Wed, 20 May 2009 05:45:18 +0000 (05:45 +0000)]
Added wfDeprecated too
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.
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.
Shinjiman [Wed, 20 May 2009 03:02:46 +0000 (03:02 +0000)]
additional date format for Taiwan Chinese language, per code review on r50778.
Shinjiman [Wed, 20 May 2009 01:53:39 +0000 (01:53 +0000)]
* (bug 18849) Added Japanese and North Korean calendars support
Siebrand Mazeland [Tue, 19 May 2009 23:27:53 +0000 (23:27 +0000)]
Fix typo in comment
Greg Sabino Mullane [Tue, 19 May 2009 20:55:29 +0000 (20:55 +0000)]
Clean up whitespace, add log_search to Postgres schema.
Greg Sabino Mullane [Tue, 19 May 2009 20:54:52 +0000 (20:54 +0000)]
Handle multi-col primary keys, cleanup new tables.
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)
Niklas Laxström [Tue, 19 May 2009 19:44:23 +0000 (19:44 +0000)]
* Fix plural issues
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
Jure Kajzer [Tue, 19 May 2009 17:23:47 +0000 (17:23 +0000)]
order fixed
Jure Kajzer [Tue, 19 May 2009 17:20:21 +0000 (17:20 +0000)]
Forgot RELEASE-NOTES
Chad Horohoe [Tue, 19 May 2009 17:07:46 +0000 (17:07 +0000)]
(bug 18761) Add setting to hide a list of preferences.
Shinjiman [Tue, 19 May 2009 17:02:55 +0000 (17:02 +0000)]
follow up r50778, updating the release notes.
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).
Shinjiman [Tue, 19 May 2009 16:38:21 +0000 (16:38 +0000)]
added Minguo calendar support for the Taiwan Chinese language
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()
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.
Chad Horohoe [Tue, 19 May 2009 16:10:36 +0000 (16:10 +0000)]
Remove the globals.
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.
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.
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.
Chad Horohoe [Tue, 19 May 2009 14:54:20 +0000 (14:54 +0000)]
Code style tweak, use strval() to make this all much shorter.
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.
Tim Starling [Tue, 19 May 2009 08:01:36 +0000 (08:01 +0000)]
Reverted r46706, misses essential updates, the feature can easily be implemented another way (see CodeReview). For 1.15.
Aaron Schulz [Mon, 18 May 2009 22:15:12 +0000 (22:15 +0000)]
Fixed bug in r49227; use raw function now
Aaron Schulz [Mon, 18 May 2009 20:21:12 +0000 (20:21 +0000)]
Removed unused broken line
Brion Vibber [Mon, 18 May 2009 20:20:58 +0000 (20:20 +0000)]
Follow-up to r50689 "* (bug 18389) Localise numbers in EXIF data (patch by Marcus Buck and Ahmad Sherif). Possible FIXME: Is said not to work for "Exif version" and fraction in "Exposure time""
Fixes the fraction formatting for the exposure time. Haven't actually seen anything with exif version?
Brion Vibber [Mon, 18 May 2009 19:08:53 +0000 (19:08 +0000)]
Move wfDebug() call about use of PHP mail() function to _before_ we mess around with warning/error reporting.
Previously, a failure to open the debug log file for writing would end up getting reported as a failure of mail delivery, even though we were successful.
It'll now fail silently (as it should) and won't interfere with the actual mail() call's error reporting.
Brion Vibber [Mon, 18 May 2009 18:52:53 +0000 (18:52 +0000)]
Revert r50721 "(bug 18834) Commit Patch from User Joshua C. Lerner <jlerner@gmail.com> for include/Linker.php"
* Fails to explain purpose of patch
* use of SQL variable interpolation without using standard encoded variable naming convention; looks unsafe and makes review harder
* Code has issues already noted; follow-up code was also reverted.
Code needs a little more cooking I think. :)
Brion Vibber [Mon, 18 May 2009 18:48:36 +0000 (18:48 +0000)]
Revert r50727 "* (bug 18834) Show how many edits will rollback if $wgShowRollbackEditCount is set true in LocalSettings.php, bugfixes for r50721"
* Seems to combine unrelated changes, which complicates code review and management
* Patch is incomplete, missing default settings etc.
Robin Pepermans [Mon, 18 May 2009 18:45:09 +0000 (18:45 +0000)]
remove "+"
Robin Pepermans [Mon, 18 May 2009 18:40:18 +0000 (18:40 +0000)]
(bug 17399) CSS class for "(top)" on Special:Contributions. Patch by Umherirrender.
Jan Luca Naumann [Mon, 18 May 2009 18:25:06 +0000 (18:25 +0000)]
* (bug 18834) Show how many edits will rollback if $wgShowRollbackEditCount is set true in LocalSettings.php, bugfixes for r50721
Rotem Liss [Mon, 18 May 2009 16:26:39 +0000 (16:26 +0000)]
Localization update for he, and rebuilding en.
Jan Luca Naumann [Mon, 18 May 2009 14:20:46 +0000 (14:20 +0000)]
(bug 18834) Commit Patch from User Joshua C. Lerner <jlerner@gmail.com> for include/Linker.php
Siebrand Mazeland [Mon, 18 May 2009 11:51:51 +0000 (11:51 +0000)]
* mark up "Warning:" the same way in all Messages
* remove some ALLCAPS usage.
Shinjiman [Mon, 18 May 2009 10:45:01 +0000 (10:45 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
X! [Mon, 18 May 2009 01:12:52 +0000 (01:12 +0000)]
Watchlist now has a specialized <div> tag that contains a unique class for each page
Siebrand Mazeland [Sun, 17 May 2009 20:39:11 +0000 (20:39 +0000)]
* replace hard coded namespace numbers by the php define
* remove leading spaces, and replace leading space blocks by tabs
Inspired by a patch by jidanni in bug 18273.
Siebrand Mazeland [Sun, 17 May 2009 19:28:02 +0000 (19:28 +0000)]
(bug 18432) Updated documentation for dumpBackup.php (patch contributed by Jidanni)
Siebrand Mazeland [Sun, 17 May 2009 19:23:12 +0000 (19:23 +0000)]
(bug 18411) The upload form now also checks post_max_size (patch contributed by Enukarmers, updated by Stefano Codari)
Siebrand Mazeland [Sun, 17 May 2009 19:04:05 +0000 (19:04 +0000)]
(bug 18342) insertTags works in edit summary box now (patch contributed by Ahmad Sherif)
Rotem Liss [Sun, 17 May 2009 18:42:22 +0000 (18:42 +0000)]
Localization update for he.
Siebrand Mazeland [Sun, 17 May 2009 18:12:13 +0000 (18:12 +0000)]
Follow-up on r50701. Close bold on WARNING.
Siebrand Mazeland [Sun, 17 May 2009 17:55:15 +0000 (17:55 +0000)]
(bug 18438) Tweak HTML for preview bar for consistency and accessibility (patch contributed by Happy-melon with tweaks by siebrand)
Siebrand Mazeland [Sun, 17 May 2009 17:32:25 +0000 (17:32 +0000)]
(bug 18466) Add note or warning when overruling a move (semi-)protection (patch by Nakon with tweaks by Siebrand)
Niklas Laxström [Sun, 17 May 2009 15:44:51 +0000 (15:44 +0000)]
* Follow-up for r50691, add \n to be safe in case there is line-start sensitive markup
Siebrand Mazeland [Sun, 17 May 2009 14:57:30 +0000 (14:57 +0000)]
(bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification (patch by Happy-melon)
Siebrand Mazeland [Sun, 17 May 2009 14:34:28 +0000 (14:34 +0000)]
* (bug 18389) Localise numbers in EXIF data (patch by Marcus Buck and Ahmad Sherif). Possible FIXME: Is said not to work for "Exif version" and fraction in "Exposure time"
* limit lines in RELEASE-NOTES to 80 characters and remove trailing whitespace
Siebrand Mazeland [Sun, 17 May 2009 14:17:55 +0000 (14:17 +0000)]
(bug 18806) Use correct unicode characters in spelling of native Chuvash
Alexandre Emsenhuber [Sun, 17 May 2009 13:54:58 +0000 (13:54 +0000)]
replace ereg(i) by preg_match since the former is deprecated since PHP 5.3
Siebrand Mazeland [Sun, 17 May 2009 10:33:28 +0000 (10:33 +0000)]
Localisation updates from translatewiki.net
* new localisation Lower Silesian (Schläsch) (sli)
* new localisation Uyghur (Arabic script) (ug-arab)
Siebrand Mazeland [Sun, 17 May 2009 10:23:04 +0000 (10:23 +0000)]
Localisation updates from translatewiki.net
* special pages aliases, magic words, namespace names and namespace aliases
Siebrand Mazeland [Sun, 17 May 2009 09:16:22 +0000 (09:16 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-17 09:04 UTC)
Chad Horohoe [Sun, 17 May 2009 00:09:30 +0000 (00:09 +0000)]
Rm unused $wgLang and some trailing whitespace.
Alexandre Emsenhuber [Sat, 16 May 2009 20:12:29 +0000 (20:12 +0000)]
* fix MessageCache::get()'s $isFullKey param: full key is "msg/lang" as in MediaWiki namespace, not "lang/msg"
* whitespaces tweaks
Alexandre Emsenhuber [Sat, 16 May 2009 19:35:03 +0000 (19:35 +0000)]
fix for r50667: consistency with other hooks: removed "* " before params
Alexandre Emsenhuber [Sat, 16 May 2009 19:32:12 +0000 (19:32 +0000)]
Document "MessageNotInMwNs" hook
Alexandre Emsenhuber [Fri, 15 May 2009 20:57:37 +0000 (20:57 +0000)]
Fix for r50642: forgot to rebuild "qqq"
Alexandre Emsenhuber [Fri, 15 May 2009 20:09:30 +0000 (20:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-15 20:05 UTC)
Aryeh Gregor [Fri, 15 May 2009 19:43:09 +0000 (19:43 +0000)]
(bug 16912) Tooltips on images with link= disappear
Patch based on one by Derk-Jan Hartman, which he wasn't able to commit
because he didn't have a MediaWiki installation to test on. One fix
made, and parser tests added.
Aryeh Gregor [Fri, 15 May 2009 19:23:00 +0000 (19:23 +0000)]
Add --setversion option to parserTests
This overrides the version string stored in the database with --record.
When using git-svn, you can do
php maintenance/parserTests.php --quick --quiet --record \
--setversion=`git rev-parse HEAD`
to have comprehensible version info stored for the purposes of later
bisection. Previously just "1.16alpha" would be stored, which is
useless for tracking down the old revision -- you'd have to try guessing
based on date.
It might be useful for SpecialVersion::getVersion() to support git-svn,
but that's a more complicated and intrusive change for an admittedly
small minority, so I avoided it for now.
Aryeh Gregor [Fri, 15 May 2009 19:01:06 +0000 (19:01 +0000)]
Fix parsertests with $wgSectionContainers=true
Chad Horohoe [Fri, 15 May 2009 17:21:31 +0000 (17:21 +0000)]
Use getTitle() instead of getTitleFor()
Chad Horohoe [Fri, 15 May 2009 17:08:38 +0000 (17:08 +0000)]
(bug 18549) Make Special:Blockip (and api action=block) respect $wgEnableUserEmail and $wgSysopEmailBans
Chad Horohoe [Fri, 15 May 2009 16:43:09 +0000 (16:43 +0000)]
Don't need to use $wgUser, isValidEmailAddr() is static.
Alexandre Emsenhuber [Fri, 15 May 2009 11:34:18 +0000 (11:34 +0000)]
Follow-up r50567: also update PostgreSQL and SQLite schema
Roan Kattouw [Fri, 15 May 2009 10:42:25 +0000 (10:42 +0000)]
Fix up r50600, which had no effect
Alexandre Emsenhuber [Fri, 15 May 2009 10:16:13 +0000 (10:16 +0000)]
* Fix comment
* Removed "- 1" when incrementing $blockStart and $blockEnd so that LOG_SEARCH_BATCH_SIZE is respected
Alexandre Emsenhuber [Fri, 15 May 2009 09:37:11 +0000 (09:37 +0000)]
Tweak for r50609: use $wgDatabase rather than wfGetDB( DB_MASTER )
Aaron Schulz [Fri, 15 May 2009 05:25:46 +0000 (05:25 +0000)]
Add newline to echo call
Tim Starling [Fri, 15 May 2009 02:49:06 +0000 (02:49 +0000)]
Fix breakage of SQLite ResultWrapper due to r45769. The "result" member in SQLite is actually an array and so passing by value to DatabaseSqlite::fetchObject() makes it fail to iterate. We can't really pass it by reference since that's an E_STRICT error due to a parameter type mismatch with Database. Pass the ResultWrapper instead.
This means that nothing at all should be passing bare result objects/arrays to Database*::fetchObject() anymore. The "instanceof ResultWrapper" logic can be removed in a subsequent commit. It can stay in this one for now for safer backport to 1.15.
Brion Vibber [Thu, 14 May 2009 23:06:53 +0000 (23:06 +0000)]
Populate log_search during update.php run and store an update status row when we're done.