lhc/web/wiklou.git
11 years agoMWTimestamp::getHumanTimestamp uses 'just-now' message, which did not exist
Matthias Mullie [Tue, 27 Nov 2012 12:29:15 +0000 (13:29 +0100)]
MWTimestamp::getHumanTimestamp uses 'just-now' message, which did not exist

Change-Id: Ie91572948238b4ebcc3b942f74693c4687263a0c

11 years agoMerge "Fix data type for timestamp in TestORMRowTest"
Hashar [Tue, 27 Nov 2012 10:04:22 +0000 (10:04 +0000)]
Merge "Fix data type for timestamp in TestORMRowTest"

11 years agoMerge "Typo in comment's Example code."
Hashar [Tue, 27 Nov 2012 09:35:34 +0000 (09:35 +0000)]
Merge "Typo in comment's Example code."

11 years agoMerge "Removal of unused globals."
Nikerabbit [Tue, 27 Nov 2012 07:05:44 +0000 (07:05 +0000)]
Merge "Removal of unused globals."

11 years agoTypo in comment's Example code.
S Page [Tue, 27 Nov 2012 05:11:21 +0000 (21:11 -0800)]
Typo in comment's Example code.

Patch 2: fix both comment Examples, rephrase comment, fix a few typos.

Change-Id: Id57d9307a3f613445faacdea8c9a4e195ad3987d

11 years ago[JobQueue] Fixed some old race conditions in nextJobDB.php
Aaron Schulz [Fri, 23 Nov 2012 03:10:42 +0000 (19:10 -0800)]
[JobQueue] Fixed some old race conditions in nextJobDB.php

Change-Id: I90911083a096c8117dcceb16bf997eac9fd3ccd1

11 years ago(bug 36780) Improve display of IPv6 addresses
csteipp [Tue, 22 May 2012 23:30:07 +0000 (23:30 +0000)]
(bug 36780)  Improve display of IPv6 addresses

Also add partial tests for Linker::userLink()

Change-Id: I680a59bb0ec3ca1d85ed12b0debb3446c73a3aab

11 years agoMerge "(bug 42337) Simplify "my talk" link logic in personal tools"
Ori.livneh [Mon, 26 Nov 2012 21:49:45 +0000 (21:49 +0000)]
Merge "(bug 42337) Simplify "my talk" link logic in personal tools"

11 years agoRemoval of unused globals.
Platonides [Mon, 26 Nov 2012 21:15:11 +0000 (22:15 +0100)]
Removal of unused globals.

Change-Id: I870665d18f955a245222cfceca4665897277e7e4

11 years agoMerge "Kill DeviceDetection"
awjrichards [Mon, 26 Nov 2012 20:57:11 +0000 (20:57 +0000)]
Merge "Kill DeviceDetection"

11 years agoMerge "Stopped some debug notice warnings from showing on SpecialPages."
IAlex [Mon, 26 Nov 2012 20:51:55 +0000 (20:51 +0000)]
Merge "Stopped some debug notice warnings from showing on SpecialPages."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 26 Nov 2012 20:21:47 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ibb1d15728b75d4faaa21fbcab6393fa55eb0c4b3

11 years ago(bug 42337) Simplify "my talk" link logic in personal tools
Amir E. Aharoni [Thu, 22 Nov 2012 21:57:02 +0000 (23:57 +0200)]
(bug 42337) Simplify "my talk" link logic in personal tools

Another attempt at fixing the complexity and the broken RTL display
that change I822a7390 introduced.

This commit is the same as Change I36ec3bec, except that it completely
removes the parentheses that were added to the "talk" link and
the associated mytalk-parenthetical message.

The following is copied from the commit message of Change I36ec3bec:

Change I822a7390 introduced a somewhat complex way to display
the "talk" link in parentheses after the username. It would only
work in Vector, and it broke the display in RTL wikis, because
it hacked into the personal links array.

This change attempts to make it more robust, by keeping the
array intact. This fixes the display in RTL wikis.

This commit also eliminates the global $wgVectorCombineUserTalk,
which is not needed any more.

Change-Id: Ib6076396d7f5bbdd4ba771b21020bdbb8e0c5b2d

