lhc/web/wiklou.git
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 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 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 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 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

11 years agoJavaScriptContentHandler: Fix typo in comment block (actual: 'CSS'; intended: 'JS')
Ori Livneh [Mon, 19 Nov 2012 23:33:21 +0000 (15:33 -0800)]
JavaScriptContentHandler: Fix typo in comment block (actual: 'CSS'; intended: 'JS')

Change-Id: Iaef21f0c864222aee7c970012e8163741d6310ca

11 years agoCorrect documentation for "maxlag" API parameter
Kevin Israel [Mon, 19 Nov 2012 22:46:13 +0000 (17:46 -0500)]
Correct documentation for "maxlag" API parameter

Replication lag above the number of seconds specified in the "maxlag"
parameter causes index.php to send HTTP status code 503, yet that is
not the case for the API. See bug 31156.

Change-Id: I3847629d3a34633d8e319a055a1e3252bd4ec638

11 years ago(bug 40632) Remove CleanupPresentationalAttributes feature
Timo Tijhof [Thu, 1 Nov 2012 18:08:54 +0000 (19:08 +0100)]
(bug 40632) Remove CleanupPresentationalAttributes feature

Removed $wgCleanupPresentationalAttributes, the associated
code it toggles and references to those in src and tests.

Also fixes bug 40329.

This was originally introduced in r94465 (released in REL1_19) but
disabled by default. Then enabled in r98053, after which several
bugs were filed and eventually the decision was made to remove
this feature.

Removed obsolete release-note entry, as this is to be backported
to REL1_20.

Change-Id: I4e86305520a3b22ef88381caab55d24abac932e3

11 years agoMerge "Fix PHP notice in Category.php"
Aaron Schulz [Mon, 19 Nov 2012 20:49:25 +0000 (20:49 +0000)]
Merge "Fix PHP notice in Category.php"

11 years agoMerge "Follow-up I214a988e (42a8daa): move documentation to the correct block"
Hashar [Mon, 19 Nov 2012 20:46:22 +0000 (20:46 +0000)]
Merge "Follow-up I214a988e (42a8daa): move documentation to the correct block"

11 years agoFix PHP notice in Category.php
Vitaliy Filippov [Mon, 19 Nov 2012 20:28:46 +0000 (00:28 +0400)]
Fix PHP notice in Category.php

Change-Id: I52838a1125298da330f60ef1e761130ff0e4faba

11 years agoFollow-up I214a988e (42a8daa): move documentation to the correct block
Alexandre Emsenhuber [Mon, 19 Nov 2012 20:26:53 +0000 (21:26 +0100)]
Follow-up I214a988e (42a8daa): move documentation to the correct block

These lines belongs to the whole file, not only to that class.

Change-Id: Ib61eae1e8f7d50d29a929c6034ede08a851105c9

11 years agoMerge "(bug 26280) all files should have GPL header"
IAlex [Mon, 19 Nov 2012 20:24:34 +0000 (20:24 +0000)]
Merge "(bug 26280) all files should have GPL header"

11 years agoMerge "profileinfo links now have anchors"
IAlex [Mon, 19 Nov 2012 20:19:28 +0000 (20:19 +0000)]
Merge "profileinfo links now have anchors"

11 years agoMerge "profileinfo now has lower lines heights"
IAlex [Mon, 19 Nov 2012 20:16:54 +0000 (20:16 +0000)]
Merge "profileinfo now has lower lines heights"

11 years agoMerge "Localisation updates from http://translatewiki.net."
IAlex [Mon, 19 Nov 2012 20:11:57 +0000 (20:11 +0000)]
Merge "Localisation updates from translatewiki.net."

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

Change-Id: I9083fea439c7bf545a7d2971d204513fab51c04c

11 years agoMerge "Lint: Pass jquery.tablesorter."
Hashar [Mon, 19 Nov 2012 19:56:36 +0000 (19:56 +0000)]
Merge "Lint: Pass jquery.tablesorter."

11 years agoLint: Pass jquery.tablesorter.
Timo Tijhof [Mon, 19 Nov 2012 18:50:15 +0000 (19:50 +0100)]
Lint: Pass jquery.tablesorter.

Added tolerance for "onevar" (hard to dissect, many out-of-scope
usage, probably better to be done by someone who knows this code
better).

Errors:
* Strings must use singlequote
* '$cell' is defined but never used.
* 's' is defined but never used.
* Unnecessary semicolon.
* '$document' is defined but never used.
* 'sortOrder' is defined but never used.
* 'shiftDown' is defined but never used.
* 'table' is defined but never used.
* 'table' is defined but never used.

