Alexandre Emsenhuber [Fri, 25 Dec 2009 18:50:00 +0000 (18:50 +0000)]
Readd $wgPhpCli (removed in r59446), it was already here before JS2, and FlaggedRevs extension is using it
Alexandre Emsenhuber [Fri, 25 Dec 2009 18:35:52 +0000 (18:35 +0000)]
RELEASE-NOTES cleanup:
* removed JS2-specific settings since this was reverted in r59446
* removed $wgSpecialVersionExtended, reverted in r54735
Aryeh Gregor [Thu, 24 Dec 2009 23:01:19 +0000 (23:01 +0000)]
Handle minus signs in sortable tables
Bug 21946. Patch by Conrad Irwin (cirwin).
Bryan Tong Minh [Thu, 24 Dec 2009 21:19:55 +0000 (21:19 +0000)]
Bump wgStyleVersion for various revision above r59683.
Bryan Tong Minh [Thu, 24 Dec 2009 21:02:40 +0000 (21:02 +0000)]
Follow up to r57868: Fix virus scanner on Windows (r57801 et al)
Roan Kattouw [Thu, 24 Dec 2009 19:33:01 +0000 (19:33 +0000)]
API: (bug 21945) Add chomp control in YAML
Siebrand Mazeland [Thu, 24 Dec 2009 17:35:17 +0000 (17:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-24 17:23 UTC)
Rotem Liss [Thu, 24 Dec 2009 14:26:57 +0000 (14:26 +0000)]
Localization update for he.
Siebrand Mazeland [Wed, 23 Dec 2009 20:35:34 +0000 (20:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-23 20:19 UTC)
Happy-melon [Wed, 23 Dec 2009 15:30:33 +0000 (15:30 +0000)]
Make the lock icon for https links blue tint to match the link colour and all the other link ornaments. New icon created by David Gothberg on enwiki. Image might benefit from compression.
Tim Starling [Wed, 23 Dec 2009 04:55:21 +0000 (04:55 +0000)]
Fix for r58087, the revision count obtained this way might not be at all accurate.
Philip Tzou [Tue, 22 Dec 2009 14:36:00 +0000 (14:36 +0000)]
follow-up r60272 and r60292. replace getText with getCheck.
Philip Tzou [Tue, 22 Dec 2009 14:12:23 +0000 (14:12 +0000)]
follow-up r60272. replace $_GET with $wgRequest->getText.
Siebrand Mazeland [Mon, 21 Dec 2009 23:44:11 +0000 (23:44 +0000)]
Localisation updates for core messages from translatewiki.net
Bryan Tong Minh [Mon, 21 Dec 2009 21:30:59 +0000 (21:30 +0000)]
Follow up to r60277: Restore the uploadFormTextTop and uploadFormTextAfterSummary text injection points.
Bryan Tong Minh [Mon, 21 Dec 2009 20:50:37 +0000 (20:50 +0000)]
Restored wpDestFileWarningAck, but this time in case this ignored warning is the only warning, continue the upload normally instead of showing an empty warning screen.
Moved the warning message higher up the form just below the filename input box for better visibility.
Rotem Liss [Mon, 21 Dec 2009 19:58:19 +0000 (19:58 +0000)]
Localization update.
Bryan Tong Minh [Mon, 21 Dec 2009 19:57:43 +0000 (19:57 +0000)]
Restore hooks UploadForm:initial and UploadForm:BeforeProcessing removed in r57868.
Raimond Spekking [Mon, 21 Dec 2009 19:50:45 +0000 (19:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-21 19:00 UTC)
Philip Tzou [Mon, 21 Dec 2009 18:55:42 +0000 (18:55 +0000)]
follow-up r59522. follow Tim's suggestion to serve same vary and XVO headers for the same URL. Now the vary headers should be consistent. Feel free to test it.
Aaron Schulz [Mon, 21 Dec 2009 17:51:10 +0000 (17:51 +0000)]
Fixed r57659 for high concurrency situations
Domas Mituzas [Mon, 21 Dec 2009 16:13:15 +0000 (16:13 +0000)]
Reverting r59993, per Tim's comment at mediawiki.org/wiki/Special:Code/MediaWiki/59993#c4885
Still, we need to rethink user 'invalidations' (probably by replacing user object, rather than just touching the user). There are way too many invalidation cases out there, that happen in parallel blocking out each other.
OverlordQ [Mon, 21 Dec 2009 16:09:47 +0000 (16:09 +0000)]
Some reason had each each update in there twice
Tim Starling [Mon, 21 Dec 2009 04:58:55 +0000 (04:58 +0000)]
Clearer (if slightly longer) text to indicate that the property is not to be changed. For r59949.
Raimond Spekking [Sun, 20 Dec 2009 19:42:16 +0000 (19:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-20 19:00 UTC)
Alexandre Emsenhuber [Sun, 20 Dec 2009 15:08:26 +0000 (15:08 +0000)]
Fix OutputPage::addReturnTo() and OutputPage::returnToMain()'s documentation
Raimond Spekking [Sat, 19 Dec 2009 21:50:13 +0000 (21:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-18 21:00 UTC)
Bryan Tong Minh [Sat, 19 Dec 2009 21:23:04 +0000 (21:23 +0000)]
Fixed certain cases where license construction would be incorrect.
Code style fixes per CR r57868. Renamed functions:
* watchCheck -> getWatchCheck
* recoverableUploadError -> showRecoverableUploadError
* uploadWarning -> showUploadWarning
* uploadError -> showUploadError
Alexandre Emsenhuber [Fri, 18 Dec 2009 21:44:41 +0000 (21:44 +0000)]
PageHistory class renamed to HistoryPage
Alexandre Emsenhuber [Fri, 18 Dec 2009 21:21:51 +0000 (21:21 +0000)]
* (bug 20388) ProfilerSimpleText no longer outputs comments on action=raw so that the result is valid CSS/JS and don't interfere with wikitext
Todo: maybe output /* */ comment when generating CSS/JS, but it'd need to factorise some code in RawPage (or another way)
Raimond Spekking [Fri, 18 Dec 2009 20:59:01 +0000 (20:59 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-18 20:30 UTC)
Chad Horohoe [Fri, 18 Dec 2009 13:46:05 +0000 (13:46 +0000)]
(bug 21883) "Migrated extensions" is in HISTORY now, not RELEASE-NOTES.
Tim Starling [Fri, 18 Dec 2009 02:49:07 +0000 (02:49 +0000)]
Fix breakage of LinkFilter::makeLike() due to attempted rewrite in r60162. It's meant to return the string without the quotes, not the whole clause.
Raimond Spekking [Thu, 17 Dec 2009 22:54:55 +0000 (22:54 +0000)]
Follow-up r60175: Avoid PHP Notice: Undefined index: descriptionUrl in /var/www/w/includes/media/Bitmap.php on line 63
Happy-melon [Thu, 17 Dec 2009 20:28:57 +0000 (20:28 +0000)]
Follow-up to r60163 - add new function parameters at the end of the parameter list. And update release notes.
Raimond Spekking [Thu, 17 Dec 2009 20:25:55 +0000 (20:25 +0000)]
* (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick)
Raimond Spekking [Thu, 17 Dec 2009 19:30:37 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-17 19:00 UTC)
Max Semenik [Thu, 17 Dec 2009 15:48:49 +0000 (15:48 +0000)]
While coding r58014, I thought that VACUUM on a 0-byte databse results in an error - it doesn't
Happy-melon [Thu, 17 Dec 2009 15:42:17 +0000 (15:42 +0000)]
(bug 21535) Add 'namespace' to cache key for RecentChanges RSS feed. Patch by crb, reviewed by Rowan.
Max Semenik [Thu, 17 Dec 2009 15:39:11 +0000 (15:39 +0000)]
Fixup for r57989: removed artifacts of the previous version of my patch, improved code reuse.
Alexandre Emsenhuber [Thu, 17 Dec 2009 14:45:52 +0000 (14:45 +0000)]
Per Tim Starling, fix for r58008: use StringUtils::escapeRegexReplacement()
Raimond Spekking [Thu, 17 Dec 2009 12:53:09 +0000 (12:53 +0000)]
Fix a wrong comparison: User::idFromName returns null (not 0) in case of non-existing user names.
Therefore 0 !== $id results into addind a link to Special:UserRights in the tool links in case of requesting contribs for an IP address.
Max Semenik [Thu, 17 Dec 2009 12:53:05 +0000 (12:53 +0000)]
Updated comment in accordance with r58030
Adam Miller [Wed, 16 Dec 2009 20:20:38 +0000 (20:20 +0000)]
Experimental CSS updates
Raimond Spekking [Wed, 16 Dec 2009 19:48:09 +0000 (19:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-16 19:00 UTC)
Roan Kattouw [Wed, 16 Dec 2009 12:02:41 +0000 (12:02 +0000)]
Readd case statement for {{STYLEPATH}} that was accidentally removed in r57283
Alex Z [Wed, 16 Dec 2009 00:47:57 +0000 (00:47 +0000)]
(bug 21536) Fix JS error on Special:Search caused by not using the ID mwsuggest.js expects on the input for advanced search
Rotem Liss [Tue, 15 Dec 2009 21:41:59 +0000 (21:41 +0000)]
Localization update for he.
Alexandre Emsenhuber [Tue, 15 Dec 2009 21:26:58 +0000 (21:26 +0000)]
Replaced all @fixme with "@todo Fixme" since doxygen doesn't have a @fixme command
Raimond Spekking [Tue, 15 Dec 2009 20:08:20 +0000 (20:08 +0000)]
Make some labels for reasons consistent over all reason labels: translatewiki.net/wiki/Template:Identical/Reason
Adam Miller [Tue, 15 Dec 2009 20:00:00 +0000 (20:00 +0000)]
making the height of the wikieditor tabs a bit smaller with the vector expirmental tabs stylesheet
Raimond Spekking [Tue, 15 Dec 2009 19:27:17 +0000 (19:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-15 19:00 UTC)
Rotem Liss [Tue, 15 Dec 2009 19:01:26 +0000 (19:01 +0000)]
Localization update.
Max Semenik [Tue, 15 Dec 2009 14:42:38 +0000 (14:42 +0000)]
Killed closing ?>
Alex Z [Tue, 15 Dec 2009 07:26:40 +0000 (07:26 +0000)]
(bug 21814) Don't show broken user tool links when rolling back an edit that has a deleted username
Tim Starling [Tue, 15 Dec 2009 04:20:17 +0000 (04:20 +0000)]
Add NS_USER to MWNamespace::$alwaysCapitalizedNamespaces, as suggested by Happy-melon on CR r57558. Untested, but should be beneficial, allowing easier linking to users on wikis with $wgCapitalLinks=false. But redirects from invalid names to valid names, e.g. [[User:tim]] -> [[User:Tim]] will become inaccessible. r57558 itself suffers similar problems, inaccessible pages should really be cleaned up with a maintenance script.
Tim Starling [Tue, 15 Dec 2009 03:22:19 +0000 (03:22 +0000)]
Merged r56745 from wmf-deployment, with an adjusted comment. Fixes image redirect cache invalidation on move page in a replicated setup.
Alex Z [Tue, 15 Dec 2009 01:31:35 +0000 (01:31 +0000)]
Slight clarification to unusedimagestext per bug 21836
Aryeh Gregor [Tue, 15 Dec 2009 00:11:47 +0000 (00:11 +0000)]
maxlength=200 for page move summary in HTML5
Bug 16921. maxlength is not allowed on textareas in HTML4, so this only
works in HTML5. Note that Firefox 3.5 and Opera 9.22 ignore the
attribute (didn't test IE), so this isn't a complete fix. Recent WebKit
does respect the attribute (tested in Chrome 4).
Of course, the length limit of 200 is a hack, just like for edit
summaries, and we really need to move to a non-varchar(255) backend for
all these fields.
Relevant to r45517, r45571.
Chad Horohoe [Mon, 14 Dec 2009 23:18:03 +0000 (23:18 +0000)]
Followup r60051, with the rest of the callers and removing a useless subclassing from DatabaseMssql
Adam Miller [Mon, 14 Dec 2009 23:07:13 +0000 (23:07 +0000)]
New experimental tab styles for staging on sandbox1
Chad Horohoe [Mon, 14 Dec 2009 23:05:35 +0000 (23:05 +0000)]
Update callers from immediateCommit() to commit(). The former's been deprecated a really long time...Tim did it 45243 revisions ago.
Alexandre Emsenhuber [Mon, 14 Dec 2009 20:58:41 +0000 (20:58 +0000)]
Remove fixme, done since r53528
Alexandre Emsenhuber [Mon, 14 Dec 2009 20:37:51 +0000 (20:37 +0000)]
Whitespaces fixes:
* replaced tabs with spaces for Title members variables description so that it's the same for everybody
* removed trailing spaces
* removed/replaced tabs before spaces
Raimond Spekking [Mon, 14 Dec 2009 20:11:01 +0000 (20:11 +0000)]
Follow-up r60043. Add accidently deleted strong
Raimond Spekking [Mon, 14 Dec 2009 20:08:13 +0000 (20:08 +0000)]
* Change <h2> to <strong> for message 'loginerror' because this message is always shown inside a box: either 'errorbox' or 'successbox', never as real h2
No other error message using these boxes has an 'h2' in it.
Raimond Spekking [Mon, 14 Dec 2009 19:20:28 +0000 (19:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-14 19:00 UTC)
Alexandre Emsenhuber [Mon, 14 Dec 2009 13:41:32 +0000 (13:41 +0000)]
typo in comment
Niklas Laxström [Mon, 14 Dec 2009 11:33:36 +0000 (11:33 +0000)]
Remove unnecessary and broken converGrammar override
Aryeh Gregor [Mon, 14 Dec 2009 00:53:13 +0000 (00:53 +0000)]
Begin work on allowing extauth login from cookies
Still need to actually do the user creation, but some more framework is
in place for when I want to continue work.
Alexandre Emsenhuber [Sun, 13 Dec 2009 20:55:09 +0000 (20:55 +0000)]
* (bug 21441) meta=userinfo&uiprop=options no longer returns default options for logged-in users under certain circumstances
User::$mOptions is no now only set when calling User::loadOptions() and thus remain null on cache hit and thus the api displays default user settings
Aryeh Gregor [Sun, 13 Dec 2009 20:45:10 +0000 (20:45 +0000)]
More convenient format for $wgExternalAuthType
Now is the whole class name, not a suffix. This allows you to do things
like $wgExternalAuthType::someStaticMethod() instead of having to fiddle
with temporary variables.
This will obviously break anything that has $wgExternalAuthType already
configured, so if that's anyone but me, make sure to fix your configs.
This is still experimental.
Aryeh Gregor [Sun, 13 Dec 2009 20:24:38 +0000 (20:24 +0000)]
Automatically link on login if passwords match
Aryeh Gregor [Sun, 13 Dec 2009 20:24:17 +0000 (20:24 +0000)]
vB strips whitespace from passwords
Aryeh Gregor [Sun, 13 Dec 2009 20:23:53 +0000 (20:23 +0000)]
Fix comment
We don't strip whitespace from passwords, that would be braindead.
Alexandre Emsenhuber [Sun, 13 Dec 2009 20:17:09 +0000 (20:17 +0000)]
* (bug 20765) Special:ListGroupRights no longer misses addables and removables groups if there are duplicate entries
I could reproduce the problem locally, but since I don't know the exact issue on the Polish Wikipedia, I suspect this is this one:
array_unique() doesn't change keys, so if you have:
array(
0 => 'One',
1 => 'One',
2 => 'Two'
)
you'll get after array_unique():
array(
0 => 'One',
2 => 'Two'
)
which confuses Language::listToText() since it expects consecutive keys
Raimond Spekking [Sun, 13 Dec 2009 19:19:46 +0000 (19:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-13 19:00 UTC)
Siebrand Mazeland [Sun, 13 Dec 2009 19:16:38 +0000 (19:16 +0000)]
(bug 20332) Estonian grammar forms for Wikimedia project names
Jack Phoenix [Sun, 13 Dec 2009 17:57:21 +0000 (17:57 +0000)]
*coding style cleanup
*marked public functions as such in memcached-client.php
Alexandre Emsenhuber [Sat, 12 Dec 2009 22:22:26 +0000 (22:22 +0000)]
Readded definition for doxygen's Maintenance group that was removed in r55810
Alexandre Emsenhuber [Sat, 12 Dec 2009 20:54:57 +0000 (20:54 +0000)]
For consistency with the other special pages, don't add wfSpecialLinkSearch() to the SpecialPage group
Alexandre Emsenhuber [Sat, 12 Dec 2009 18:04:13 +0000 (18:04 +0000)]
Missing global; was throwing Fatal error: Call to a member function getSkinFromCssJsSubpage() on a non-object in includes/EditPage.php on line 1467
Roan Kattouw [Sat, 12 Dec 2009 15:38:03 +0000 (15:38 +0000)]
Add maintenance script for running queries in batches. This is especially useful for executing large write queries (e.g. fixing user renames, clearing huge watchlists) on the WMF cluster; before, everyone wrote their own script for this when they needed it.
Alexandre Emsenhuber [Sat, 12 Dec 2009 15:34:23 +0000 (15:34 +0000)]
* (bug 21826) Subsections of Special:Version now also have anchors
Domas Mituzas [Sat, 12 Dec 2009 14:52:01 +0000 (14:52 +0000)]
I fail to see why we need to invalidate cache on watchlist edits here, do we store full watchlist in user object?
Raimond Spekking [Sat, 12 Dec 2009 12:29:14 +0000 (12:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-12 11:30 UTC)
Max Semenik [Fri, 11 Dec 2009 23:30:08 +0000 (23:30 +0000)]
Whee, a debugging piece of SQL had made it through in r59932
Alexandre Emsenhuber [Fri, 11 Dec 2009 22:19:37 +0000 (22:19 +0000)]
fix some doxygen errors
Chad Horohoe [Fri, 11 Dec 2009 21:07:27 +0000 (21:07 +0000)]
Mass convert NULL -> null. Left strings and comments alone, obviously.
Aryeh Gregor [Fri, 11 Dec 2009 19:59:52 +0000 (19:59 +0000)]
Improve documentation for $wgEnforceHtmlIds
Per code review feedback on r45171. This seems to be easier than
reverting it wholesale, but anyone who would like to do that instead
should feel free.
Max Semenik [Fri, 11 Dec 2009 19:53:10 +0000 (19:53 +0000)]
Per CR for r58631, moved default duplicateTableStructure() implementation to DatabaseMysql, replacing it with 'not implemented' exception throw
Aryeh Gregor [Fri, 11 Dec 2009 19:43:04 +0000 (19:43 +0000)]
Delete refs to variable removed in r59692
Aryeh Gregor [Fri, 11 Dec 2009 19:01:16 +0000 (19:01 +0000)]
Fix bugs in r59360, r59361, r59363
* spellcheck is not a boolean attribute; it is an enumerated attribute
whose possible values are "true" and "false". If it were boolean, the
permitted constructs would be <input spellcheck>, <input
spellcheck="spellcheck">, and <input spellcheck="">, which would all
set it true, and it would only be set to false if omitted entirely.
(It would be boolean if HTML5 had invented it, but can't be for
historical reasons.)
* spellcheck is valid on any HTML element, not just input, and so should
be stripped on any element.
For reference, a table of all HTML5 attributes can be found at:
<http://www.whatwg.org/specs/web-apps/current-work/multipage/section-index.html#attributes-0>
Jack Phoenix [Fri, 11 Dec 2009 18:23:24 +0000 (18:23 +0000)]
more coding style cleanup to DatabaseOracle.php
Rotem Liss [Fri, 11 Dec 2009 16:56:06 +0000 (16:56 +0000)]
Localization update.
Jure Kajzer [Fri, 11 Dec 2009 16:47:06 +0000 (16:47 +0000)]
Fixed missing table in ora/tables.sql. Replaced instantiation of DBUndexpecedError with DBQueryError in reportQueryError function
Roan Kattouw [Fri, 11 Dec 2009 15:47:32 +0000 (15:47 +0000)]
API: (bug 21817) list=usercontribs chokes on empty ucuser. Patch by Paul Copperman. Backported from wmf-deployment (r59952)
Aaron Schulz [Fri, 11 Dec 2009 06:57:37 +0000 (06:57 +0000)]
(bug 20928) Added tri-state form for RevisionDelete when there are multiple items.
Tim Starling [Fri, 11 Dec 2009 06:49:48 +0000 (06:49 +0000)]
Restored the function of ApiMain::requestWriteMode(), as per the suggestion on CR r50833.
Nimish Gautam [Fri, 11 Dec 2009 00:02:22 +0000 (00:02 +0000)]
added 'typeof' check, less ambiguous