11 years ago(bug 14901) Email notification mistakes log action for new page creation
bsitu [Fri, 18 May 2012 21:01:12 +0000 (14:01 -0700)]
(bug 14901) Email notification mistakes log action for new page creation

Original patch by Dan Nessett, modified by Benny Situ and Roan Kattouw

Change-Id: Ibb7953741e4189127d1cd6718ac58492f254671e

11 years agoBug 42445: Fix file revert with local repo
Jan Gerber [Mon, 26 Nov 2012 11:42:09 +0000 (11:42 +0000)]
Bug 42445: Fix file revert with local repo

reverting a file a virtual url is passed to upload without props,
get props from backend, virutal urls are not local files.

Change-Id: I1d56a6237e1d2af9941f29e4ba3f0262817b0e8d

11 years agoMerge "(bug 42302) Fixed broken thumbnails for files with a "+" in the name."
Aaron Schulz [Mon, 26 Nov 2012 18:07:20 +0000 (18:07 +0000)]
Merge "(bug 42302) Fixed broken thumbnails for files with a "+" in the name."

11 years agoMerge "(bug 42410) Add $pageObj->clear() for newtimestamp"
Anomie [Mon, 26 Nov 2012 14:22:15 +0000 (14:22 +0000)]
Merge "(bug 42410) Add $pageObj->clear() for newtimestamp"

11 years ago(bug 42410) Add $pageObj->clear() for newtimestamp
burthsceh [Sun, 4 Nov 2012 07:39:03 +0000 (16:39 +0900)]
(bug 42410) Add $pageObj->clear() for newtimestamp

To return latest timestamp

Change-Id: I1d28164d89917152d3f712817a125c8be36f390d

11 years agoMerge "mark ApiEditPageTest as being slow tests"
Antoine Musso [Mon, 26 Nov 2012 14:18:30 +0000 (14:18 +0000)]
Merge "mark ApiEditPageTest as being slow tests"

11 years agoMerge "[FileRepo] Added File::getStreamHeaders() function for convenience."
Demon [Mon, 26 Nov 2012 14:10:21 +0000 (14:10 +0000)]
Merge "[FileRepo] Added File::getStreamHeaders() function for convenience."

11 years agoMerge "[LockManager] Use proper hmac function for LSLockManager."
Demon [Mon, 26 Nov 2012 14:09:58 +0000 (14:09 +0000)]
Merge "[LockManager] Use proper hmac function for LSLockManager."

11 years agomark ApiEditPageTest as being slow tests
Antoine Musso [Mon, 26 Nov 2012 13:49:52 +0000 (14:49 +0100)]
mark ApiEditPageTest as being slow tests

The edit conflict tests can take quiet a while to execute, definitely
more than the default 2 seconds we allocated to test. Marking the class
with '@group medium', in the comment, instructs PHPUnit to apply a
timeout of 10 seconds.