Change-Id: I2e0abc41a79922a1810519705237ae3bd60ed679

11 years agoLint: Pass mediawiki.language.
Timo Tijhof [Mon, 19 Nov 2012 18:33:31 +0000 (19:33 +0100)]
Lint: Pass mediawiki.language.

Maybe they'll get closures soon, but for now just fix the
warnings so we can get on with enforcing jshint from jenkins like
we do phplint/puppetlint.

Added tolerance for "onecase" and disabled "noempty" in a few
files. Keeps these files easier to update. Though they should be
restructured, I'm not going to do that now.

Change-Id: Ie3535f22fc88ea5272d7387cef870c8c042a9393

11 years agoMerge "Add release note for Ieec65c90"
Reedy [Mon, 19 Nov 2012 18:10:52 +0000 (18:10 +0000)]
Merge "Add release note for Ieec65c90"

11 years agoAdd release note for Ieec65c90
Brad Jorsch [Mon, 19 Nov 2012 18:06:54 +0000 (13:06 -0500)]
Add release note for Ieec65c90

Gerrit change Ieec65c90 did not update RELEASE-NOTES-1.21.

Change-Id: I4820060b8459682ed28c05c2b69a89321b01183e

11 years agoCleanup: Fix yoda and indentation in SpecialUserlogin.php
Timo Tijhof [Mon, 19 Nov 2012 16:33:31 +0000 (17:33 +0100)]
Cleanup: Fix yoda and indentation in SpecialUserlogin.php

Change-Id: I0bde21a8da679350559779132dbd7b1ba85116d1

11 years agoprofileinfo links now have anchors
Antoine Musso [Mon, 19 Nov 2012 14:34:34 +0000 (15:34 +0100)]
profileinfo links now have anchors

Whenever expanding a section in profileinfo, the browser would sent us
to the top again which would force us to browse down to where we were.
Adding basic anchors send the user directly where he was browsing.

Note that HTML5 let you specify anything as an id as long as there is at
least one character.

Change-Id: I5b55297ce25d5c07b29610798fb39eae16d27f6a

11 years agoprofileinfo now has lower lines heights
Antoine Musso [Mon, 19 Nov 2012 14:31:15 +0000 (15:31 +0100)]
profileinfo now has lower lines heights

The 8px padding was a bit too tall, "reduced" that to 0.1em which is
good enough. I have also dropped the line-height which does not have any
purpose when you already apply a padding.

Change-Id: I271eb932e4c70f940ebe3da39731f09c998610bc

11 years agoMerge "add SpecialUndeleteLogEntry hook"
Daniel Kinzler [Mon, 19 Nov 2012 13:17:31 +0000 (13:17 +0000)]
Merge "add SpecialUndeleteLogEntry hook"

11 years agoMerge "Log profiling data when tests have finished."
Hashar [Mon, 19 Nov 2012 13:12:16 +0000 (13:12 +0000)]
Merge "Log profiling data when tests have finished."

11 years agoMerge "Clean up database cloning for tests."
Hashar [Mon, 19 Nov 2012 13:04:40 +0000 (13:04 +0000)]
Merge "Clean up database cloning for tests."

11 years agoupdate.php now create profiling table when needed
aude [Sun, 7 Oct 2012 12:15:57 +0000 (12:15 +0000)]
update.php now create profiling table when needed

When enabling $wgProfileToDatabase, one would have to manually apply a
patch to the database that would add the `profiling` table. This patch
let update.php creates the table whenever $wgProfileToDatabase is true.

This also provide a SQL patch for SQLite backend and update
profileinfo.php to give some clue about enabling the global and running
update.php

Change-Id: If68a25f7ec2b0fbb61f82a318427abe58a89dae7

11 years ago(bug 42215) "Welcome, X" as account creation title
S Page [Mon, 19 Nov 2012 10:37:50 +0000 (02:37 -0800)]
(bug 42215) "Welcome, X" as account creation title

Use "Welcome, <user>" as title on successful account creation.
Create separate displaySuccessfulAccountCreation() function that
uses new welcomeuser and welcomecreation-agora messages split from
existing welcomecreation message.

Change-Id: I087c272952e5b2a271411764d368f723719cd0e3

11 years agoadd SpecialUndeleteLogEntry hook
aude [Fri, 16 Nov 2012 17:10:53 +0000 (17:10 +0000)]
add SpecialUndeleteLogEntry hook

- allows extensions to perform some action at time that a undeletion log entry is performed,
or skip the insertion of a log entry.

Change-Id: I5b0caaddfe5d7262612a60946d9f5c4af2679141