Platonides [Wed, 3 Mar 2010 18:18:15 +0000 (18:18 +0000)]
Escape the caret under Windows, since that's a special character for cmd shell.
Bug 13518 - <math> does not work (wrong shell escaping under Windows)
Raimond Spekking [Wed, 3 Mar 2010 13:07:23 +0000 (13:07 +0000)]
(bug 12797) Allow adjusting of default gallery display options
Conrad Irwin [Wed, 3 Mar 2010 02:41:14 +0000 (02:41 +0000)]
Merge fixes to ?preload= from /branches/conrad/ (cf. bug 5210, r62864, r62035)
Raimond Spekking [Tue, 2 Mar 2010 20:16:33 +0000 (20:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-02 20:00 UTC)
Jure Kajzer [Tue, 2 Mar 2010 16:58:21 +0000 (16:58 +0000)]
oracle: missing table prefix
Jure Kajzer [Tue, 2 Mar 2010 16:26:38 +0000 (16:26 +0000)]
tables.sql for oracle missing prefix
Raimond Spekking [Tue, 2 Mar 2010 14:11:59 +0000 (14:11 +0000)]
Add 'vector' as new skin example, remove the ancient skins as example
Backport to 1.16 follows
Aaron Schulz [Mon, 1 Mar 2010 22:47:12 +0000 (22:47 +0000)]
* Split up logLine() with helper functions
* Added NO_EXTRA_USER_LINKS param to hide talk|contribs links
* Fixed bizarre $time comparison (compared display time and a UNIX const time)
* Added 'flags' param to showLogExtract() params
Alexandre Emsenhuber [Mon, 1 Mar 2010 21:36:57 +0000 (21:36 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Mon, 1 Mar 2010 21:07:04 +0000 (21:07 +0000)]
Per Simetrical's comment on r63048: use "$user instanceof User" so that it won't break whatever User::newFromName() returns on failure
Alexandre Emsenhuber [Mon, 1 Mar 2010 21:01:26 +0000 (21:01 +0000)]
* (bug 22664) Special:Userrights now accepts '0' as a valid user name
Raimond Spekking [Mon, 1 Mar 2010 19:42:34 +0000 (19:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-03-01 19:00 UTC)
Rotem Liss [Mon, 1 Mar 2010 18:39:09 +0000 (18:39 +0000)]
Localization update for he.
Shinjiman [Mon, 1 Mar 2010 02:17:30 +0000 (02:17 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Raimond Spekking [Sun, 28 Feb 2010 19:45:50 +0000 (19:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-28 19:00 UTC)
Aryeh Gregor [Sun, 28 Feb 2010 19:34:23 +0000 (19:34 +0000)]
Spell variables correctly
Domas Mituzas [Sun, 28 Feb 2010 17:38:26 +0000 (17:38 +0000)]
per lt.php.net/ArrayAccess, offsetSet and offsetUnset ar both void and shouldn't be returning data
Siebrand Mazeland [Sun, 28 Feb 2010 16:56:36 +0000 (16:56 +0000)]
Update magic words from translatewiki.net
Alexandre Emsenhuber [Sun, 28 Feb 2010 15:43:51 +0000 (15:43 +0000)]
* Fixed some doxygen warnings
* Documented a bit
Chad Horohoe [Sun, 28 Feb 2010 12:32:33 +0000 (12:32 +0000)]
Remove $wgVariant from HISTORY, Tim removed it in r55746. Will backport to 1.16 RELEASE-NOTES
Aaron Schulz [Sat, 27 Feb 2010 22:56:48 +0000 (22:56 +0000)]
Deprecate revText(), redundant
Alexandre Emsenhuber [Sat, 27 Feb 2010 21:09:15 +0000 (21:09 +0000)]
* Fixed some doxygen warnings
* Documented a bit
Alexandre Emsenhuber [Sat, 27 Feb 2010 20:22:56 +0000 (20:22 +0000)]
* (bug 22606) The body of e-mail address confirmation message is now different when the address changed
Raimond Spekking [Sat, 27 Feb 2010 19:16:22 +0000 (19:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-27 19:00 UTC)
Alexandre Emsenhuber [Sat, 27 Feb 2010 16:15:41 +0000 (16:15 +0000)]
* (bugs 22665 and 22667) User '0' can now be unblocked and have its block settings changed
Alexandre Emsenhuber [Sat, 27 Feb 2010 15:24:49 +0000 (15:24 +0000)]
* (bug 22666) Submitting user block form with an invalid user name no longer throws an error
Bryan Tong Minh [Sat, 27 Feb 2010 14:52:53 +0000 (14:52 +0000)]
* Allow string to be passed to showUploadForm to make porting old extensions easier
* Add mUploadSuccessful so that subclasses know if the upload was successful
Bryan Tong Minh [Sat, 27 Feb 2010 13:58:14 +0000 (13:58 +0000)]
Fix upload hook params
Max Semenik [Fri, 26 Feb 2010 20:18:48 +0000 (20:18 +0000)]
Uncommented line from r63018
Max Semenik [Fri, 26 Feb 2010 20:14:28 +0000 (20:14 +0000)]
(bug 17560) Half-broken deletion moved image files to deletion archive without updating DB
Roan Kattouw [Fri, 26 Feb 2010 18:24:58 +0000 (18:24 +0000)]
API: Don't unstub $wgContLang in ApiBase::getValidNamespaces()
Jack Phoenix [Fri, 26 Feb 2010 13:18:56 +0000 (13:18 +0000)]
API: fix copyright symbol, coding style cleanup, more braces
Alexandre Emsenhuber [Fri, 26 Feb 2010 09:04:14 +0000 (09:04 +0000)]
Fix for r63000: remove the "!" in the check
Alexandre Emsenhuber [Fri, 26 Feb 2010 08:53:06 +0000 (08:53 +0000)]
Fixes to r62995:
* Avoid fatal error if $wgProfiler is either not a object (ProfilerStub.php) or an instance of Profiler
* Set $wgProfiler to null in ProfilerStub.php so that $wgProfiler doesn't need to be checked with "isset" first, updated check in GlobalFunctions.php accordingly
Aaron Schulz [Fri, 26 Feb 2010 07:29:38 +0000 (07:29 +0000)]
Moved MediaTransformOutput.php to /media dir
Aaron Schulz [Fri, 26 Feb 2010 07:11:01 +0000 (07:11 +0000)]
r62907: removed static calls, renamed helper functions
Mark A. Hershberger [Fri, 26 Feb 2010 04:48:47 +0000 (04:48 +0000)]
fixes bug 20388; follow up r60216. Make sure ProfilerSimpleText output only appears on templated/html output, not action=raw or atom output
Mark A. Hershberger [Fri, 26 Feb 2010 02:41:49 +0000 (02:41 +0000)]
follow-up r61836 - allow any URL
Mark A. Hershberger [Fri, 26 Feb 2010 02:34:00 +0000 (02:34 +0000)]
follow up r61715 - minor style nit
Mark A. Hershberger [Fri, 26 Feb 2010 02:28:32 +0000 (02:28 +0000)]
follow up r62950 - fix the one instance where we could use a $db instance
Tim Starling [Thu, 25 Feb 2010 23:06:33 +0000 (23:06 +0000)]
Fix for MySQL 4.0
Alexandre Emsenhuber [Thu, 25 Feb 2010 22:03:36 +0000 (22:03 +0000)]
* Fixed some doxygen warnings
* Documented a bit
Raimond Spekking [Thu, 25 Feb 2010 20:11:51 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-25 19:50 UTC)
Rotem Liss [Thu, 25 Feb 2010 19:18:49 +0000 (19:18 +0000)]
Localization update for he, and whitespace fix in en.
Max Semenik [Thu, 25 Feb 2010 17:50:26 +0000 (17:50 +0000)]
fix debug logging from r62967
Max Semenik [Thu, 25 Feb 2010 17:44:43 +0000 (17:44 +0000)]
(bug 17790) Users instantly logged off on HughesNet
Roan Kattouw [Thu, 25 Feb 2010 16:04:04 +0000 (16:04 +0000)]
Add @since 1.17 to Skin::addToSidebarPlain() per Nikerabbit
Roan Kattouw [Thu, 25 Feb 2010 15:58:29 +0000 (15:58 +0000)]
Rename Skin::addToSidebar() to Skin::addToSidebarPlain() and have it take plain text instead of a message key so it's actually useful to extensions that want to modify the sidebar in a non-message-based way (like DynamicSidebar). Kept addToSidebar() as a wrapper for backwards compatibility
Mark A. Hershberger [Thu, 25 Feb 2010 09:33:17 +0000 (09:33 +0000)]
follow up r62948 handle oracle prefix
Mark A. Hershberger [Thu, 25 Feb 2010 09:15:19 +0000 (09:15 +0000)]
Fix search-and-replace error
Mark A. Hershberger [Thu, 25 Feb 2010 04:37:21 +0000 (04:37 +0000)]
* Make tests work better together. Tests are now skipped or marked incomplete.
* Make it possible to call deleteArchived{Revisions,Files} from within tests to do cleanup.
Max Semenik [Wed, 24 Feb 2010 17:42:23 +0000 (17:42 +0000)]
Updated history for r62930
Max Semenik [Wed, 24 Feb 2010 17:21:48 +0000 (17:21 +0000)]
Renamed syntaxChecker.php --> checkSyntax, our convention seems to prefer verbs. Also, fixed it to handle --modified with renamed files correctly :P
X! [Wed, 24 Feb 2010 17:06:19 +0000 (17:06 +0000)]
Whoops, committed wrong version
X! [Wed, 24 Feb 2010 17:04:21 +0000 (17:04 +0000)]
PARAM_TYPE 'user' now works for multi-values
Niklas Laxström [Wed, 24 Feb 2010 16:21:52 +0000 (16:21 +0000)]
Tidy up OutputPage::includeJQuery
Niklas Laxström [Wed, 24 Feb 2010 16:06:55 +0000 (16:06 +0000)]
Little docs to help developers keep track of versions...
Jack Phoenix [Wed, 24 Feb 2010 14:45:19 +0000 (14:45 +0000)]
API: fix copyright symbol, coding style cleanup, more braces
Rotem Liss [Wed, 24 Feb 2010 14:36:50 +0000 (14:36 +0000)]
Localization fix.
Rotem Liss [Wed, 24 Feb 2010 14:36:31 +0000 (14:36 +0000)]
Localization update for he.
Jack Phoenix [Wed, 24 Feb 2010 14:00:23 +0000 (14:00 +0000)]
API: fix copyright symbol, coding style cleanup, more braces
Jack Phoenix [Wed, 24 Feb 2010 13:34:11 +0000 (13:34 +0000)]
API: fix copyright symbol, coding style cleanup, more braces
Roan Kattouw [Wed, 24 Feb 2010 12:18:51 +0000 (12:18 +0000)]
Add OptIn.sql to addwiki.php
Aaron Schulz [Wed, 24 Feb 2010 04:14:45 +0000 (04:14 +0000)]
* Moved truncateHtml() to language.php
* Renamed $maxLen -> $length
* Made $length=0 case match truncate()
Aaron Schulz [Wed, 24 Feb 2010 03:38:06 +0000 (03:38 +0000)]
Removed unused var
Mark A. Hershberger [Wed, 24 Feb 2010 00:45:54 +0000 (00:45 +0000)]
follow up r62806 - use “wb” for windows
Chad Horohoe [Tue, 23 Feb 2010 20:37:52 +0000 (20:37 +0000)]
Reduce code duplication by adding conditions to $conds directly, rather than adding them to a temporary variable and then later adding them
Raimond Spekking [Tue, 23 Feb 2010 19:46:25 +0000 (19:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-23 19:00 UTC)
Chad Horohoe [Tue, 23 Feb 2010 18:40:24 +0000 (18:40 +0000)]
Drop unused variable assignment
Max Semenik [Tue, 23 Feb 2010 18:36:46 +0000 (18:36 +0000)]
Update doxygen a bit
Jack Phoenix [Tue, 23 Feb 2010 18:05:46 +0000 (18:05 +0000)]
API: fix copyright symbol, coding style cleanup, more braces
Aryeh Gregor [Tue, 23 Feb 2010 17:46:18 +0000 (17:46 +0000)]
Restore IE5/5.5 support to MonoBook and Chick
This reverts r61083 and r61085, per my Code Review comments at r61083.
IE5 and 5.5 work okay right now in MonoBook, and there's not really any
benefit to removing support where it already exists.
I'll backport this to 1.16 and revert r61128 there too shortly.
Jack Phoenix [Tue, 23 Feb 2010 12:30:23 +0000 (12:30 +0000)]
API: coding style cleanup, fix copyright symbol, more braces
Max Semenik [Tue, 23 Feb 2010 12:24:19 +0000 (12:24 +0000)]
Fixes for r62870. It still needs a patch for Oracle though
Jure Kajzer [Tue, 23 Feb 2010 11:24:40 +0000 (11:24 +0000)]
Changed all *_mime_minor field lengths to 100; current 32 does not support some OpenDocument mimes
* changed tables.sql for mysql and oracle
* added patch script for mysql and included it in updaters.inc
Jure Kajzer [Tue, 23 Feb 2010 10:38:06 +0000 (10:38 +0000)]
tableName calls moved inside fieldInfoMulti and removed call that existed only for this call
Mark A. Hershberger [Tue, 23 Feb 2010 06:55:16 +0000 (06:55 +0000)]
set password the correct way for apitests
Mark A. Hershberger [Tue, 23 Feb 2010 05:14:42 +0000 (05:14 +0000)]
Use globals correctly to make tests work again.
Sam Reed [Mon, 22 Feb 2010 22:44:41 +0000 (22:44 +0000)]
Fixup whitespace
Alexandre Emsenhuber [Mon, 22 Feb 2010 21:34:19 +0000 (21:34 +0000)]
Fixed some doxygen warnings
Jack Phoenix [Mon, 22 Feb 2010 20:27:06 +0000 (20:27 +0000)]
ApiExpandTemplates.php: fix copyright symbol, coding style tweaks, more braces
Raimond Spekking [Mon, 22 Feb 2010 20:24:42 +0000 (20:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-22 20:00 UTC)
Jack Phoenix [Mon, 22 Feb 2010 12:25:53 +0000 (12:25 +0000)]
ApiMove.php: fix copyright symbol, spacing & coding style tweaks, more braces
Chad Horohoe [Mon, 22 Feb 2010 12:24:50 +0000 (12:24 +0000)]
(bug 22617), FileRepo::append() definition does not match child, change it to be like all the children
Jack Phoenix [Mon, 22 Feb 2010 12:20:54 +0000 (12:20 +0000)]
ApiEmailUser.php: fix copyright symbol, spacing and coding style tweaks, spaces -> tabs, trimmed off trailing whitespace
Jack Phoenix [Mon, 22 Feb 2010 12:18:42 +0000 (12:18 +0000)]
ApiEditPage.php: fix copyright symbol, spacing and coding style cleanup, more braces
Tim Starling [Mon, 22 Feb 2010 11:27:52 +0000 (11:27 +0000)]
Updates for new major version (1.17)
Tim Starling [Mon, 22 Feb 2010 10:48:30 +0000 (10:48 +0000)]
Fix r62774 in a different way.
Raimond Spekking [Mon, 22 Feb 2010 07:33:39 +0000 (07:33 +0000)]
Follow-up r62806: Add new message key
Tim Starling [Mon, 22 Feb 2010 07:02:12 +0000 (07:02 +0000)]
Fixes for r62505:
* In MagicWordArray::matchStartAndRemove(), fixed the case where the length of localised synonym is not precisely the length of the magic word ID plus one
* Fixed the case where matchStartAndRemove() removes the entire string, send empty string not false
* Fix brace style
Mark A. Hershberger [Mon, 22 Feb 2010 05:12:20 +0000 (05:12 +0000)]
* Fixes Bug #22268
* Document parseHeader()
* Separate out setStatus() so it can be called from execute()
* Avoid core dumps on older PHPs when using PhpHttpRequest and doing redirects
* Add getResponseHeader() for getting the response headers
* Add special handling on tests for older PHP
Mark A. Hershberger [Mon, 22 Feb 2010 03:34:56 +0000 (03:34 +0000)]
ws-only cleanup
Mark A. Hershberger [Mon, 22 Feb 2010 03:07:28 +0000 (03:07 +0000)]
follow up r53282
Recover the use of verifyExtension that was lost in r53282
Tim Starling [Mon, 22 Feb 2010 02:33:44 +0000 (02:33 +0000)]
In fixBug20757.php:
* Don't use buildLike() just yet, for easy backporting to wmf-deployment.
* Don't try to fetch old_flags=object,external rows
* Skip rows with the wrong class using a MySQL condition since we really don't care about them
* Propagate old_flags to the new pointer row. This could be necessary if moveToExternal.php was run after compressOld.php from MW>1.5. This never actually happened at Wikimedia.
* Don't skip rows with bt_moved=0, we need to resolve these stubs if RCT is to continue.
* Fix isUnbrokenStub() to not overwrite its input, fixes minor progress message issue
* Tested locally.
In resolveStubs.php:
* Fixed two bugs in the condition intended to limit the rows acted on to HistoryBlobStub: the string we compared against was not all in lower case, and the character set was binary, making LOWER() do nothing.
* Resolve stubs with old_flags='object,utf-8', analysis showed that we have some of these on enwiki
* Tested locally.
In trackBlobs.php:
* Fixed a bug causing incorrect values to be inserted into bt_cgz_hash. There was no impact on RCT or any other script since bt_cgz_hash is unused at present. Tested locally.
Mark A. Hershberger [Mon, 22 Feb 2010 02:15:30 +0000 (02:15 +0000)]
follow up r62231, r61779, r62175
* Fix up messages
* For new FileRepo::append(), use flags to determine whether to delete or not
* Add more error checking for appending
* Fix a couple of places in Revision.php and LogPage.php where DB errors were produced when comment was null
* Remove bogus checking for !$comment, etc on the DONE phase of chunked uploading
* Don't pretend to return a value when raising an exception
* Add more tests for chunked uploads
* Verify that Status::getErrorsArray() (at least where it is used in ApiUpload::execute()) returns an array that we can pass to dieUsageMessage()
* Ensure that checkWarnings(), etc work only on the complete file
Mark A. Hershberger [Mon, 22 Feb 2010 01:12:50 +0000 (01:12 +0000)]
follow up r62800 fix typo
Chad Horohoe [Mon, 22 Feb 2010 00:54:39 +0000 (00:54 +0000)]
Cleanup r62798: If you add a new param then document it, simplify check for --force
Mark A. Hershberger [Mon, 22 Feb 2010 00:37:05 +0000 (00:37 +0000)]
add --force option to delete db table rows
Aryeh Gregor [Sun, 21 Feb 2010 23:59:00 +0000 (23:59 +0000)]
Specify percentage width on Modern search box
As discussed on IRC. This reverts r62794, and is intended to be a
better fix for bug 19194. By removing the display: block, we work
around the WebKit bug <https://bugs.webkit.org/show_bug.cgi?id=27982>.
But then on some font sizes, the text box becomes too narrow, so the
"Go" button winds up on the same line as the search box. thedj reported
this as a problem both with r62794 and with simple removal of display:
block, but said it was fine with width: 85%, which also looks fine to
me.
Lisa Ridley [Sun, 21 Feb 2010 23:14:01 +0000 (23:14 +0000)]
Fixes bug 19194 (search box issue in Safari and Chrome)