lhc/web/wiklou.git
11 years agoMerge "(bug 39956) MediaWiki's info action should vertically align cell values to...
IAlex [Fri, 7 Sep 2012 17:01:46 +0000 (17:01 +0000)]
Merge "(bug 39956) MediaWiki's info action should vertically align cell values to top * Fixed spacing"

11 years agoMerge "New hook 'AfterFinalPageOutput' which is called at the end of OutputPage:...
Daniel Kinzler [Fri, 7 Sep 2012 09:12:34 +0000 (09:12 +0000)]
Merge "New hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()"

11 years agoMerge "Alpha-sort lists of api modules in ApiQuery"
Daniel Kinzler [Fri, 7 Sep 2012 09:10:03 +0000 (09:10 +0000)]
Merge "Alpha-sort lists of api modules in ApiQuery"

11 years agoMerge "Replace non standard 'tt' with 'code' for better HTML5 conformity"
IAlex [Fri, 7 Sep 2012 08:59:08 +0000 (08:59 +0000)]
Merge "Replace non standard 'tt' with 'code' for better HTML5 conformity"

11 years agoReplace non standard 'tt' with 'code' for better HTML5 conformity
raymond [Fri, 7 Sep 2012 08:52:49 +0000 (10:52 +0200)]
Replace non standard 'tt' with 'code' for better HTML5 conformity

See http://www.w3.org/wiki/HTML/Elements/tt

Change-Id: I902a6cab5310cd726c84cbd87840bce2c0d51eda

11 years agoNew hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()
Daniel Werner [Thu, 5 Jul 2012 14:21:21 +0000 (16:21 +0200)]
New hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()

Called  before final ob_end_flush() which will send the buffered output to the client. This allows for last-minute modification of the output within the buffer by using ob_get_clean().

- patch-set2: moved the hook before OutputPage::sendCacheControl() is called, as suggested by Reedy.

Change-Id: I264a37ac74e0c18ff141f82156e669ece3212c2d

11 years agoRemove @deprecated from wfTimestamp()
Tim Starling [Fri, 7 Sep 2012 05:13:38 +0000 (15:13 +1000)]
Remove @deprecated from wfTimestamp()

Adding abbreviated wrappers for lengthy function invocations is good
practice, it improves code readability. If all we ever had was
MWTimestamp, and we had a million instances of

$timestamp = new MWTimestamp( $ts );
$mwTimestamp = $timestamp->getTimestamp( TS_MW );

I would introduce a global function or class static method wrapper to
clean up those invocations. But I don't have to, because we already have
the wrapper.

Change-Id: I9149a7626676a0115a0a877f27d8b65e6e868de9

11 years agoMerge "(bug 32552) Drop unused database field cat_hidden"
Reedy [Thu, 6 Sep 2012 22:20:05 +0000 (22:20 +0000)]
Merge "(bug 32552) Drop unused database field cat_hidden"

11 years agoAdd some trailing whitespace
Reedy [Thu, 6 Sep 2012 21:29:10 +0000 (22:29 +0100)]
Add some trailing whitespace

