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)
Mark A. Hershberger [Sun, 21 Feb 2010 22:47:40 +0000 (22:47 +0000)]
get rid of strict notice.
Raimond Spekking [Sun, 21 Feb 2010 20:10:36 +0000 (20:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-21 20:00 UTC)
Jack Phoenix [Sun, 21 Feb 2010 18:09:00 +0000 (18:09 +0000)]
ApiDisabled.php: fix copyright symbol, coding style tweaks
Siebrand Mazeland [Sun, 21 Feb 2010 17:28:13 +0000 (17:28 +0000)]
Partially revert r62774 to prevent PHP Notice: Undefined variable: wgUser in includes/Preferences.php on line 212
Domas Mituzas [Sun, 21 Feb 2010 17:27:11 +0000 (17:27 +0000)]
double global declaration
Domas Mituzas [Sun, 21 Feb 2010 17:26:04 +0000 (17:26 +0000)]
missed one :)
Domas Mituzas [Sun, 21 Feb 2010 17:25:25 +0000 (17:25 +0000)]
3x global $wgOut
Domas Mituzas [Sun, 21 Feb 2010 17:20:31 +0000 (17:20 +0000)]
I have a feeling that a line above declares same global
Domas Mituzas [Sun, 21 Feb 2010 17:18:28 +0000 (17:18 +0000)]
global $wgLang, $wgLang, $wgLang, $wgLang;
Domas Mituzas [Sun, 21 Feb 2010 17:07:37 +0000 (17:07 +0000)]
global already imported few lines above
Domas Mituzas [Sun, 21 Feb 2010 17:03:25 +0000 (17:03 +0000)]
remove duplicate global definitions
Domas Mituzas [Sun, 21 Feb 2010 14:28:16 +0000 (14:28 +0000)]
fix include path (DifferenceEngine.php has been moved to 'diff' subdir)
Jack Phoenix [Sun, 21 Feb 2010 12:32:46 +0000 (12:32 +0000)]
ApiBlock.php: spacing & coding style tweaks, more braces, fixed copyright symbol
Max Semenik [Sun, 21 Feb 2010 09:40:27 +0000 (09:40 +0000)]
Also rewrite ALTER TABLE, handle int(...) properly
Max Semenik [Sun, 21 Feb 2010 08:30:23 +0000 (08:30 +0000)]
Don't display useless --dbuser and --dbpass in sqlite.php help
Max Semenik [Sun, 21 Feb 2010 08:25:58 +0000 (08:25 +0000)]
maintenance/sqlite.php: added an option for safe backup
Aryeh Gregor [Sun, 21 Feb 2010 01:45:53 +0000 (01:45 +0000)]
Revert accidental commit
Aryeh Gregor [Sun, 21 Feb 2010 01:44:25 +0000 (01:44 +0000)]
Fix comment, remove unused global
Aryeh Gregor [Sun, 21 Feb 2010 01:43:42 +0000 (01:43 +0000)]
Revert "Kill off IE50Fixes. Adds extra clutter to the head, and market share is down below 0.03% (is.gd/6jyWo)."
This reverts commit
d7b597d6720762330b11538b4b19554bfb6d11a1.
Max Semenik [Sat, 20 Feb 2010 20:00:28 +0000 (20:00 +0000)]
DatabaseSqlite:
* Tweaks and fixes to DDL conversion from MySQL. Now everything in tables.sql converts cleanly to SQLite's native type hints.
* Handle error in duplicateTableStructure().
Max Semenik [Sat, 20 Feb 2010 19:47:24 +0000 (19:47 +0000)]
Rv part of r61319 that always sets $wgSQLiteDataDir to "$IP"
Jack Phoenix [Sat, 20 Feb 2010 19:39:51 +0000 (19:39 +0000)]
ApiBase.php: coding style cleanup, added more braces, trimmed trailing spaces, changed copyright symbol to the proper one
Rotem Liss [Sat, 20 Feb 2010 19:37:56 +0000 (19:37 +0000)]
Localization update for he.
Alexandre Emsenhuber [Sat, 20 Feb 2010 19:22:27 +0000 (19:22 +0000)]
Fix for r62744: use tabs for indentation, not spaces
Jure Kajzer [Sat, 20 Feb 2010 18:27:00 +0000 (18:27 +0000)]
tableName has to be encoded before field type checking
Chad Horohoe [Sat, 20 Feb 2010 17:48:38 +0000 (17:48 +0000)]
(bug 22537) ForeignAPIRepo doesn't handle files that have no preview
Alexandre Emsenhuber [Sat, 20 Feb 2010 17:05:56 +0000 (17:05 +0000)]
(bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate extension "MetadataEdit":
* Removed $wgUseMetadataEdit and related code in EditPage from and created a new extension "MetadataEdit"
* Added 3 new hooks EditFormInitialText, EditFormGetDiffText and EditFormGetPreviewText
* Moved 'metadata_help' message to the extension
Raimond Spekking [Sat, 20 Feb 2010 16:28:33 +0000 (16:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-20 16:00 UTC)
Tim Starling [Fri, 19 Feb 2010 23:21:58 +0000 (23:21 +0000)]
Fixed unnecessary assignment (from r61913)
Andrew Garrett [Fri, 19 Feb 2010 20:40:11 +0000 (20:40 +0000)]
Fix errors in Live Preview caused by extensions using document.write()
Sam Reed [Fri, 19 Feb 2010 19:44:28 +0000 (19:44 +0000)]
r65299 c5894 followup
Move isset check of gettoken upto level of $salt !== false. If gettoken is set, the module isn't going to do anything else (and therefore no point seeing if there is a token set, let alone attempting to validate it)
Tobias [Fri, 19 Feb 2010 18:36:22 +0000 (18:36 +0000)]
Adding references to r62241 and r62358 to release notes
Sam Reed [Fri, 19 Feb 2010 18:28:52 +0000 (18:28 +0000)]
Fixup result_array
Alexandre Emsenhuber [Fri, 19 Feb 2010 17:39:24 +0000 (17:39 +0000)]
Fixed some doxygen warnings
Philip Tzou [Fri, 19 Feb 2010 15:11:56 +0000 (15:11 +0000)]
My fault, forgot to mv ZhConversion.php. Follow up on r62705.
Philip Tzou [Fri, 19 Feb 2010 14:53:20 +0000 (14:53 +0000)]
Update Chinese conversion table.
Jack Phoenix [Fri, 19 Feb 2010 12:54:09 +0000 (12:54 +0000)]
API deletion module: trim trailing spaces, tweak coding style, change copyright symbol to a proper one, change "else if" to "elseif"
Tobias [Fri, 19 Feb 2010 10:51:03 +0000 (10:51 +0000)]
newFromName: Fixing error in the documentation and adding IP address as an example. No code change
Tobias [Fri, 19 Feb 2010 10:37:20 +0000 (10:37 +0000)]
LogExtract on blocked user's pages: fixing r62241 (see comments by Tim)
Tim Starling [Fri, 19 Feb 2010 05:19:32 +0000 (05:19 +0000)]
Moving Conrad's recent parser work out to a branch. Reverted r62434, r62416, r62150, r62111, r62085, r62081, r62080, r62077, r62076, r62069, r62049, r62035.
Tim Starling [Fri, 19 Feb 2010 04:56:09 +0000 (04:56 +0000)]
Resolve stubs which may be broken by running RCT. Added a --start option. Not tested yet.
Sam Reed [Fri, 19 Feb 2010 01:25:57 +0000 (01:25 +0000)]
Stylize on Api
Manual layout improvements in ApiFeedWatchlist
Raimond Spekking [Thu, 18 Feb 2010 20:13:15 +0000 (20:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-18 20:00 UTC)
Rotem Liss [Thu, 18 Feb 2010 18:00:57 +0000 (18:00 +0000)]
Localization update for he.
Jack Phoenix [Thu, 18 Feb 2010 14:53:30 +0000 (14:53 +0000)]
API login module: coding style cleanup, remove stray semicolon, use proper copyright symbol
Tim Starling [Thu, 18 Feb 2010 04:05:00 +0000 (04:05 +0000)]
Classify rows with old_flags='object,utf-8' (there are 1800 in enwiki).
Raimond Spekking [Wed, 17 Feb 2010 20:30:31 +0000 (20:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-17 20:00 UTC)
Alexandre Emsenhuber [Wed, 17 Feb 2010 20:24:28 +0000 (20:24 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Wed, 17 Feb 2010 19:31:47 +0000 (19:31 +0000)]
Follow-up r62648: Add new message key to maintenance script
X! [Wed, 17 Feb 2010 18:41:05 +0000 (18:41 +0000)]
* (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to the page set in the &returnto parameter.
Michael Dale [Wed, 17 Feb 2010 05:43:50 +0000 (05:43 +0000)]
* added missing initialize function to UploadFromFile ( avoids the initialized undefined error )
Chad Horohoe [Wed, 17 Feb 2010 01:28:48 +0000 (01:28 +0000)]
Use __METHOD__
Chad Horohoe [Wed, 17 Feb 2010 00:52:04 +0000 (00:52 +0000)]
(bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist. Patch by Derk-Jan Hartman
Sam Reed [Wed, 17 Feb 2010 00:43:12 +0000 (00:43 +0000)]
Add blank line below Configuration changes in 1.16 to match formatting of rest of sections
Siebrand Mazeland [Tue, 16 Feb 2010 23:13:08 +0000 (23:13 +0000)]
Localisation updates for magic words from translatewiki.net
Siebrand Mazeland [Tue, 16 Feb 2010 23:03:23 +0000 (23:03 +0000)]
Localisation updates for special page aliases from translatewiki.net
Siebrand Mazeland [Tue, 16 Feb 2010 22:54:16 +0000 (22:54 +0000)]
Localisation updates for namespace aliases from translatewiki.net
Alexandre Emsenhuber [Tue, 16 Feb 2010 22:06:04 +0000 (22:06 +0000)]
* Fixed some doxygen warnings
* Consistency in documentation
Sam Reed [Tue, 16 Feb 2010 22:01:38 +0000 (22:01 +0000)]
Minor fixup to api/ApiEditPage.php to remove getMaxArticleSize function
Sam Reed [Tue, 16 Feb 2010 21:59:16 +0000 (21:59 +0000)]
Followup to r62557 as per Roans comment