Change-Id: Icdd78ea43c91eeca7d4a00bfe6bb368bb3b8f891

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 25 Nov 2012 20:37:47 +0000 (20:37 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1373ade165d011e2aea7075f6d7a702d78527b96

11 years agoMerge "(bug 41886) make $.tablesorter support headers with colspan"
TheDJ [Sun, 25 Nov 2012 20:15:06 +0000 (20:15 +0000)]
Merge "(bug 41886) make $.tablesorter support headers with colspan"

11 years agoMerge "Revert "[FileBackend] Added optional callback parameter to concatenate().""
Aaron Schulz [Sun, 25 Nov 2012 01:05:56 +0000 (01:05 +0000)]
Merge "Revert "[FileBackend] Added optional callback parameter to concatenate().""

11 years agoRevert "[FileBackend] Added optional callback parameter to concatenate()."
Aaron Schulz [Sun, 25 Nov 2012 00:59:16 +0000 (00:59 +0000)]
Revert "[FileBackend] Added optional callback parameter to concatenate()."

This gives updates for the faster part (local FS file changes) and not
the slow GETs that really need this. This should be re-done to use a
byte based read progress callback (that handles the parallel GETs).

This reverts commit 6c9f13b5477f54fbe9cff893f665814ad8cdff87

Change-Id: Id8d739e1d5048e7f38c68eda4f9a008682707cba

11 years agoStopped some debug notice warnings from showing on SpecialPages.
Aaron Schulz [Sun, 25 Nov 2012 00:39:48 +0000 (16:39 -0800)]
Stopped some debug notice warnings from showing on SpecialPages.

Change-Id: I9b7fdf3a714b806ac28bd28c5c43951e2a5f1f64

11 years ago(bug 42302) Fixed broken thumbnails for files with a "+" in the name.
Aaron Schulz [Sat, 24 Nov 2012 23:47:17 +0000 (15:47 -0800)]
(bug 42302) Fixed broken thumbnails for files with a "+" in the name.

Change-Id: Ic5764fa17e12d24ddbc77bfc0523e97ed12b0afe

11 years agoMerge "Revert "(bug 42337) Simplify "my talk" link logic in personal tools""
Krinkle [Sat, 24 Nov 2012 23:15:18 +0000 (23:15 +0000)]
Merge "Revert "(bug 42337) Simplify "my talk" link logic in personal tools""

11 years agoRevert "(bug 42337) Simplify "my talk" link logic in personal tools"
Krinkle [Sat, 24 Nov 2012 23:15:12 +0000 (23:15 +0000)]
Revert "(bug 42337) Simplify "my talk" link logic in personal tools"

For 2 reasons:
* The parentheses look (according to CologneBlue) weird in skins others than Monobook and Vector (where they are bulleted lists)
* The parentheses look (according to Krinkle) weird in Vector and Monobook as well.
* The casing changed from (talk) to (Talk), which is odd.

Please try again.

This reverts commit f31209dfb307ec2bac20107e788578b762f70e89

11 years agoMerge "Follow up: I1b017e13 - Fix Strict Standards"
Aaron Schulz [Sat, 24 Nov 2012 22:02:26 +0000 (22:02 +0000)]
Merge "Follow up: I1b017e13 - Fix Strict Standards"

11 years agoMerge "Allow null for title in preprocess"
Platonides [Sat, 24 Nov 2012 21:25:18 +0000 (21:25 +0000)]
Merge "Allow null for title in preprocess"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 24 Nov 2012 20:51:41 +0000 (20:51 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I31e192158cad615c628471f295d8a1ce5f5d8438

11 years ago(bug 41886) make $.tablesorter support headers with colspan
MatmaRex [Fri, 9 Nov 2012 16:47:29 +0000 (17:47 +0100)]
(bug 41886) make $.tablesorter support headers with colspan

Previously, if a header had colspan set, all headers after it would sort
wrong columns (shifted by the cumulating colspans). This fixes the issue,
from now on every header sorts on all columns it spans over (using the
multi-column sorting funcitonality already present in $.tablesorter).

Change-Id: I89766c9640b83ca38f41d698d1ef052a9e3f68d3

11 years agoFollow up: I1b017e13 - Fix Strict Standards
umherirrender [Sat, 24 Nov 2012 14:15:32 +0000 (15:15 +0100)]
Follow up: I1b017e13 - Fix Strict Standards

Strict Standards: Declaration of ForeignDBFile::publish() should be
compatible with that of LocalFile::publish() in
\includes\filerepo\file\ForeignDBFile.php on line 122

Change-Id: If3de7ec3a6794752bfe6ef7644b66497c1ad9c8b

11 years agoAllow null for title in preprocess
Stephan Gambke [Sat, 24 Nov 2012 09:40:06 +0000 (10:40 +0100)]
Allow null for title in preprocess

Additionally remove creation of bogus title in transformMsg.

The only place preprocess uses the title is in startParse. And that explicitly allows null.

Change-Id: I33d090bf250092fc541e284eb19dbd4053f40ae5

11 years agoMerge "(bug 42337) Simplify "my talk" link logic in personal tools"
Ori.livneh [Sat, 24 Nov 2012 08:24:07 +0000 (08:24 +0000)]
Merge "(bug 42337) Simplify "my talk" link logic in personal tools"

11 years ago(bug 35272) Tweak new user creation log messages
Alex Monk [Sat, 27 Oct 2012 18:30:11 +0000 (19:30 +0100)]
(bug 35272) Tweak new user creation log messages

Change-Id: I6ae7986b0425208ffe00afb8bb246f4b85dc954d

11 years agoMerge "Fix misleading param name in FormatJson::encode signature"
Nikerabbit [Fri, 23 Nov 2012 22:53:07 +0000 (22:53 +0000)]
Merge "Fix misleading param name in FormatJson::encode signature"

11 years agoFix misleading param name in FormatJson::encode signature
Ori Livneh [Fri, 23 Nov 2012 21:51:15 +0000 (13:51 -0800)]
Fix misleading param name in FormatJson::encode signature

As the FIXME notes, $isHtml has nothing to do with HTML; it simply controls
whether the resultant JSON should be formatted for readability by inserting
whitespace as appropriate.

Change-Id: I90d46d6624d683f18a39c98500bd71bbd0ca3800

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 23 Nov 2012 21:37:16 +0000 (21:37 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I31198b2c4c2f14f237c692ad1d08eceda62efd40

11 years agoMerge "Clean up Language::markNoConversion()."
Nikerabbit [Fri, 23 Nov 2012 13:01:08 +0000 (13:01 +0000)]
Merge "Clean up Language::markNoConversion()."

11 years agoFix data type for timestamp in TestORMRowTest
umherirrender [Fri, 23 Nov 2012 12:50:43 +0000 (13:50 +0100)]
Fix data type for timestamp in TestORMRowTest

1) TestORMRowTest::testConstructor with data set #0 (array('Foobar',
'20120101020202', 42, 9000.1, true, array(13, 11, 7, 5, 3, 2),
stdClass), true)
Failed asserting that 2147483647 matches expected '20120101020202'.