Change-Id: I0d43d82e2d78f86e50fac82f10bd1d7cebac176c

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 6 Sep 2012 19:46:32 +0000 (19:46 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 6 Sep 2012 19:39:21 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1a45240e7604142bc0270b2e1cc64f035ff60cf0

11 years agotry/catch for bug 40037 weird timestamps in exif
Brion Vibber [Thu, 6 Sep 2012 19:10:57 +0000 (12:10 -0700)]
try/catch for bug 40037 weird timestamps in exif

Change-Id: I474bb796328baab6ca123d68c3ce7cf78fccfd3a

11 years ago(bug 39956) MediaWiki's info action should vertically align cell values to top
madman [Thu, 6 Sep 2012 13:49:13 +0000 (13:49 +0000)]
(bug 39956) MediaWiki's info action should vertically align cell values to top
* Fixed spacing

Change-Id: Ic20ff3d7985b4cd2457a09f9cd0c76367e9e3980

11 years agoMerge "(bug 30445) Update 'revdelete-reason-dropdown'"
Aaron Schulz [Thu, 6 Sep 2012 18:37:42 +0000 (18:37 +0000)]
Merge "(bug 30445) Update 'revdelete-reason-dropdown'"

11 years agoMerge "Remove usage of wfTime() in benchmarks and backupTextPassTest.php"
Siebrand [Thu, 6 Sep 2012 18:36:39 +0000 (18:36 +0000)]
Merge "Remove usage of wfTime() in benchmarks and backupTextPassTest.php"

11 years agoAlpha-sort lists of api modules in ApiQuery
Reedy [Thu, 6 Sep 2012 18:26:23 +0000 (19:26 +0100)]
Alpha-sort lists of api modules in ApiQuery

$ocd++;

Change-Id: I3dbf763d360822f2c39e97622b2ca32b9c322ee5

11 years agoMerge "Remove <code> which no longer makes sense."
Nikerabbit [Thu, 6 Sep 2012 17:58:22 +0000 (17:58 +0000)]
Merge "Remove <code> which no longer makes sense."

11 years agoMerge "Revert "thumb.php now handles short and long thumbnail name formats when possi...
Aaron Schulz [Thu, 6 Sep 2012 17:54:59 +0000 (17:54 +0000)]
Merge "Revert "thumb.php now handles short and long thumbnail name formats when possible.""

11 years agoRevert "thumb.php now handles short and long thumbnail name formats when possible."
Aaron Schulz [Thu, 6 Sep 2012 17:52:33 +0000 (17:52 +0000)]
Revert "thumb.php now handles short and long thumbnail name formats when possible."

Doesn't quite work, since $img->transform() still saved the thumb under the normal name.

This reverts commit 5b33e66b749b525f745dc3c0e814f072fd136479

11 years agoRemove usage of wfTime() in benchmarks and backupTextPassTest.php
Alexandre Emsenhuber [Thu, 6 Sep 2012 17:47:17 +0000 (19:47 +0200)]
Remove usage of wfTime() in benchmarks and backupTextPassTest.php

Left the usage in GlobalTest.php since these are tests for
that function.

This function is only a wrapper to microtime( true ),
so it can easily be replaced and deprecated at some point.

Change-Id: I4f7c1f6705e10e2664f8e9be51d86ed5c8ff1e1c

11 years agoMerge "thumb.php now handles short and long thumbnail name formats when possible."
Catrope [Thu, 6 Sep 2012 17:42:29 +0000 (17:42 +0000)]
Merge "thumb.php now handles short and long thumbnail name formats when possible."

11 years agoMerge "[FileBackend] Work-around low header value limits in Swift."
Catrope [Thu, 6 Sep 2012 17:33:20 +0000 (17:33 +0000)]
Merge "[FileBackend] Work-around low header value limits in Swift."

11 years ago[FileBackend] Work-around low header value limits in Swift.
Aaron [Thu, 6 Sep 2012 17:15:10 +0000 (10:15 -0700)]
[FileBackend] Work-around low header value limits in Swift.

* Also added sanity check to makeContentDisposition() and made the file name optional

Change-Id: Ie4bfef743d11227631606498f026e693dd8d21f3

11 years ago(bug 32552) Drop unused database field cat_hidden
umherirrender [Fri, 3 Aug 2012 19:33:18 +0000 (21:33 +0200)]
(bug 32552) Drop unused database field cat_hidden

For the hiddencat feature the page prop table is used

Change-Id: If01d3394617ab8aec1a9b50c20bfe923df08732c

11 years agoMove 3 RELEASE-NOTES entries from the API section
Reedy [Wed, 5 Sep 2012 22:25:38 +0000 (23:25 +0100)]
Move 3 RELEASE-NOTES entries from the API section

Change-Id: I2f2cff7dfca71b145740d8f2ec1face68639f58a

11 years agoRemove <code> which no longer makes sense.
Siebrand Mazeland [Thu, 6 Sep 2012 13:37:56 +0000 (15:37 +0200)]
Remove <code> which no longer makes sense.

Change-Id: I96fe92aecae3aa61d35fe8a9d2f1bf62859a37d3

11 years agoMerge "[Bug 35738] remove zone info from ipv6 addresses"
Aaron Schulz [Thu, 6 Sep 2012 05:25:41 +0000 (05:25 +0000)]
Merge "[Bug 35738] remove zone info from ipv6 addresses"

11 years ago[Bug 35738] remove zone info from ipv6 addresses
daniel [Wed, 5 Sep 2012 19:11:42 +0000 (21:11 +0200)]
[Bug 35738] remove zone info from ipv6 addresses

Patch provided by Nick Kuznia

Change-Id: Icccf10974746e8e27000ab45de28d0f1836ec8aa

11 years agoDo strict check for $par in Special:Log
Alexandre Emsenhuber [Wed, 5 Sep 2012 19:52:03 +0000 (21:52 +0200)]
Do strict check for $par in Special:Log

Otherwise Special:Log/0 would not behave as expected.

Change-Id: I47ac43ca71bd7384f19c51a11f114240b0cc0702

11 years agoMerge "add moveoverredirect to result of api move"
Reedy [Thu, 6 Sep 2012 00:03:16 +0000 (00:03 +0000)]
Merge "add moveoverredirect to result of api move"

11 years ago* (bug 39665) Cache AllowedGenerator array so it doesn't autoload all query classes...
Reedy [Wed, 5 Sep 2012 22:21:54 +0000 (23:21 +0100)]
* (bug 39665) Cache AllowedGenerator array so it doesn't autoload all query classes on every request.

Change-Id: I541ecf931a2bbe766bf31f569f81cc92308e35e1

11 years agoMerge "Make Special:Log link pretty in navigation toolbox"
IAlex [Wed, 5 Sep 2012 19:39:41 +0000 (19:39 +0000)]
Merge "Make Special:Log link pretty in navigation toolbox"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 5 Sep 2012 19:29:10 +0000 (19:29 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoRevert "(bug 27111) Make cascading foreign repo's fetch description properly"
Aaron [Wed, 5 Sep 2012 19:22:14 +0000 (12:22 -0700)]
Revert "(bug 27111) Make cascading foreign repo's fetch description properly"

The combination of $out->addHTML() and the super call cause action=render for
File pages to have the text rendered twice. Wikis get commons descriptions via
action=render, so they were showing the description text twice.

This reverts commit ca13fde652e1a1a05c835219af7b014509a1c88f.

Conflicts:

RELEASE-NOTES-1.20

Change-Id: Ib1072fd1d109c0d6706215ccad1413dd72cb201d

11 years agoMerge "[FileBackend] Clear swift connection on invalid HTTP responses."
Demon [Wed, 5 Sep 2012 19:14:09 +0000 (19:14 +0000)]
Merge "[FileBackend] Clear swift connection on invalid HTTP responses."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 5 Sep 2012 19:13:48 +0000 (19:13 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I283636215457bc783c8530ccef768d5cb31634ae

11 years agoMerge "New hook ApiCheckCanExecute."
Daniel Kinzler [Wed, 5 Sep 2012 19:06:48 +0000 (19:06 +0000)]
Merge "New hook ApiCheckCanExecute."

11 years agoNew hook ApiCheckCanExecute.
Tyler Romeo [Tue, 21 Aug 2012 15:52:47 +0000 (11:52 -0400)]
New hook ApiCheckCanExecute.

Added new hook in ApiMain::checkCanExecute
so that extensions can authenticate and
authorize API clients before the module is
execute. (Necessary for extensions like
OAuth that externally authnz clients.)

Change-Id: I1b059fd9a4aa717928af8b09f5edebe899ab3ce1
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoMerge "Handle '\0\0\0\0\0\0\0\0\0\0\0\0\0\0' in setTimestamp"
Catrope [Wed, 5 Sep 2012 18:17:14 +0000 (18:17 +0000)]
Merge "Handle '\0\0\0\0\0\0\0\0\0\0\0\0\0\0' in setTimestamp"

11 years agoMerge changes I794d4675,I57e2fc0b
Kaldari [Wed, 5 Sep 2012 18:15:20 +0000 (18:15 +0000)]
Merge changes I794d4675,I57e2fc0b

* changes:
  LivePreview: handle .mw-newarticletext element
  LivePreview: coding conventions and overall code prettiness

11 years agoLivePreview: handle .mw-newarticletext element
MatmaRex [Sat, 1 Sep 2012 16:35:07 +0000 (18:35 +0200)]
LivePreview: handle .mw-newarticletext element

Previously, if LivePreview was used during article creation, the throbber
would be first inserted as the beginning of #mw-content-text (above
.mw-newarticletext), and then overlaid over it on subsequent previews.
Since .mw-newarticletext itself wasn't being faded, this looked ugly.

Now .mw-newarticletext is hidden after first preview and treated like
other elements LivePreview updates. (This mimics the behavior of regular
preview.)

Change-Id: I794d4675721280b041858fd1cb8ca26b32a5ed17

11 years agoLivePreview: coding conventions and overall code prettiness
MatmaRex [Sat, 1 Sep 2012 14:46:04 +0000 (16:46 +0200)]
LivePreview: coding conventions and overall code prettiness

There are no functionality changes; some code has been moved around, some
variables were renamed, some whitespace fixed, some comments updated.

Slightly non-trivial changes:
* use .animate instead of .fadeTo (see comment in code for explanation)
* move loading diff styles out of the if (RL will take care of it)

Change-Id: I57e2fc0b090b6cbbcc15a445ac65bab860fbcae9

11 years agoHandle '\0\0\0\0\0\0\0\0\0\0\0\0\0\0' in setTimestamp
Reedy [Wed, 5 Sep 2012 00:21:42 +0000 (01:21 +0100)]
Handle '\0\0\0\0\0\0\0\0\0\0\0\0\0\0' in setTimestamp

Also tidied up/fleshed out method function type documentation

Change-Id: I3d1b1862d0f2f1968e0e4c9b01dc34de955377d2

11 years agoFix exif timestamp bug
Brion Vibber [Tue, 4 Sep 2012 23:47:25 +0000 (18:47 -0500)]
Fix exif timestamp bug

Missing a prefixed 0 on the hour for some reason, explodes.

Change-Id: I8658223d36404e73b9b4d28ce027c1abf98b3f8f

11 years agothumb.php now handles short and long thumbnail name formats when possible.
Aaron [Tue, 4 Sep 2012 16:57:44 +0000 (09:57 -0700)]
thumb.php now handles short and long thumbnail name formats when possible.

Change-Id: I8e53ce711e23127854185661c5ce8bddbb226623

11 years agoMerge "Fixed and normalized content-disposition for thumbs."
Aaron Schulz [Tue, 4 Sep 2012 20:59:16 +0000 (20:59 +0000)]
Merge "Fixed and normalized content-disposition for thumbs."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 4 Sep 2012 20:18:01 +0000 (20:18 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I4f812faef1be14d9a699d5159d8e453c74763d68

11 years agoRemove usage of wfTime() in maintenance
Alexandre Emsenhuber [Tue, 4 Sep 2012 19:05:40 +0000 (21:05 +0200)]
Remove usage of wfTime() in maintenance

This function is only a wrapper to microtime( true ),
so it can easily be replaced and deprecated at some point.

Change-Id: I26f77d3cb02cc517ecf51262a4684084a7ce7825

11 years agoMerge "(bug 39287) Fixed error checking in DatabaseMysql::fetchObject."
Aaron Schulz [Tue, 4 Sep 2012 18:44:55 +0000 (18:44 +0000)]
Merge "(bug 39287) Fixed error checking in DatabaseMysql::fetchObject."

11 years ago(bug 39287) Fixed error checking in DatabaseMysql::fetchObject.
Tyler Anthony Romeo [Tue, 4 Sep 2012 03:55:18 +0000 (23:55 -0400)]
(bug 39287) Fixed error checking in DatabaseMysql::fetchObject.

According to the libmysql API documentation, mysql_fetch_row,
upon which the PHP functions mysql_fetch_object, etc. are
based on, does not reset the error number or message upon
success. So calling mysql_errno() after a successful fetch
may return the error of the previous function call.

This commit changes DatabaseMysql::fetchObject and similar
functions to only check for specific error numbers that are
explicitly documented to be expected from mysql_fetch_*.

Change-Id: Iacb78828885a8a0d4e499a681d938a6adf651582

11 years agoMerge "Convert core to use new ThumbnailImage() constructor"
Aaron Schulz [Tue, 4 Sep 2012 18:17:59 +0000 (18:17 +0000)]
Merge "Convert core to use new ThumbnailImage() constructor"

11 years agoAdded missing GPLv2 headers in maintenance scripts.
Alexandre Emsenhuber [Tue, 4 Sep 2012 16:48:17 +0000 (18:48 +0200)]
Added missing GPLv2 headers in maintenance scripts.

- made file/class documentation more consistent
- contains a fix for Id7a04ff8 (2a7478b)

Change-Id: I5264105ce1b6ad86a9840e05be1af99f5d6e252a

11 years agoMerge "test: new assertHTMLEquals()"
Antoine Musso [Tue, 4 Sep 2012 16:29:48 +0000 (16:29 +0000)]
Merge "test: new assertHTMLEquals()"

11 years agoFollowup da433140: remove an old workaround
Liangent [Tue, 4 Sep 2012 15:14:20 +0000 (23:14 +0800)]
Followup da433140: remove an old workaround

The code was to work around a bug fixed by da433140.

Change-Id: I793cedf3d3cbc23dc5d07b3e0325ad238853385a

11 years agoMerge "Followup da433140: add one more test and release note"
IAlex [Tue, 4 Sep 2012 15:34:43 +0000 (15:34 +0000)]
Merge "Followup da433140: add one more test and release note"

11 years agoMerge "Added missing field definition, added cache key check and fixed type hint"
IAlex [Tue, 4 Sep 2012 15:32:12 +0000 (15:32 +0000)]
Merge "Added missing field definition, added cache key check and fixed type hint"

11 years agoFollowup da433140: add one more test and release note
Liangent [Tue, 4 Sep 2012 15:14:20 +0000 (23:14 +0800)]
Followup da433140: add one more test and release note

Change-Id: I03f3fa9cb58b6e98a88a2828f19bae849acf5455

11 years agoMerge "'lang' attrib in #mw-content-text should be set to variant code."
Hashar [Tue, 4 Sep 2012 15:04:52 +0000 (15:04 +0000)]
Merge "'lang' attrib in #mw-content-text should be set to variant code."

11 years ago'lang' attrib in #mw-content-text should be set to variant code.
Liangent [Sat, 2 Jun 2012 18:07:46 +0000 (02:07 +0800)]
'lang' attrib in #mw-content-text should be set to variant code.

Change-Id: I15cd8c102991c5007b43e06939a0c1a7593d0933

11 years ago(bug 34939) Handle mixed-case URL protocols in wikitext
Fran McCrory [Tue, 10 Jul 2012 18:49:02 +0000 (14:49 -0400)]
(bug 34939) Handle mixed-case URL protocols in wikitext

This patch marks the regex matching url protocol as being case
insensitive. We will from now render links like [HTTP://ww].

Tests added.

Change-Id: I706acb7a0ae194b50d2318763beae4e5e83671f3

11 years agoRevert back to jQuery 1.7.2
Reedy [Tue, 4 Sep 2012 14:09:40 +0000 (15:09 +0100)]
Revert back to jQuery 1.7.2

Seems we potentially have numerous bugs resulting from the 1.8/1.8.1 upgrades

Change-Id: I8ed2f2c02bd498a547599391325ce62356084847

11 years agoAdded missing field definition, added cache key check and fixed type hint
jeroendedauw [Tue, 4 Sep 2012 13:37:24 +0000 (15:37 +0200)]
Added missing field definition, added cache key check and fixed type hint

Change-Id: I60a6bc22175f9187cafbd9daebe1dfb7d2b1d0fd

11 years agoUpdate jquery.qunit from upstream v1.9.0 to v1.10.0
Timo Tijhof [Sun, 2 Sep 2012 21:09:11 +0000 (23:09 +0200)]
Update jquery.qunit from upstream v1.9.0 to v1.10.0

Upstream:
* git-repo: https://github.com/jquery/qunit.git
* git-tag: v1.10.0
* git-commit: 900f72051b0112342feda3d700a7a049d886b9ce

* tree:
  https://github.com/jquery/qunit/tree/v1.10.0
* compare:
  https://github.com/jquery/qunit/compare/v1.9.0...v1.10.0
* release-notes:
  https://github.com/jquery/qunit/blob/v1.10.0/History.md

Change-Id: If8529952a1d9f228ad1c5697057afea12fdf3630

11 years ago(bug 30445) Update 'revdelete-reason-dropdown'
Siebrand Mazeland [Wed, 22 Aug 2012 10:41:51 +0000 (12:41 +0200)]
(bug 30445) Update 'revdelete-reason-dropdown'

Add "Inappropriate username" as a generic revisiondelete reason.

Change-Id: Id2276782c26c9f717bc1d387a8168d13a7c69d9b

11 years agoPass JSHint on resources/{mediawiki.api,jquery,mediawiki}/*
Timo Tijhof [Mon, 27 Aug 2012 17:43:14 +0000 (19:43 +0200)]
Pass JSHint on resources/{mediawiki.api,jquery,mediawiki}/*

Notes:
* JSHint stuff
* Code conventions
* jQuery best practices
* mediawiki.debug:
  - Append a text node instead of html. Though .append()
    does check if it looks "like" not-html and creates a text
    node, this is not more a sanity/security thing than a
    reliable documented feature. http://api.jquery.com/append/ :
    "HTML string, DOM element(s) or jQuery object".

While at it:
* Update .jshintignore to also cover:
  - resources/mediawiki.libs/CLDRPluralRuleParser.js
* Update .jshintrc to set onevar back to true (was set to false
  temporarily but not removed).
* Fix files in resources/mediawiki and resources/jquery as well.
  These dirs where already covered, perhaps these were missed or
  recently introduced, again.
* Add missing dependencies:
  jquery.highlightText -> jquery.mwExtension ($.escapeRE)
  jquery.tablesorter -> jquery.mwExtension ($.escapeRE)
  mediawiki.page.watch.ajax -> jquery.mwExtension ($.escapeRE)

Change-Id: I30a55717d0963ce23e51cef1f1df9e549e4c232e

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 3 Sep 2012 19:57:48 +0000 (19:57 +0000)]
Merge "Localisation updates from translatewiki.net."

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

Change-Id: I23f4abe39a66153544a3e9418b4f507ae2b4d9b7

11 years agoFixes for Id2ac68ef (a6e8b13)
Alexandre Emsenhuber [Mon, 3 Sep 2012 19:38:59 +0000 (21:38 +0200)]
Fixes for Id2ac68ef (a6e8b13)

- drop no longer used $options variable
- use $this->msg() instead of wfMessage()

Change-Id: Ib690f3a8e63f3ede993e9cd34e2831ef18098ed9

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Mon, 3 Sep 2012 18:10:09 +0000 (20:10 +0200)]
Improve documentation of maintenance scripts.

Change-Id: Id7a04ff816dc47a8cc81a4da5ab0dff26b688bd5

11 years agoDrop support for 'options' in OutputPage::wrapWikiMsg()
Siebrand Mazeland [Mon, 3 Sep 2012 10:18:23 +0000 (12:18 +0200)]
Drop support for 'options' in OutputPage::wrapWikiMsg()

It was not used[1] and complicated migration to Message class.

[1] Checked uses in 100 extensions, including most Wikimedia, twn and SMW extensions.

Change-Id: Id2ac68ef79e98272d02117165e2f04034f209fb3

11 years agoMerge "mediawiki.user.test: Fix getGroups() regression"
Hashar [Mon, 3 Sep 2012 10:26:09 +0000 (10:26 +0000)]
Merge "mediawiki.user.test: Fix getGroups() regression"

11 years agotest: new assertHTMLEquals()
Antoine Musso [Mon, 3 Sep 2012 08:46:07 +0000 (10:46 +0200)]
test: new assertHTMLEquals()

Very trivial helper to compare HTML content. The method just add a
newline after each closing angle and then call assertEquals().

Change-Id: I5e6daa916a4fb452824616fa3c8a87bdb8038e8c

11 years agoMake Special:Log link pretty in navigation toolbox
raymond [Sun, 2 Sep 2012 21:29:36 +0000 (23:29 +0200)]
Make Special:Log link pretty in navigation toolbox

Change-Id: Ie1ee210dd99a8ae8225dab3040e06d422a122f22
Special:Log/Username works since a few MediaWiki releases

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

Change-Id: I41d843b3be378ea2100d410386db4a43ec78fa20

11 years agoMerge "Improve documentation of maintenance scripts."
Siebrand [Sun, 2 Sep 2012 20:00:19 +0000 (20:00 +0000)]
Merge "Improve documentation of maintenance scripts."

11 years agomediawiki.user.test: Fix getGroups() regression
Timo Tijhof [Sun, 2 Sep 2012 19:43:08 +0000 (21:43 +0200)]
mediawiki.user.test: Fix getGroups() regression

* Test depended on sort order, fixing by looking up index
  instead.

  Order is not documented and should not be depended on,
  therefore updating the test instead of changing the output.

* Follows-up 1e8992ca7489e620d157d9a50d9aa5e611b84887

Change-Id: Id72b0550e5c0e1ae5454005f9245d1d542fc2e46

11 years agoMerge "[mw.notification] Introduce a full fledged notification system into core repla...
Krinkle [Sun, 2 Sep 2012 19:27:42 +0000 (19:27 +0000)]
Merge "[mw.notification] Introduce a full fledged notification system into core replacing jsMessage."

11 years ago[mw.notification] Introduce a full fledged notification system into core replacing...
Daniel Friesen [Mon, 13 Aug 2012 06:18:07 +0000 (23:18 -0700)]
[mw.notification] Introduce a full fledged notification system into core replacing jsMessage.

- Support for multiple messages instead of just one is included.
- Persistent messages are also supported.
- Tagged message replacement is supported so that only one message of a type will show up at once.
- A light flood protection is included to stop all the notifications from disappearing at once.
- Watchlist uses it's own tag now.
- Legacy jsMessage messages still replace each other by using a tag: 'legacy' option
- #mw-js-message was an old id used for something with a completely different style. So rather than re-using it that id is being dropped. Skins can now style the new notifications.
- Core is no longer using messageBox and no extension uses it so instead of making a compatibility layer for it that module is just being dropped.

This is a follow up to I41c70d78.

Change-Id: I2b3d9cbce6d1514d754b4403ec878d89ea6af29d

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Sun, 2 Sep 2012 18:33:22 +0000 (20:33 +0200)]
Improve documentation of maintenance scripts.

Also contains a fix for Ia5a38311 (fae0550).

Change-Id: I630c83b48b66c5d8c97411082cabd731f316f42d

11 years ago(bug 39908) jQuery 1.8.1
Antoine Musso [Sun, 2 Sep 2012 12:50:56 +0000 (14:50 +0200)]
(bug 39908) jQuery 1.8.1

jQuery 1.8.0 has regression issues where selections with class and id
returned wrong elements (aka: $('#ca-talk.new a'). This patch upgrade
jQuery to 1.8.1 from upstream.

Change-Id: I9db28a52341eef0862aac7e1ae5e4f4e4637fd91

11 years agoAdded @since to new function.
Aaron Schulz [Sun, 2 Sep 2012 07:33:19 +0000 (00:33 -0700)]
Added @since to new function.

Change-Id: If15c11df7f460bea6c748584442970065fdaaaae

11 years agoMerge "Fixes for DatabaseMysql::open()"
Aaron Schulz [Sun, 2 Sep 2012 05:05:54 +0000 (05:05 +0000)]
Merge "Fixes for DatabaseMysql::open()"

11 years agoMerge "(bug 39875) Fixed conversion of array attributes in Html."
Aaron Schulz [Sun, 2 Sep 2012 04:55:50 +0000 (04:55 +0000)]
Merge "(bug 39875) Fixed conversion of array attributes in Html."

11 years agoMerge "Make functions match definitions in Preprocessor interface"
Siebrand [Sat, 1 Sep 2012 22:44:48 +0000 (22:44 +0000)]
Merge "Make functions match definitions in Preprocessor interface"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sat, 1 Sep 2012 20:50:14 +0000 (20:50 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 1 Sep 2012 20:43:45 +0000 (20:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ifae56bd20a5d2868c54751f5d0a04439d35c89c2

11 years agoMerge "Added missing GPLv2 headers in new files."
Siebrand [Sat, 1 Sep 2012 20:41:55 +0000 (20:41 +0000)]
Merge "Added missing GPLv2 headers in new files."

11 years agoAdded missing GPLv2 headers in new files.
Alexandre Emsenhuber [Sat, 1 Sep 2012 19:56:38 +0000 (21:56 +0200)]
Added missing GPLv2 headers in new files.

Also improved file documentation.

Change-Id: Ia5a383110769cf51603305dc639616d904ebbab2

11 years agoConvert core to use new ThumbnailImage() constructor
jarry1250 [Sat, 1 Sep 2012 16:12:48 +0000 (17:12 +0100)]
Convert core to use new ThumbnailImage() constructor

See change #21321 for the introduction of that new constructor
and the reasoning behind it.

Change-Id: I15843fab4217333077e16ae187e7c09f76d47e58

11 years agoFixes for DatabaseMysql::open()
Alexandre Emsenhuber [Sat, 1 Sep 2012 15:13:35 +0000 (17:13 +0200)]
Fixes for DatabaseMysql::open()

- Group global declarations at the top
- Early abort on error, instead of going through
  the whole code
- Group double call to wfDebug()
- Whitespaces fixes

Change-Id: I9e28395a2698216e14458d1a74ef0a89e7ee48d6

11 years agoLivePreview: properly use jquery.form (as dependency)
MatmaRex [Sat, 1 Sep 2012 14:20:16 +0000 (16:20 +0200)]
LivePreview: properly use jquery.form (as dependency)

... instead of just using two outdated functions copied from there god knows when.

Change-Id: Ifcc7e7c51cf20b3b93e4b16bd9ba55dfe45b445c

11 years agoMerge "Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups()."
Siebrand [Sat, 1 Sep 2012 12:33:07 +0000 (12:33 +0000)]
Merge "Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups()."

11 years agoFixed and normalized content-disposition for thumbs.
Aaron Schulz [Sat, 1 Sep 2012 04:20:56 +0000 (21:20 -0700)]
Fixed and normalized content-disposition for thumbs.

* Previously, thumbnails could have a hex tmp file name as the disposition.

Change-Id: I495860dc54c02d2b3e053e998a41674cd6d07f2f

11 years ago(bug 39875) Fixed conversion of array attributes in Html.
Tyler Anthony Romeo [Sat, 1 Sep 2012 01:25:27 +0000 (21:25 -0400)]
(bug 39875) Fixed conversion of array attributes in Html.

Changed Html::dropDefaults() so that when an array is
passed as an attribute value, it does not call strval(),
thus triggering a PHP notice. Instead arrays are
imploded with a space as the separator.

Change-Id: I2521b78c7de94c183b7de7e7d4b2b510ab0c7770

11 years agoMerge "[FileRepo] Added option to shorten long file names."
Catrope [Sat, 1 Sep 2012 00:11:19 +0000 (00:11 +0000)]
Merge "[FileRepo] Added option to shorten long file names."

11 years agoMerge "Allow array condition for HAVING in database interface"
Aaron Schulz [Sat, 1 Sep 2012 00:03:47 +0000 (00:03 +0000)]
Merge "Allow array condition for HAVING in database interface"

11 years agoMerge "(bug 25830) fix JS preview causing the page to "jump""
Kaldari [Fri, 31 Aug 2012 23:53:21 +0000 (23:53 +0000)]
Merge "(bug 25830) fix JS preview causing the page to "jump""

11 years ago[FileRepo] Added option to shorten long file names.
Aaron [Fri, 31 Aug 2012 21:21:39 +0000 (14:21 -0700)]
[FileRepo] Added option to shorten long file names.

Change-Id: Id36e787192b32b72d3b49e2afbe41335b81ae732

11 years agoCleaned up some whitespace from 45b9073b61d3aa569adb8cff46531a5b06b8bb7a
Aaron [Fri, 31 Aug 2012 23:24:19 +0000 (16:24 -0700)]
Cleaned up some whitespace from 45b9073b61d3aa569adb8cff46531a5b06b8bb7a

Change-Id: I42e376d80d6cc483b96e815d63b19aee78fe1127

11 years agoMerge "Adjust margin of wpSummary elements per move of summary box."
Trevor Parscal [Fri, 31 Aug 2012 23:20:55 +0000 (23:20 +0000)]
Merge "Adjust margin of wpSummary elements per move of summary box."