Rotem Liss [Sun, 1 Aug 2010 21:44:42 +0000 (21:44 +0000)]
Localization update for he.
Alexandre Emsenhuber [Sun, 1 Aug 2010 21:13:44 +0000 (21:13 +0000)]
Standardisation of file headers
Platonides [Sun, 1 Aug 2010 20:10:31 +0000 (20:10 +0000)]
Specify the kind of cache that it disables: The client one, based on If-modified-since
Alexandre Emsenhuber [Sun, 1 Aug 2010 19:39:57 +0000 (19:39 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Sun, 1 Aug 2010 19:38:36 +0000 (19:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-01 19:06:00 UTC)
Platonides [Sun, 1 Aug 2010 18:05:50 +0000 (18:05 +0000)]
Replace echo + die with die()
Platonides [Sun, 1 Aug 2010 18:03:29 +0000 (18:03 +0000)]
Do not use directly the $options global
Alexandre Emsenhuber [Sun, 1 Aug 2010 15:50:30 +0000 (15:50 +0000)]
* (bug 24418) action=markpatrolled now requires a token
Alexandre Emsenhuber [Sun, 1 Aug 2010 13:13:04 +0000 (13:13 +0000)]
mwScriptLoader.php script has been removed
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:31:50 +0000 (12:31 +0000)]
* Removed trailing whitespaces
* Moved the description comment to the very top and added "@file"
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:28:09 +0000 (12:28 +0000)]
Also exclude StartProfiler.php
Alexandre Emsenhuber [Sun, 1 Aug 2010 12:14:32 +0000 (12:14 +0000)]
* Modified Special:Blockip to subclass SpecialPage
Alexandre Emsenhuber [Sun, 1 Aug 2010 10:43:50 +0000 (10:43 +0000)]
Yes, I forgot to commit this file
Alexandre Emsenhuber [Sun, 1 Aug 2010 10:42:53 +0000 (10:42 +0000)]
* (bug 21503) There's now a "reason" field when creating account for other users
Alexandre Emsenhuber [Sun, 1 Aug 2010 09:20:30 +0000 (09:20 +0000)]
* (bug 24563) Entries on Special:WhatLinksHere now have a link to their history
Alexandre Emsenhuber [Sun, 1 Aug 2010 09:09:48 +0000 (09:09 +0000)]
SpecialPage provides a getTitle() function, so use it
Alexandre Emsenhuber [Sun, 1 Aug 2010 08:59:55 +0000 (08:59 +0000)]
svn:eol-style native
Sam Reed [Sun, 1 Aug 2010 08:49:06 +0000 (08:49 +0000)]
Revert r69907
Siebrand Mazeland [Sun, 1 Aug 2010 08:35:45 +0000 (08:35 +0000)]
Follow-up r70260 / r70256: rename ckb-arab to ckb.
Siebrand Mazeland [Sun, 1 Aug 2010 08:33:20 +0000 (08:33 +0000)]
Follow-up r70256 / bug 24593: remove ckb-latn, preparing to move ckb-arab to ckb.
Max Semenik [Sun, 1 Aug 2010 06:10:10 +0000 (06:10 +0000)]
(bug 24593) Native name for Sorani now uses only Arabic script
Platonides [Sat, 31 Jul 2010 23:26:16 +0000 (23:26 +0000)]
Follow up r70095. Remove the now unused $wgAllowCopyUploads global.
Raimond Spekking [Sat, 31 Jul 2010 21:28:50 +0000 (21:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-31 21:16:00 UTC)
Sam Reed [Sat, 31 Jul 2010 19:53:43 +0000 (19:53 +0000)]
Move a few braces noticed while doing CR
Platonides [Sat, 31 Jul 2010 18:29:20 +0000 (18:29 +0000)]
Remove useless $DP.
Roan confirmed that there was no hidden usage on wmf-config/
The '$DP = $IP;' in CommonSettings.php:94 should be removed, too.
Markus Glaser [Sat, 31 Jul 2010 12:01:55 +0000 (12:01 +0000)]
changed selenium settings to load simple selenium test suite instead of a single test
Markus Glaser [Sat, 31 Jul 2010 12:01:12 +0000 (12:01 +0000)]
load selenium test suite instead of single test
Markus Glaser [Sat, 31 Jul 2010 12:00:10 +0000 (12:00 +0000)]
changed testrunner in order to run suites instead of single tests. Patch supplied by Dan Nessett
Raimond Spekking [Sat, 31 Jul 2010 08:03:05 +0000 (08:03 +0000)]
Bug 24601 - Add mpre namespace aliases for 'ml'
Platonides [Fri, 30 Jul 2010 22:35:02 +0000 (22:35 +0000)]
Remove the require for UtfNormal.php
From r60599, this calls $wgContLang->normalize(), not UtfNormal::cleanUp(),
Mark A. Hershberger [Fri, 30 Jul 2010 20:17:28 +0000 (20:17 +0000)]
* Make parsertests work with interwiki table on sqlite
* re r69542 temporary fix for new-installer + interwiki table
* temporary fix for outputing LocalSettings.php in the CliInstaller
Niklas Laxström [Fri, 30 Jul 2010 20:13:30 +0000 (20:13 +0000)]
Add @since for buildLike
Ryan Schmidt [Fri, 30 Jul 2010 19:56:49 +0000 (19:56 +0000)]
* (bug 24425) Use Database::replace instead of delete/insert in SqlBagOStuff::set to avoid query errors about duplicate keynames.
Mark A. Hershberger [Fri, 30 Jul 2010 19:51:39 +0000 (19:51 +0000)]
Make sure we get a good memCached object.
Raimond Spekking [Fri, 30 Jul 2010 19:14:22 +0000 (19:14 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-30 18:58:00 UTC)
Siebrand Mazeland [Fri, 30 Jul 2010 08:00:29 +0000 (08:00 +0000)]
Update calling function name for MessageCache::loadFromDB() queries
Siebrand Mazeland [Fri, 30 Jul 2010 06:48:16 +0000 (06:48 +0000)]
Stylize.php for remaining messages files.
Philip Tzou [Fri, 30 Jul 2010 02:12:38 +0000 (02:12 +0000)]
Add my credits.
Siebrand Mazeland [Thu, 29 Jul 2010 22:34:13 +0000 (22:34 +0000)]
Remove 'translations' that are equal to the fallback language German.
Raimond Spekking [Thu, 29 Jul 2010 20:16:16 +0000 (20:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-29 20:03:00 UTC)
Mark A. Hershberger [Thu, 29 Jul 2010 19:28:16 +0000 (19:28 +0000)]
follow-up r70126 — better warnings
Aryeh Gregor [Thu, 29 Jul 2010 19:09:52 +0000 (19:09 +0000)]
Two new parser tests related to bug 6200
A patch posted there caused two parser tests for <center> to fail, but
none for <blockquote>, despite making a similar change to both elements.
I've added similar tests for <blockquote> so that they'll fail if a
similar patch is attempted that changes only <blockquote> behavior and
not <center> too.
Aryeh Gregor [Thu, 29 Jul 2010 18:47:58 +0000 (18:47 +0000)]
Whitelist <dfn> element
Bug 671. Harmless, why not. The remaining elements in this vein that
we might want to whitelist include
* <q>: Not yet, inconsistent quote mark handling in browsers
* <address>: Semantics in HTML5 appear to mean it must represent contact
info for the author of the <body> (or <article> if present), which is
almost certain to be useless in user-submitted wiki content; see
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10255
* <kbd>, <samp>: Will add if this is WONTFIXed:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9919
Bryan Tong Minh [Thu, 29 Jul 2010 18:39:42 +0000 (18:39 +0000)]
Fix UploadFromUrl test cases, UploadFromUrlJob::run return value, and disable broken features in UploadFromUrlJob
* Use a more specific filename in UploadFromUrlTest and fix some assertions.
* Return boolean from UploadFromUrlJob::run
* Force ignorewarnings and leavemessage in UploadFromUrlJob
Niklas Laxström [Thu, 29 Jul 2010 18:37:45 +0000 (18:37 +0000)]
Mark escapeLike deprecated, since it is broken
Jeroen De Dauw [Thu, 29 Jul 2010 18:36:39 +0000 (18:36 +0000)]
Added deployment documentation group
Jeroen De Dauw [Thu, 29 Jul 2010 18:25:10 +0000 (18:25 +0000)]
Style and doc improvements
Mark A. Hershberger [Thu, 29 Jul 2010 18:18:03 +0000 (18:18 +0000)]
white-spaced only changes
Max Semenik [Thu, 29 Jul 2010 18:17:11 +0000 (18:17 +0000)]
Fixed exceptions on attempts to serialize DatabaseSqlite. Encountered today by Nike, earlier seen during unit tests. Not implementing __wakeup() because restoring a connection along with its full state would just cause obscure bugs. If null mConn will cause problems (unlikely, because most instances of db object serialization are accidental and the connection is not supposed to be used after deserialization), we'll tweak specific classes that store database objects.
Jeroen De Dauw [Thu, 29 Jul 2010 18:03:25 +0000 (18:03 +0000)]
Style and doc improvements
Jeroen De Dauw [Thu, 29 Jul 2010 17:54:44 +0000 (17:54 +0000)]
Follow up to r70140
Rotem Liss [Thu, 29 Jul 2010 16:03:10 +0000 (16:03 +0000)]
* Localization update for he.
* Fix in en: visible 'File' => '{{ns:file}}', for other languages' localization.
Siebrand Mazeland [Thu, 29 Jul 2010 15:56:46 +0000 (15:56 +0000)]
Messages files rebuilt and partially stylized.
Jeroen De Dauw [Thu, 29 Jul 2010 15:20:04 +0000 (15:20 +0000)]
Removed showStatusMessage from the Installer and WebInstaller classes as it's only used in the CliInstaller
Bryan Tong Minh [Thu, 29 Jul 2010 13:56:08 +0000 (13:56 +0000)]
Follow-up r70137, messages:
* Renamed successfulupload to upload-success-msg
* Renamed upload-successful-subj to upload-success-subj
* Added upload-warning-subj and upload-warning-msg
Bryan Tong Minh [Thu, 29 Jul 2010 13:53:51 +0000 (13:53 +0000)]
Made asynchronous upload by URL working, partly. Hid it behind $wgAllowAsyncCopyUploads. If there are no errors then everything works expected; the same if there are unrecoverable errors. User intervention to solve warnings is not yet possible, because $_SESSION is not available in runJobs. This also means that async with leavemessage = false is broken.
Other changes:
* Moved verifyPermissions check in ApiUpload down pending r70135 implementation in the API.
* In User::leaveMessage: append message to end of talk page; add a newline before the heading
Bryan Tong Minh [Thu, 29 Jul 2010 13:04:34 +0000 (13:04 +0000)]
Uploading to a protected title will allow the user to choose a new name instead of showing an error page
* Made validateNameAndOverwrite protected and moved it to validateName since overwriting is now checked in verifyPermissions()
* Fixed mime verification in case getTitle was not yet called
* Checking for overwrites no longer uses $wgUser
Other changes:
* convertVerifyErrorToStatus now works
* Allow passing the session key to stashSession in UploadFromStash as well
Siebrand Mazeland [Thu, 29 Jul 2010 12:48:56 +0000 (12:48 +0000)]
Remove 'translations' that are equal to the fallback language German.
Siebrand Mazeland [Thu, 29 Jul 2010 12:34:32 +0000 (12:34 +0000)]
Localisation updates for core from translatewiki.net
Sam Reed [Thu, 29 Jul 2010 09:43:18 +0000 (09:43 +0000)]
Stylize languages/*, languages/classes/*, but not languages/messages/*
Bryan Tong Minh [Thu, 29 Jul 2010 09:32:25 +0000 (09:32 +0000)]
Follow-up r60277: Do not return BEFORE_PROCESSING, but void instead.
Sam Reed [Thu, 29 Jul 2010 07:43:10 +0000 (07:43 +0000)]
Followup r29931
Remove UNDELETE_UNKNOWNERR (was removed in that rev, so hence, undefined now)
Do a wfDebug() and return false
Sam Reed [Thu, 29 Jul 2010 07:20:02 +0000 (07:20 +0000)]
Replace self with PPFrame to define proper location of some constants
Mark A. Hershberger [Thu, 29 Jul 2010 02:44:23 +0000 (02:44 +0000)]
Add detection for unicode normalization. Next step: use what we find! :)
I think I want to point to an as-yet-to-be-created page on MediaWiki.org to help people understand what to do if they're stuck with pure PHP normalization, but any pointers here would help.
Niklas Laxström [Wed, 28 Jul 2010 21:59:40 +0000 (21:59 +0000)]
Explicitly set mysql charsets to binary if not using utf-8 schema.
Apparently some distros are setting utf-8 as the default, which
would cause sql query errors if not using utf-8 schema.
Niklas Laxström [Wed, 28 Jul 2010 21:05:15 +0000 (21:05 +0000)]
Better error message if hook function signature does not match parameters.
Also took the opportunity to write a short essay why this made me annoyed.
Derk-Jan Hartman [Wed, 28 Jul 2010 19:38:59 +0000 (19:38 +0000)]
Cleanup debug and comments of r68324
Derk-Jan Hartman [Wed, 28 Jul 2010 19:24:00 +0000 (19:24 +0000)]
Recognize webm and matroska files. See also Bug 23888
Currently all webm files are stored as video/webm. It is not possible to detect
wether this file is an audio file without using a full parser. This is why We should
really move mime and mediatype accessors to the MediaHandlers.
Using video/x-matroska for MKV files. There is no official mime for MKV (though the
webm isn't official either, but everyone is already using it apparently).
Raimond Spekking [Wed, 28 Jul 2010 18:56:42 +0000 (18:56 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-28 18:32:00 UTC)
Bryan Tong Minh [Wed, 28 Jul 2010 17:31:32 +0000 (17:31 +0000)]
Refactor some code out of execute into selectUploadModule. Fixed an undefined variable.
Bryan Tong Minh [Wed, 28 Jul 2010 17:14:51 +0000 (17:14 +0000)]
Restructured upload-by-url:
* In ApiUpload: moved stuff that is checking instead of actual uploading out of performUpload method
* Made UploadFromUrl conform to standards:
** In initialize* do only initialization, no actual work
** Moved file fetching to fetchFile
** Consistent use of tempnam()
** Perform the uploading in performUpload, don't define our own doUpload method
* Moved almost all job magic to the UploadFromUrlJob class. This way the job is almost a regular client, and we don't need many special cases to deal with async uploading.
* Made leaving a message optional; results will be stored in the session otherwise
I did not actually test the async uploading, because I first wanted to commit a properly working synchronous upload-by-url system.
Platonides [Wed, 28 Jul 2010 13:51:42 +0000 (13:51 +0000)]
It's very nice having a fallback iconv() function, but we should take into account that Language.php calls it with the //IGNORE making the fallback a nop.
This fixes the two phpunit tests of Revision of Legacy encoding when native iconv is not available in php.
Allow js_unescape to take advantage of our wrapper, too. (although that function seems completely unused...)
Bryan Tong Minh [Wed, 28 Jul 2010 13:43:38 +0000 (13:43 +0000)]
Style fixes on UploadFromUrl.php
Platonides [Wed, 28 Jul 2010 12:11:46 +0000 (12:11 +0000)]
Remove unused global $IP
Platonides [Wed, 28 Jul 2010 12:07:53 +0000 (12:07 +0000)]
From globals to parameters: $columns, $exceptions, $verbose
New line after the error messages.
Platonides [Wed, 28 Jul 2010 11:46:33 +0000 (11:46 +0000)]
Remove the $wg since this is not a global.
Bryan Tong Minh [Wed, 28 Jul 2010 11:30:14 +0000 (11:30 +0000)]
(bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or one of the backlinks generators with limit=max.
Ævar Arnfjörð Bjarmason [Wed, 28 Jul 2010 07:17:54 +0000 (07:17 +0000)]
installer: Fix grammar error in r70053 pointed out by github.com/wlangstroth
The comment was at http://github.com/mediawiki/mediawiki-trunk-phase3/commit/
89cc046998c41895dc9199e5ecb06efba5aee8ab
OverlordQ [Wed, 28 Jul 2010 05:08:21 +0000 (05:08 +0000)]
Followup to r69961, update PG schema
Tim Starling [Wed, 28 Jul 2010 04:12:36 +0000 (04:12 +0000)]
Reintroduced the extractRequestParams() memoization as in r69782, but respecting $parseLimit. Fixes bug 24564 (fatal error due to duplicate calls to addValue()).
Chad Horohoe [Tue, 27 Jul 2010 22:35:05 +0000 (22:35 +0000)]
Be more firm in telling users to download LocalSettings. I'm sure somebody's still going to complain...someone always does
Bryan Tong Minh [Tue, 27 Jul 2010 21:53:52 +0000 (21:53 +0000)]
Follow-up r70037: Fix ApiUpload by passing a WebRequestUpload to the the initializer
Follow-up r64403 and r69911: Fix broken upload from stash in Api.
Please tests your commits, even if the change seems totally harmless. You can use <http://mwclient.svn.sourceforge.net/viewvc/mwclient/tests/upload_api_test.py?revision=HEAD&view=markup> to automatically test uploading via the Api.
Bryan Tong Minh [Tue, 27 Jul 2010 20:54:34 +0000 (20:54 +0000)]
Follow-up r70037: Move isIniSizeOverflow magic to WebRequestUpload
Rotem Liss [Tue, 27 Jul 2010 20:47:16 +0000 (20:47 +0000)]
Localization update for he.
Platonides [Tue, 27 Jul 2010 20:44:42 +0000 (20:44 +0000)]
Commit some renderDump improvements
Platonides [Tue, 27 Jul 2010 20:39:09 +0000 (20:39 +0000)]
Actually use the global.
Bryan Tong Minh [Tue, 27 Jul 2010 20:38:36 +0000 (20:38 +0000)]
(bug 23380) Uploaded files that are larger than allowed by PHP now show a useful error message.
Introduced a WebRequestUpload class which is a wrapper around $_FILES and contains all getUpload* and getFile* methods. This has as advantage that the upload can be passed along without $wgRequest. Also because I like objects.
Aryeh Gregor [Tue, 27 Jul 2010 19:55:47 +0000 (19:55 +0000)]
Remove dead code added in r36814
None of the constructors will set $this->mTitle but not $this->mName,
and those are both private member variables. r69813 demonstrates that
no one had ever hit this code since it was first added in June 2008,
because it would have resulted in a fatal.
Siebrand Mazeland [Tue, 27 Jul 2010 19:36:07 +0000 (19:36 +0000)]
Localisation updates for core messages from translatewiki.net. Adding several new localisations:
* Moroccan Spoken Arabic (ary)
* Banjar (bjn)
* Kabardian (kdb)
* Kabardian (Cyrillic) (kbd-cyrl)
* Dutch (informal) (nl-informal)
Siebrand Mazeland [Tue, 27 Jul 2010 19:07:39 +0000 (19:07 +0000)]
Localisation updates for core messages from translatewiki.net
Platonides [Tue, 27 Jul 2010 18:52:19 +0000 (18:52 +0000)]
$wgMemc at line 563 was only the global if $wgPasswordAttemptThrottle was an array
Aren't globals funny?
Platonides [Tue, 27 Jul 2010 18:47:30 +0000 (18:47 +0000)]
Finish fixing r69883
Siebrand Mazeland [Tue, 27 Jul 2010 18:34:37 +0000 (18:34 +0000)]
Update single quotes to double quotes for consistency.
Platonides [Tue, 27 Jul 2010 18:33:04 +0000 (18:33 +0000)]
Use the canonical names for classes.
Siebrand Mazeland [Tue, 27 Jul 2010 17:23:06 +0000 (17:23 +0000)]
Partial revert of r69883. Broke page deletion because of missing global.
Nikerabbit suggested complete revert of r69883.
Daniel Kinzler [Tue, 27 Jul 2010 15:35:24 +0000 (15:35 +0000)]
vector accessibility: make a:focus like a:hover
Platonides [Tue, 27 Jul 2010 13:19:52 +0000 (13:19 +0000)]
Remove double global.
Platonides [Tue, 27 Jul 2010 13:19:16 +0000 (13:19 +0000)]
There's no longer a $wgLoadBalancer global. Replace with wfGetLB().
At least the isset() ensured do_templatelinks_update() didn't die.
Platonides [Tue, 27 Jul 2010 13:07:24 +0000 (13:07 +0000)]
Do not complain that the main namespace is not translated to other languages.
Platonides [Tue, 27 Jul 2010 12:30:19 +0000 (12:30 +0000)]
Use MediaWiki wfTempDir() and tempnam() instead of global $tmpPath and rand()