Change-Id: I4dddaedf4e386c2061ee79fe0ab18af59033f052

11 years agoMerge "Add MediaWikiTestCase::checkHasDiff3 and use it"
Hashar [Fri, 23 Nov 2012 10:27:47 +0000 (10:27 +0000)]
Merge "Add MediaWikiTestCase::checkHasDiff3 and use it"

11 years agoMerge "(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode"
Nikerabbit [Fri, 23 Nov 2012 10:26:26 +0000 (10:26 +0000)]
Merge "(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode"

11 years agoMerge "Added profiling to test runner."
Hashar [Fri, 23 Nov 2012 10:26:18 +0000 (10:26 +0000)]
Merge "Added profiling to test runner."

11 years agoMerge "Fix exception when searching for stuff beginning with "Media:""
Nikerabbit [Fri, 23 Nov 2012 10:22:09 +0000 (10:22 +0000)]
Merge "Fix exception when searching for stuff beginning with "Media:""

11 years ago[LockManager] Use proper hmac function for LSLockManager.
Aaron Schulz [Fri, 23 Nov 2012 03:35:15 +0000 (19:35 -0800)]
[LockManager] Use proper hmac function for LSLockManager.

Change-Id: If4a3d25a61bcc7cf26beb32abf3d4cc655ca4c55

11 years agoMerge "[FileBackend] Improved getFileProps() docs a bit."
ASchulz [Thu, 22 Nov 2012 22:09:26 +0000 (22:09 +0000)]
Merge "[FileBackend] Improved getFileProps() docs a bit."

11 years ago(bug 42337) Simplify "my talk" link logic in personal tools
Amir E. Aharoni [Thu, 22 Nov 2012 21:57:02 +0000 (23:57 +0200)]
(bug 42337) Simplify "my talk" link logic in personal tools

Change I822a7390 introduced a somewhat complex way to display
the "talk" link in parentheses after the username. It would only
work in Vector, and it broke the display in RTL wikis, because
it hacked into the personal links array.

This change attempts to make it more robust, by keeping the
array intact and adding the parentheses to the mytalk item
as a special case in SkinTemplate::makeListItem(). This fixes
the display in RTL wikis and allows the parentheses
to be displayed in all skins.

This commit also eliminates the global $wgVectorCombineUserTalk,
which is not needed any more.

Change-Id: I36ec3bec89a17cab3e4fc56ccf5038f7df93d213

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 22 Nov 2012 20:27:19 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I934fc8141bcd2d6f7683f55862286f0d9341c69a

11 years agoAdded profiling to test runner.
daniel [Thu, 22 Nov 2012 18:34:32 +0000 (19:34 +0100)]
Added profiling to test runner.

MediaWikiTestCase now calls wfProfileIn/wfProfileOut for each call
to a test function. This makes it easy to track down slow tests.

Change-Id: I5ff2fea957c082f41da37936fe44948ad006f573

11 years agoAdd MediaWikiTestCase::checkHasDiff3 and use it
umherirrender [Thu, 22 Nov 2012 16:45:50 +0000 (17:45 +0100)]
Add MediaWikiTestCase::checkHasDiff3 and use it

Some tests can only passed, when diff3 is enabled on the wiki, when not
the tests should marked as skipped. To avoid code duplicates inside
the test folder for the check, if diff3 is enabled, the new function
MediaWikiTestCase::checkHasDiff3 can be used.

Change-Id: Ie765da49a4a1358da78a3506e38772d61bcd010c

11 years agoMerge "Allow all rc options in feeds"
IAlex [Thu, 22 Nov 2012 11:56:45 +0000 (11:56 +0000)]
Merge "Allow all rc options in feeds"

11 years agoAllow all rc options in feeds
Niklas Laxström [Thu, 22 Nov 2012 10:56:16 +0000 (10:56 +0000)]
Allow all rc options in feeds

The comment seems outdated given the following code in ChangesFeed:
$optionsHash = md5( serialize( $opts->getAllValues() ) ) . $wgRenderHashAppend;

Change-Id: I6f7ac3badf14eef8d193053c4788d7d7f5eb03f3

11 years agoAdd EditPage hooks AlternateEditPreview, EditPage::showStandardInputs:options
Brad Jorsch [Sat, 10 Nov 2012 00:54:57 +0000 (16:54 -0800)]
Add EditPage hooks AlternateEditPreview, EditPage::showStandardInputs:options

Adds two new hooks:
* AlternateEditPreview allows an extension to override the standard
  page preview display.
* EditPage::showStandardInputs:options allows an extension to add
  additional HTML to the end of the editOptions area of the edit form.

Change-Id: Ic5d35c8e9ff71282b5ebccc87c64894a385e5836

11 years agoFix exception when searching for stuff beginning with "Media:"
Max Semenik [Thu, 22 Nov 2012 00:29:49 +0000 (04:29 +0400)]
Fix exception when searching for stuff beginning with "Media:"

Change-Id: I8b5a419fa369ad91034c3769a4b228290b878e1b

11 years agoMerge "(bug 457) use semantic headings for the navigation menu"
Siebrand [Thu, 22 Nov 2012 00:14:36 +0000 (00:14 +0000)]
Merge "(bug 457) use semantic headings for the navigation menu"

11 years agoMerge "Fix uselang parameter in ApiWatch"
Anomie [Wed, 21 Nov 2012 23:59:41 +0000 (23:59 +0000)]
Merge "Fix uselang parameter in ApiWatch"

11 years agoFix uselang parameter in ApiWatch
Marius Hoch [Wed, 21 Nov 2012 21:17:29 +0000 (22:17 +0100)]
Fix uselang parameter in ApiWatch

It's now possible to use uselang with the watch API without
it throwing a warning (cause the parameter wasn't defined).
Idea and some code taken from ApiParse.

Change-Id: I74b7c4286c0c2f44fabc337d5fb744560f71cf71

11 years ago(bug 35031) Change decimal separators for numbers in Kurdish
Federico Leva [Tue, 20 Nov 2012 21:48:17 +0000 (22:48 +0100)]
(bug 35031) Change decimal separators for numbers in Kurdish

Change-Id: I464eb3b3ae5f6b0b8e49a353070db10ad2eea5b1

11 years ago[FileBackend] Improved getFileProps() docs a bit.
ASchulz [Wed, 21 Nov 2012 23:30:54 +0000 (15:30 -0800)]
[FileBackend] Improved getFileProps() docs a bit.

Change-Id: I37dfc6c90829aa63511570c4576666e41764b6df

11 years ago(bug 34977) Change Spanish formatnum behavior
Federico Leva [Tue, 20 Nov 2012 21:56:56 +0000 (22:56 +0100)]
(bug 34977) Change Spanish formatnum behavior

Use non-breaking spaces as thousands separator.
Used the same $separatorTransformTable as in fr, it etc.
The format is the correct one according to official
standards and it's also currently in use "in the wild",
e.g. on Spanish Wikipedia, according to guidelines.

Change-Id: I1c9dfe1f02d907183fb671b7382f2eb706e57bab

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 21 Nov 2012 22:16:38 +0000 (22:16 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I5aa36c8f947fb85f43afd288efb63f51cdc35659

11 years agoAdditional tests to keep Parsoid in line (regressions + accuracy)
Subramanya Sastry [Wed, 21 Nov 2012 21:33:17 +0000 (15:33 -0600)]
Additional tests to keep Parsoid in line (regressions + accuracy)

* Added a td-cell wikitext syntax variant to spec PHP parser
  behavior.
* Added an image parsing test to prevent rt regressions.

Change-Id: I414d0f7368f520df4e02f310d6c82037d3c96d45

11 years agoMerge "Test handling HTML tag like structures"
Subramanya Sastry [Wed, 21 Nov 2012 21:17:54 +0000 (21:17 +0000)]
Merge "Test handling HTML tag like structures"

11 years agoTest handling HTML tag like structures
Gabriel Wicke [Wed, 21 Nov 2012 21:06:52 +0000 (13:06 -0800)]
Test handling HTML tag like structures

* Add a (disabled for the PHP parser) test for bug 40670. Passing in Parsoid.
* Add another test for html-like text.

Change-Id: I2026fb09a5e32062cec0b7f0d45dc6643d4885a9

11 years agoMerge "Release notes: Full stops and grammar."
IAlex [Wed, 21 Nov 2012 19:44:49 +0000 (19:44 +0000)]
Merge "Release notes: Full stops and grammar."

11 years ago[FileBackend] More stat caching improvements.
Aaron Schulz [Fri, 16 Nov 2012 23:25:50 +0000 (15:25 -0800)]
[FileBackend] More stat caching improvements.

* Extended negative caching to handle the "latest" parameter.
* Added a new "dstExists" parameter to some write functions to avoid
  salting the cache when a file is created at an unused path. The ability
  to do this was already mentioned in the setFileCache() doc comments.

Change-Id: Ib64e4c128e16f4d284033fff70b88686fa0593ab

11 years ago[FileRepo] Added File::getStreamHeaders() function for convenience.
Aaron Schulz [Wed, 21 Nov 2012 18:37:41 +0000 (10:37 -0800)]
[FileRepo] Added File::getStreamHeaders() function for convenience.

Change-Id: I6881d7c70e507f26a0bd159169c51aea5b72fad6

11 years agoMerge "Add $wgAuth->updateExternalDB calls back into core"
Demon [Wed, 21 Nov 2012 18:34:11 +0000 (18:34 +0000)]
Merge "Add $wgAuth->updateExternalDB calls back into core"

11 years agoRelease notes: Full stops and grammar.
Timo Tijhof [Wed, 21 Nov 2012 18:30:52 +0000 (19:30 +0100)]
Release notes: Full stops and grammar.

* Follows-up I2496415f.

Change-Id: I0a9d1f3383f1d4e7b8101673edef1e26835dd21a

11 years agoMerge "(bug 30040) Update autonym for nds-nl"
SPQRobin [Wed, 21 Nov 2012 16:11:56 +0000 (16:11 +0000)]
Merge "(bug 30040) Update autonym for nds-nl"

11 years agoMerge "Follow-up I087c2729 (750936f): factorise common code"
Nikerabbit [Wed, 21 Nov 2012 15:04:13 +0000 (15:04 +0000)]
Merge "Follow-up I087c2729 (750936f): factorise common code"

11 years agoMerge "Correct documentation for "maxlag" API parameter"
IAlex [Wed, 21 Nov 2012 14:33:21 +0000 (14:33 +0000)]
Merge "Correct documentation for "maxlag" API parameter"

11 years ago(bug 30040) Update autonym for nds-nl
Federico Leva [Wed, 21 Nov 2012 14:27:48 +0000 (15:27 +0100)]
(bug 30040) Update autonym for nds-nl

Release note for I8b7f70856ab0c12026503a0b416836e3a4025799

Change-Id: I2496415f9a2f993fde634d71fa66f3d74d7bbbcf

11 years agoFollow-up I087c2729 (750936f): factorise common code
Alexandre Emsenhuber [Wed, 21 Nov 2012 14:26:15 +0000 (15:26 +0100)]
Follow-up I087c2729 (750936f): factorise common code

Change-Id: I6d06ee4df857a90517bf0d4b3a40cd7ba9842968

11 years agoMerge "[FileBackend] Added optional callback parameter to concatenate()."
Demon [Wed, 21 Nov 2012 13:01:49 +0000 (13:01 +0000)]
Merge "[FileBackend] Added optional callback parameter to concatenate()."

11 years agoMerge "(bug 30040) Update autonym for nds-nl"
SPQRobin [Wed, 21 Nov 2012 12:50:09 +0000 (12:50 +0000)]
Merge "(bug 30040) Update autonym for nds-nl"

11 years ago(bug 30040) Update autonym for nds-nl
Federico Leva [Wed, 21 Nov 2012 12:38:41 +0000 (13:38 +0100)]
(bug 30040) Update autonym for nds-nl

That's what ndl-nl.wikipedia uses now, for sure.

Change-Id: I8b7f70856ab0c12026503a0b416836e3a4025799

11 years ago[FileBackend] Added back ability to delete file HTTP headers.
Aaron Schulz [Wed, 21 Nov 2012 04:58:47 +0000 (20:58 -0800)]
[FileBackend] Added back ability to delete file HTTP headers.

* This partially reverts b80bd6159bdf946c1d4fa1e143fea221937d848a.
* Clarified 'headers' parameter documentation a bit.
* Added the "describe" function wrappers that the other ops have.

Change-Id: I7142fd4d973f5f3407d244a4cae793934083bc26

11 years agoMerge "(bug 42215) "Welcome, X" as account creation title"
Ori.livneh [Wed, 21 Nov 2012 04:15:32 +0000 (04:15 +0000)]
Merge "(bug 42215) "Welcome, X" as account creation title"

11 years agoFixed metadata-loss bug from b80bd6159bdf946c1d4fa1e143fea221937d848a.
Aaron Schulz [Wed, 21 Nov 2012 02:16:15 +0000 (18:16 -0800)]
Fixed metadata-loss bug from b80bd6159bdf946c1d4fa1e143fea221937d848a.

* Contrary to Swift docs, doing a POST seems to kill all the old metadata
  headers. I noticed this in testing due to addMissingMetadata() notices.

Change-Id: I988d7a8d38569823c9d66605b02705ee15a8bbe7

11 years agoAdd $wgAuth->updateExternalDB calls back into core
Ryan Lane [Wed, 21 Nov 2012 01:39:19 +0000 (17:39 -0800)]
Add $wgAuth->updateExternalDB calls back into core

Some time, long, long ago, in a MediaWiki much, much saner
the preferences form told wgAuth to update the external database.
That code disappeared at some point. This commit adds it back.

Change-Id: I91df44c8a8b38119c33d4a69b8c7e3c180e5c773

11 years agoTest wiki link to title with question mark
Gabriel Wicke [Wed, 21 Nov 2012 01:36:33 +0000 (17:36 -0800)]
Test wiki link to title with question mark

Percent-encode the question mark so that it is not treated as a query string
separator.

Change-Id: I8b3402df96fb783954cf6d7cd0fdffcf104bbe99

11 years agoMerge "Various simple optimizations for the chunked upload process."
Aaron Schulz [Wed, 21 Nov 2012 00:19:24 +0000 (00:19 +0000)]
Merge "Various simple optimizations for the chunked upload process."

11 years ago[FileBackend] Added support for changing headers on existing objects.
Jan Gerber [Wed, 24 Oct 2012 08:18:29 +0000 (08:18 +0000)]
[FileBackend] Added support for changing headers on existing objects.

* Added a 'describe' file operation type to doOperations()/doQuickOperations().
  This can be used by scripts to fill in headers like X-Content-Duration for
  files that already exists.
* Removed wrong comments about removing headers (they don't get removed with null).
* Added some quick unit tests.

Change-Id: I43c5907b59421beaa9487eefac0cdbf8bc6c6d85

11 years agoMerge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity."
Tim Starling [Tue, 20 Nov 2012 22:49:16 +0000 (22:49 +0000)]
Merge "[FileBackend] Clear the stat cache in doQuickOperations() for sanity."

11 years agoFixed doc comment grammar.
Aaron Schulz [Tue, 20 Nov 2012 22:42:46 +0000 (14:42 -0800)]
Fixed doc comment grammar.

Change-Id: I4477794fc382b3575cad5f344d909ec9ba1f0991

11 years ago[FileRepo] Quashed melodious 4-tuples into silence.
Aaron Schulz [Tue, 20 Nov 2012 22:37:58 +0000 (14:37 -0800)]
[FileRepo] Quashed melodious 4-tuples into silence.

Change-Id: I55c6ddd5d2e8999578ca45f523e99ab6cd4e9d52

11 years ago[FileRepo] [FileBackend] Added support for custom file headers.
Aaron Schulz [Tue, 20 Nov 2012 01:38:17 +0000 (17:38 -0800)]
[FileRepo] [FileBackend] Added support for custom file headers.

* For backends that support it, custom HTTP headers can be set on files.
* Added a getStreamHeaders() function to MediaHandler to let subclasses
  recommend header name/value pairs to be used for responses to GET/HEAD
  requests. For example, an OGG handler could set "X-Content-Duration".
* Made LocalFile use this function to set HTTP headers of new uploads.

Change-Id: I1b017e1342513f0097fe6d142aae18e819403293

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 20 Nov 2012 20:44:49 +0000 (20:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idf7d9fa911d3354237775c6a3536196152b3f6f0

11 years agoMerge "Always return something nice in Language::translateBlockExpiry()"
Nikerabbit [Tue, 20 Nov 2012 17:22:23 +0000 (17:22 +0000)]
Merge "Always return something nice in Language::translateBlockExpiry()"

11 years agoTest un-closed noinclude, onlyinclude and includeonly tags
Gabriel Wicke [Tue, 20 Nov 2012 16:55:00 +0000 (08:55 -0800)]
Test un-closed noinclude, onlyinclude and includeonly tags

Change-Id: I328d1e2f5c1362caa0cb32efcd7b81dab7bab8c5

11 years ago(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode
Brad Jorsch [Tue, 20 Nov 2012 16:47:04 +0000 (11:47 -0500)]
(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode

It seems that IE8 lies about supporting "onhashchange" with the standard
feature test when in compatibility mode. So, sadly, we must add in an
explicit browser check if we want this to work.

Change-Id: Ib2c1b150acd0a0b5b16604e8623d6aa78017a9a0

11 years agoAlways return something nice in Language::translateBlockExpiry()
Liangent [Tue, 20 Nov 2012 12:13:37 +0000 (20:13 +0800)]
Always return something nice in Language::translateBlockExpiry()

Change-Id: I30a1950df5ae018cb9124392dc8d6e99ca3b98b8

11 years agoMerge "(bug 36053) Login returnto doesn't work if title isn't in the URI"
Anomie [Tue, 20 Nov 2012 13:46:18 +0000 (13:46 +0000)]
Merge "(bug 36053) Login returnto doesn't work if title isn't in the URI"

11 years ago(bug 36053) Login returnto doesn't work if title isn't in the URI
Marius Hoch [Tue, 23 Oct 2012 23:18:08 +0000 (01:18 +0200)]
(bug 36053) Login returnto doesn't work if title isn't in the URI

Returnto after login didn't work if title wasn't given as URI
parameter. I'm using $this->getTitle() to find it out, in case
the user got read rights (per code comment above my change).

Change-Id: I14d92581ce790355404d3c184fa6542a24f7a130

11 years agoMerge "(bug 40632) Remove CleanupPresentationalAttributes feature"
Anomie [Tue, 20 Nov 2012 13:30:53 +0000 (13:30 +0000)]
Merge "(bug 40632) Remove CleanupPresentationalAttributes feature"

11 years agoTest non-ASCII / URL pseudo-tags
Gabriel Wicke [Tue, 20 Nov 2012 00:56:59 +0000 (16:56 -0800)]
Test non-ASCII / URL pseudo-tags

Make sure these are rendered and round-tripped properly.

* Tags with names outside [a-zA-Z][a-zA-Z0-9]* are rendered as plain text
* Angle brackets around URLs render as angle brackets around URL links

Change-Id: I7f0653cbbbb6ccb9a9aa0ecfa29a0c2e78091343