lhc/web/wiklou.git
11 years agoIf isConfirmedEmail (already confirmed), skip dbtouch/hook call
Matthew Flaschen [Thu, 28 Mar 2013 22:29:22 +0000 (18:29 -0400)]
If isConfirmedEmail (already confirmed), skip dbtouch/hook call

Bug: 46655
Change-Id: I5ea64611f68e01b1e82cd9dbe564123e81b17ed9

11 years agoRenamed JobQueue::QoS_Atomic to JobQueue::QOS_ATOMIC per convention.
Aaron Schulz [Thu, 28 Mar 2013 17:40:21 +0000 (10:40 -0700)]
Renamed JobQueue::QoS_Atomic to JobQueue::QOS_ATOMIC per convention.

Change-Id: I45e633ff40a805df9dfeda88ac738cfe6ac04739

11 years agoMerge "Start outputting deprecation warnings when legacy linker methods are called...
jenkins-bot [Thu, 28 Mar 2013 16:52:55 +0000 (16:52 +0000)]
Merge "Start outputting deprecation warnings when legacy linker methods are called on skins."

11 years agoMerge "Revert changes in fallback behavior"
Mwalker [Thu, 28 Mar 2013 16:41:51 +0000 (16:41 +0000)]
Merge "Revert changes in fallback behavior"

11 years agoStart outputting deprecation warnings when legacy linker methods are called on skins.
Daniel Friesen [Thu, 28 Mar 2013 16:41:12 +0000 (09:41 -0700)]
Start outputting deprecation warnings when legacy linker methods are called on skins.

Change-Id: I97b046739428176540ddd80e72a80d5feefe3fc9

11 years agoMerge "Prevent PHP notice by adding isset() check"
MarkAHershberger [Thu, 28 Mar 2013 11:50:48 +0000 (11:50 +0000)]
Merge "Prevent PHP notice by adding isset() check"

11 years agoMerge "Use get_class( $this ) instead of __CLASS__ in RedirectSpecialPage::execute()"
jenkins-bot [Thu, 28 Mar 2013 11:27:57 +0000 (11:27 +0000)]
Merge "Use get_class( $this ) instead of __CLASS__ in RedirectSpecialPage::execute()"

11 years agoRevert changes in fallback behavior
Siebrand Mazeland [Thu, 28 Mar 2013 10:24:19 +0000 (11:24 +0100)]
Revert changes in fallback behavior

This patch set reverts the following:
* Iaaf6ccebd8c40c9602748c58c3a5c73c29e7aa4d
* Ib607a446d3499a3c042dce408db5cbaf12fa9e3d
* Ic59fd20856eb0489d70f3469a56ebce0efb3db13 (partially)

Bug 46579 comment 17 describes a desired solution. In
If88923119179924a5ec091394ccab000ade16b3e we are working on a fix, but it is
taking longer than we anticipated. There was a deployment window planned
about now, but we didn't make it. It makes sense to revert for now, and commit
a proper solution somewhere next week.

Bug: 46579
Bug: 1495
Change-Id: Iac7ac4357dd80e8cdb238a6a207393f0712b3fe5

11 years agoFix case of some Title methods (final round)
Alexandre Emsenhuber [Thu, 28 Mar 2013 10:30:06 +0000 (11:30 +0100)]
Fix case of some Title methods (final round)

Change-Id: I41afed9c1d19aaca62685a51f881cf04a10998d8

11 years agoPrevent PHP notice by adding isset() check
Siebrand Mazeland [Thu, 28 Mar 2013 08:37:37 +0000 (09:37 +0100)]
Prevent PHP notice by adding isset() check

Issue was caused by change
I34c3fc9d8f9467e83cd201cb099c2d26f3a39b36

Bug: 46627
Change-Id: Ida87efc622e9e90b835473f069559817565eafc1

11 years agoUse get_class( $this ) instead of __CLASS__ in RedirectSpecialPage::execute()
Alexandre Emsenhuber [Thu, 28 Mar 2013 07:42:10 +0000 (08:42 +0100)]
Use get_class( $this ) instead of __CLASS__ in RedirectSpecialPage::execute()

So that it returns the subclass name and not always "RedirectSpecialPage".

Change-Id: Ibee18bc75e423e8874f9254da7cec59839ba15af

11 years agoRefactored use of $wgMemc in JobQueueDB to use a field.
Aaron Schulz [Sun, 10 Mar 2013 08:06:02 +0000 (00:06 -0800)]
Refactored use of $wgMemc in JobQueueDB to use a field.

* Also made sure it avoids SqlBagOStuff for sanity.

Change-Id: If39784567392a8a2c8a0787447267d73a0aeb0f2

11 years agoMerge "mediawiki.api: Add xhr.abort method to promise object"
jenkins-bot [Thu, 28 Mar 2013 05:14:09 +0000 (05:14 +0000)]
Merge "mediawiki.api: Add xhr.abort method to promise object"

11 years agoMerge "jquery.textSelection.test: Fix regression in Opera"
Krinkle [Thu, 28 Mar 2013 05:04:25 +0000 (05:04 +0000)]
Merge "jquery.textSelection.test: Fix regression in Opera"

11 years agomediawiki.api: Add xhr.abort method to promise object
Alex Monk [Wed, 27 Mar 2013 21:52:00 +0000 (21:52 +0000)]
mediawiki.api: Add xhr.abort method to promise object

jQuery.ajax does the same internally to extend the promise.

Change-Id: I3a8ae7a4c92dda5038cf7722ebd1d41dab0a7ef9

11 years agojquery.textSelection.test: Fix regression in Opera
MatmaRex [Sat, 23 Mar 2013 20:03:04 +0000 (21:03 +0100)]
jquery.textSelection.test: Fix regression in Opera

Removing a window.opera-guarded part of code that was supposed to
"[c]ompensate for Opera's craziness converting \n to \r\n and counting
that as two chars". That craziness was apparently fixed some time ago
and the tests were now failing.

This makes the QUnit tests pass on Opera again.

Bug: 41931
Change-Id: Ide3a95e8e86ee65c8e1ea357aefa44dd2bbd4ed4

11 years ago(bug 44111) ErrorPageError log messages should be in English
Brad Jorsch [Mon, 11 Mar 2013 18:26:56 +0000 (14:26 -0400)]
(bug 44111) ErrorPageError log messages should be in English

We want log messages to be in English. ErrorPageError, however, will log
the messages using the language of the current user. This isn't often
noticed, because the normal page view code path doesn't log
ErrorPageError and the API doesn't usually have ErrorPageError thrown in
the first place.

The fix is simple enough: in the constructor, create a new Message
object and call ->inLanguage( 'en' ) on it. And, for good measure,
->useDatabase( false ) so customizations on the local wiki won't show up
in the log files either.

Since ErrorPageError already overrides report(), that will take care of
still showing the expected language to the end user.

Bug: 44111
Change-Id: I9a6ab43d63e76fa9708b62e32ddc3262aff282f7

11 years agoMerge "Combine JavaScript and JSON encoding logic"
jenkins-bot [Thu, 28 Mar 2013 01:19:53 +0000 (01:19 +0000)]
Merge "Combine JavaScript and JSON encoding logic"

11 years agoCombine JavaScript and JSON encoding logic
Kevin Israel [Thu, 21 Feb 2013 02:30:45 +0000 (21:30 -0500)]
Combine JavaScript and JSON encoding logic

This will help with improving human readability of JS and JSON
objects encoded by both ResourceLoader and the API. This patch
also adds new "utf8" parameter to the JSON formatter of the API.

Changes to FormatJson class:

* Added escaping of '<', '>', and '&' by default to protect against XSS.
* Removed unnecessary escaping of '/' and added an additional option to
  unescape non-ASCII characters (those above U+007F) as well.
* Added PHP 5.3 pretty printing code (to replace Services_JSON) that
  uses a four-space indent as PHP 5.4 does.

Changes to Xml class:

* Defined Xml::encodeJsVar() in terms of FormatJson::encode()
  and added a pretty printing option. Also added a pretty printing
  option to Xml::encodeJsCall() as well.
* Deprecated Xml::escapeJsString() and QuickTemplate::jstext();
  callers have to add quotes themselves, hence the escaping of
  both double quotes and apostrophes.

Bug: 26818
Change-Id: I1987190f1ba5bf41738e7bd611209706c1f6bb5c

11 years agoMerge "[JobQueue] Ignore job release timestamps for de-duplication."
jenkins-bot [Wed, 27 Mar 2013 21:48:32 +0000 (21:48 +0000)]
Merge "[JobQueue] Ignore job release timestamps for de-duplication."

11 years ago[JobQueue] Ignore job release timestamps for de-duplication.
ASchulz [Wed, 27 Mar 2013 21:26:47 +0000 (14:26 -0700)]
[JobQueue] Ignore job release timestamps for de-duplication.

Change-Id: I5d2a0b325eee7230450d7623e1dbcef1f8e681b9

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 27 Mar 2013 21:19:04 +0000 (21:19 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Clarified FileBackend::doOperations() docs a bit more."
jenkins-bot [Wed, 27 Mar 2013 19:59:23 +0000 (19:59 +0000)]
Merge "Clarified FileBackend::doOperations() docs a bit more."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 27 Mar 2013 19:50:58 +0000 (19:50 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ibfa55e01c4db12c5f0f2db0e862780d96462afdc

11 years agoMerge "mw.loader: Guard against odd setTimeout behaviour in old Firefox"
Trevor Parscal [Wed, 27 Mar 2013 18:26:25 +0000 (18:26 +0000)]
Merge "mw.loader: Guard against odd setTimeout behaviour in old Firefox"

11 years agoMerge "Handle protocol-relative URLs in WebRequest::getRequestURL."
jenkins-bot [Wed, 27 Mar 2013 18:01:04 +0000 (18:01 +0000)]
Merge "Handle protocol-relative URLs in WebRequest::getRequestURL."

11 years agoHandle protocol-relative URLs in WebRequest::getRequestURL.
MarkAHershberger [Wed, 27 Mar 2013 16:42:18 +0000 (12:42 -0400)]
Handle protocol-relative URLs in WebRequest::getRequestURL.

Multiple slashes at the start of the request url will look like a
protocol-relative url, so strip the extra slashes.

Bug: 46607
Change-Id: I34c3fc9d8f9467e83cd201cb099c2d26f3a39b36

11 years agoMerge "CoreParserFunctions::anchorencode should return a string"
jenkins-bot [Wed, 27 Mar 2013 17:17:38 +0000 (17:17 +0000)]
Merge "CoreParserFunctions::anchorencode should return a string"

11 years agoCoreParserFunctions::anchorencode should return a string
Brad Jorsch [Wed, 27 Mar 2013 16:53:14 +0000 (12:53 -0400)]
CoreParserFunctions::anchorencode should return a string

CoreParserFunctions::anchorencode incorrectly returns false rather than
the empty string when passed an empty string.

A simple cast fixes it; this likely wasn't noticed before since PHP was
automatically doing the cast anyway when the return value was merged
into wikitext.

Bug: 46608
Change-Id: I97556dbc4dcc1f102f6fed499d43dada388cdc5d

11 years agoFix case of some Title methods
Alexandre Emsenhuber [Wed, 27 Mar 2013 13:36:05 +0000 (14:36 +0100)]
Fix case of some Title methods

Change-Id: I37ce7fe392f4941c500fa0a88007664501d7e338

11 years agoUpdate code formatting
Siebrand Mazeland [Mon, 25 Mar 2013 23:27:14 +0000 (00:27 +0100)]
Update code formatting

Also update some previous inconsistencies pointed out by Krinkle in change IDs:
* Ide20743a2e84ff68549286120e6cff9d9f396f54
* I811ca957b6588085d67606ebc0cd4033a1e53839

Change-Id: Ife33b931870d0d7e04fcb40974997436d27f528f

11 years agoUpdate code formatting
Siebrand Mazeland [Mon, 25 Mar 2013 22:52:41 +0000 (23:52 +0100)]
Update code formatting

Used PHPStorm's code formatting feature, with manual checks and updates.

Change-Id: I0496eba007056bc9c4b09163387f11d6cea2a55d

11 years agoRemoved deprecated usage of 2nd param in Title::getLocalUrl in SpecialAllpages
Daniel Werner [Thu, 14 Mar 2013 15:56:00 +0000 (16:56 +0100)]
Removed deprecated usage of 2nd param in Title::getLocalUrl in SpecialAllpages

Before this change-set, a deprecated warning has been thrown when SpecialAllpges::showline would
be called with the last parameter ($hideredirect) set to false.

Change-Id: I4072a4a19a8f6403f3979c731974baba88ab574a

11 years agoHandle invalid titles on ProtectedPages and ProtectedTitles
umherirrender [Wed, 27 Mar 2013 11:30:14 +0000 (12:30 +0100)]
Handle invalid titles on ProtectedPages and ProtectedTitles

bug: 46493
Change-Id: Iaa6e3378c185c53b77a4ede0ddfdfed8c6a2268a

11 years agoshowSiteStats now shows ss_active_users statistic
Antoine Musso [Tue, 26 Mar 2013 13:42:36 +0000 (14:42 +0100)]
showSiteStats now shows ss_active_users statistic

When we implemented tracking the number of active users, we forgot to
update the stat dumper.  Simply show up the value of ss_active_users.

Change-Id: I7324d1aadfaabcd023abb93360f1f7e6d809ff3d

11 years agoMerge "Added UserCache::getUserName() convenience function."
jenkins-bot [Wed, 27 Mar 2013 11:39:36 +0000 (11:39 +0000)]
Merge "Added UserCache::getUserName() convenience function."

11 years agoCheck return value of dir() in Skin.php
umherirrender [Wed, 27 Mar 2013 07:14:01 +0000 (08:14 +0100)]
Check return value of dir() in Skin.php

This avoids a fatal, when something is wrong with $wgStyleDirectory or
the directory referred there.

PHP Fatal error: Call to a member function read() on a non-object in
Skin.php

bug: 42167
Change-Id: I3d63cb984bc2aa0f85ade04607862c639ba51fdb

11 years ago[JobQueue] Added a function to purge the aggregator cache.
Aaron Schulz [Thu, 14 Mar 2013 20:03:13 +0000 (13:03 -0700)]
[JobQueue] Added a function to purge the aggregator cache.

Change-Id: If9eabf202c372d5c594f5faeb75265ff78104f7f

11 years agoMerge "JSDuck: Cover more of external.js and implement @source"
jenkins-bot [Tue, 26 Mar 2013 23:13:31 +0000 (23:13 +0000)]
Merge "JSDuck: Cover more of external.js and implement @source"

11 years agoMerge "(bug 46059) giving #p-personal a higher z-index than #content in monobook"
Ori.livneh [Tue, 26 Mar 2013 22:46:03 +0000 (22:46 +0000)]
Merge "(bug 46059) giving #p-personal a higher z-index than #content in monobook"

11 years ago(bug 46059) giving #p-personal a higher z-index than #content in monobook
kaldari [Tue, 26 Mar 2013 21:19:35 +0000 (14:19 -0700)]
(bug 46059) giving #p-personal a higher z-index than #content in monobook

... so that its children (like Echo's flyout) will float above
the content area.

Change-Id: Iccb0cc1a96942682007d6570d15a30dd80d7ebd0

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 26 Mar 2013 21:40:15 +0000 (21:40 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 26 Mar 2013 20:32:08 +0000 (20:32 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I6bf83c7b927a391e90515feb4eff40026c8a628e

11 years agoUpdated PostgreSQL insertId() docs to actually make sense.
Aaron Schulz [Tue, 26 Mar 2013 20:28:11 +0000 (13:28 -0700)]
Updated PostgreSQL insertId() docs to actually make sense.

Change-Id: Ia6c7240094fc431924b650a327fa19e93ed18261

11 years agoMerge "(bug 46547) use content language for rotation comment"
jenkins-bot [Tue, 26 Mar 2013 19:53:53 +0000 (19:53 +0000)]
Merge "(bug 46547) use content language for rotation comment"

11 years agoMerge "JSHint: Ignore docs/html and docs/js"
jenkins-bot [Tue, 26 Mar 2013 19:50:11 +0000 (19:50 +0000)]
Merge "JSHint: Ignore docs/html and docs/js"

11 years agoJSHint: Ignore docs/html and docs/js
Antoine Musso [Mon, 25 Mar 2013 09:24:04 +0000 (10:24 +0100)]
JSHint: Ignore docs/html and docs/js

The MediaWiki doxygen documentation is generated by default under
/docs/html and includes some JavaScript files.  Since we do not maintain
that output, simply ask JSHint to kindly ignore them.

Same for the static site generated by JSDuck.

Change-Id: Ief4661128992b65aa85dfaa6f48d31745fe6ff19

11 years ago(bug 46547) use content language for rotation comment
Jan Gerber [Tue, 26 Mar 2013 07:57:25 +0000 (07:57 +0000)]
(bug 46547) use content language for rotation comment

Bug: 46547
Change-Id: I93519557e15857176f50ea34cb59832c9575f20e

11 years agomw.loader: Guard against odd setTimeout behaviour in old Firefox
Timo Tijhof [Tue, 26 Mar 2013 17:59:07 +0000 (18:59 +0100)]
mw.loader: Guard against odd setTimeout behaviour in old Firefox

Bug: 46575
Change-Id: I80af730daa815f0c273fe942c570d1f0144bbbb1

11 years agotest: ignore code coverage for CleanUpTest
Antoine Musso [Tue, 26 Mar 2013 11:54:03 +0000 (12:54 +0100)]
test: ignore code coverage for CleanUpTest

The tests under tests/phpunit/includes/normal/CleanUpTest.php do not use
data provider. When being run for code coverage (bug 31518) they take so
long that they ends up timing out.

The whole class need to be refactored to use data providers (bug 46561).

Change-Id: I78c270e71d23ffbab00d8812ee91d380aef342c6

11 years agoFix case of some Title methods
Alexandre Emsenhuber [Fri, 22 Mar 2013 07:39:02 +0000 (08:39 +0100)]
Fix case of some Title methods

Change-Id: I1a37ffb0e8cde4deac027721b0e463585b58d634

11 years agoMerge "Move subclasses of LogFormatter to their own file"
jenkins-bot [Tue, 26 Mar 2013 08:38:04 +0000 (08:38 +0000)]
Merge "Move subclasses of LogFormatter to their own file"

11 years agoMerge "Fixes to Special:WithoutInterwiki form"
jenkins-bot [Tue, 26 Mar 2013 08:34:53 +0000 (08:34 +0000)]
Merge "Fixes to Special:WithoutInterwiki form"

11 years agoMerge "Fixes to Special:FileDuplicateSearch form"
jenkins-bot [Tue, 26 Mar 2013 08:31:18 +0000 (08:31 +0000)]
Merge "Fixes to Special:FileDuplicateSearch form"

11 years agoClarified FileBackend::doOperations() docs a bit more.
Aaron Schulz [Tue, 26 Mar 2013 01:54:56 +0000 (18:54 -0700)]
Clarified FileBackend::doOperations() docs a bit more.

Change-Id: Ie0b131c1a09bc75be39bbb7e9c87b8d3221a0fc5

11 years ago[FileBackend] Cleanup behavior for coping/moving a file over itself.
ASchulz [Wed, 20 Mar 2013 23:25:05 +0000 (16:25 -0700)]
[FileBackend] Cleanup behavior for coping/moving a file over itself.

* Previously, for doQuickOperations(), the default move function
  would just delete the file if it was moved over itself. In fact,
  the php-cloudfiles bindings have this same bug in its move function.
* For both copy and move, when the source and destination are the
  same path, make sure that the headers get updated as specified.
  This only applies for the 'overwrite' case (not 'overwriteSame').
* Fixed bad status for doQuickOperations() when copying a file over
  itself using FSFileBackend.
* Clarified the documentation for 'overwriteSame' option.
* Renamed destSameAsSource to overwriteSameCase in FileOp for clarity.

Change-Id: I3f609d9413795c654de27958b1e807b1fc785f31

11 years agoMerge "(bug 1495) Include the site language in the fallback list"
jenkins-bot [Mon, 25 Mar 2013 23:26:00 +0000 (23:26 +0000)]
Merge "(bug 1495) Include the site language in the fallback list"

11 years ago(bug 1495) Include the site language in the fallback list
Mormegil [Mon, 25 Mar 2013 22:50:47 +0000 (23:50 +0100)]
(bug 1495) Include the site language in the fallback list

In Iaaf6ccebd8c40c9602748c58c3a5c73c29e7aa4d, the behavior of MessageCache
was changed so that it iterates over all possible on-wiki fallbacks including
the site language fallbacks. However, it omitted the site language itself.
Obviously, the problem appears only when the site language is not English,
because English is included always as the fallback language of last resort.
But in other cases, we need to add it explicitly.

Bug: 1495
Change-Id: Ib607a446d3499a3c042dce408db5cbaf12fa9e3d

11 years agoMerge "Remove Special:ActiveUsers"
jenkins-bot [Mon, 25 Mar 2013 22:35:57 +0000 (22:35 +0000)]
Merge "Remove Special:ActiveUsers"

11 years agofix some spacing
umherirrender [Sun, 24 Mar 2013 10:01:51 +0000 (11:01 +0100)]
fix some spacing

* Removed spaces around array index
* Removed double spaces or added spaces to begin or end of function
  calls, method signature, conditions or foreachs
* Added braces to one-line ifs
* Changed multi line conditions to one line conditions
* Realigned some arrays

Change-Id: Ia04d2a99d663b07101013c2d53b3b2e872fd9cc3

11 years agoRemove Special:ActiveUsers
Chad Horohoe [Mon, 25 Mar 2013 22:03:27 +0000 (18:03 -0400)]
Remove Special:ActiveUsers

This feature was poorly thought out from the start. It's a huge
performance drain when used, for a mimimally useful set of data

Change-Id: I138622e1c184f74e2a7ce13a9a544ab4e610d7a0

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 25 Mar 2013 18:25:23 +0000 (18:25 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib8ac46b3ac8228020f8744978d141bd8c5a0301b

11 years agoMerge "QUnit: Re-enable config.requireExpects and add missing numbers."
jenkins-bot [Mon, 25 Mar 2013 14:59:12 +0000 (14:59 +0000)]
Merge "QUnit: Re-enable config.requireExpects and add missing numbers."

11 years agoMerge "Update plural rules for Hebrew"
jenkins-bot [Mon, 25 Mar 2013 14:04:06 +0000 (14:04 +0000)]
Merge "Update plural rules for Hebrew"

11 years agoJSDuck: Cover more of external.js and implement @source
Timo Tijhof [Thu, 21 Mar 2013 18:45:17 +0000 (19:45 +0100)]
JSDuck: Cover more of external.js and implement @source

Taken from VisualEditor repo (authored by myself under MIT).
Hereby released under GPL as well.

Change-Id: I4dc1a0e5c618e0a20ae6f308b4ecf266d041e22c

11 years agoMerge "TimeAdjustTest: Use dataProvider"
jenkins-bot [Mon, 25 Mar 2013 10:30:39 +0000 (10:30 +0000)]
Merge "TimeAdjustTest: Use dataProvider"

11 years ago(bug 46529) Add gender aliases for Yiddish
Amir E. Aharoni [Mon, 25 Mar 2013 09:39:50 +0000 (11:39 +0200)]
(bug 46529) Add gender aliases for Yiddish

Change-Id: I607016bddc6759998c36e73e44754663ae78be70

11 years agoMerge "Add mobile target to jquery.getAttrs"
jenkins-bot [Sun, 24 Mar 2013 15:13:22 +0000 (15:13 +0000)]
Merge "Add mobile target to jquery.getAttrs"

11 years agoAdd mobile target to jquery.getAttrs
Juliusz Gonera [Sun, 24 Mar 2013 02:18:37 +0000 (03:18 +0100)]
Add mobile target to jquery.getAttrs

mediawiki.tests.qunit.testrunner has a dependency on it, which we want
on mobile.

Change-Id: Iffa7166362fe568ce8ed95db427c432e111d65a1

11 years agoFixes to Special:FileDuplicateSearch form
Alexandre Emsenhuber [Fri, 15 Mar 2013 21:51:49 +0000 (22:51 +0100)]
Fixes to Special:FileDuplicateSearch form

- Use Html class instead of Xml where possible
- Add line breaks to the output for better readability

Change-Id: Ia58e0d017a2a54c2458da625bd27a775204908d9

11 years agoFixes to Special:WithoutInterwiki form
Alexandre Emsenhuber [Sun, 24 Mar 2013 07:50:14 +0000 (08:50 +0100)]
Fixes to Special:WithoutInterwiki form

- Use Html class instead of Xml where possible
- Add line breaks to the output for better readability

Change-Id: I794da047f0664913cfd7ceb00247145f9b7d3a1b

11 years agoMove RELEASE-NOTES entry to the correct section
Alexandre Emsenhuber [Sun, 24 Mar 2013 07:30:21 +0000 (08:30 +0100)]
Move RELEASE-NOTES entry to the correct section

Follow-up I719d84c5 (d240930d); that change is in the API,
so the RELEASE-NOTES entry belongs to the API section.

Change-Id: I48581bb59b3ac593443ff092c3fb7a42ac8958e1

11 years agoMerge "release notes update due to Change-Id: Idab489fc017dcf226ea39f2f1766e06064e4e...
jenkins-bot [Sun, 24 Mar 2013 04:29:25 +0000 (04:29 +0000)]
Merge "release notes update due to Change-Id:  Idab489fc017dcf226ea39f2f1766e06064e4ec0a (bug 25325) fix hiding bot edits"

11 years agorelease notes update due to Change-Id:
kaligula [Sun, 24 Mar 2013 03:36:43 +0000 (04:36 +0100)]
release notes update due to Change-Id:
 Idab489fc017dcf226ea39f2f1766e06064e4ec0a
(bug 25325) fix hiding bot edits

Change-Id: Ib07d4923dd6ac44520e459f0e9886bd1f8e0a4b7

11 years agoMerge "(bug 25325) fix hiding bot edits"
jenkins-bot [Sun, 24 Mar 2013 01:07:34 +0000 (01:07 +0000)]
Merge "(bug 25325) fix hiding bot edits"

11 years ago(bug 25325) fix hiding bot edits
kaligula [Sun, 24 Mar 2013 00:32:58 +0000 (01:32 +0100)]
(bug 25325) fix hiding bot edits

I added support for 'wlshow' parameter, which allows user
to decide if to include or exclude bot/minor/anon/patrolled
edits from feed watchlist.

Plus: I bound the params checkup and params' descriptions with
ApiQueryWatchlist (Yurik's suggestions).

Change-Id: Idab489fc017dcf226ea39f2f1766e06064e4ec0a

11 years agoMerge "IcuCollation::$tailoringFirstLetters: letter removal rules for Finnish"
Brian Wolff [Sat, 23 Mar 2013 20:53:00 +0000 (20:53 +0000)]
Merge "IcuCollation::$tailoringFirstLetters: letter removal rules for Finnish"

11 years agoMerge "IcuCollation::$tailoringFirstLetters: 'sv', 'vi' verified"
Brian Wolff [Sat, 23 Mar 2013 20:32:04 +0000 (20:32 +0000)]
Merge "IcuCollation::$tailoringFirstLetters: 'sv', 'vi' verified"

11 years agoPass function name to insert() in replace() in Database class
umherirrender [Sat, 23 Mar 2013 11:18:40 +0000 (12:18 +0100)]
Pass function name to insert() in replace() in Database class

Change-Id: I891370aa5d623ac9971c719da7996a93db641a2c

11 years agoAdd to docs that input will be HTML escaped
Siebrand Mazeland [Sat, 23 Mar 2013 14:07:19 +0000 (15:07 +0100)]
Add to docs that input will be HTML escaped

Change-Id: Ie90a6bc29f54361ec74cbf54551266b94ce6061f

11 years agoTimeAdjustTest: Use dataProvider
umherirrender [Fri, 22 Mar 2013 14:23:28 +0000 (15:23 +0100)]
TimeAdjustTest: Use dataProvider

Also removes setting of wgContLang/wgLanguageCode, because test extends
MediaWiki*Lang*TestCase

Change-Id: I8a24fbe161c8f2ecae7591baf99845ff4434f983

11 years agoMerge "DefaultSettings: Remove some empty lines"
jenkins-bot [Sat, 23 Mar 2013 10:48:05 +0000 (10:48 +0000)]
Merge "DefaultSettings: Remove some empty lines"

11 years agoMerge "Add a full stop to the message "noemailcreate""
jenkins-bot [Sat, 23 Mar 2013 09:33:44 +0000 (09:33 +0000)]
Merge "Add a full stop to the message "noemailcreate""

11 years agoMerge "New paragraphs wrapping tests in the presence of comments & WS lines."
GWicke [Sat, 23 Mar 2013 00:25:50 +0000 (00:25 +0000)]
Merge "New paragraphs wrapping tests in the presence of comments & WS lines."

11 years agoAdd a full stop to the message "noemailcreate"
shirayuki [Sat, 23 Mar 2013 00:11:27 +0000 (09:11 +0900)]
Add a full stop to the message "noemailcreate"

Change-Id: I10c8ef9fbccfb06e331368a0a36046a646272975

11 years agoMerge "Remove (edit) from Special:Tags for non-editinterface users"
jenkins-bot [Fri, 22 Mar 2013 23:37:26 +0000 (23:37 +0000)]
Merge "Remove (edit) from Special:Tags for non-editinterface users"

11 years agoMerge "Installer: Check if /extensions is readable and a directory"
Demon [Fri, 22 Mar 2013 22:09:22 +0000 (22:09 +0000)]
Merge "Installer: Check if /extensions is readable and a directory"

11 years agoRevert "Misc follow-ups to I2fc3966e (a161c5e)"
Aaron Schulz [Fri, 22 Mar 2013 20:48:00 +0000 (20:48 +0000)]
Revert "Misc follow-ups to I2fc3966e (a161c5e)"

That apparently caused bug 46397.

This reverts commit 388b14a15de6c531d876796dde02605f046fcf53

Bug : 46397
Change-Id: Ideaa86f0d535873a08e27d6f98f6bd4255b8c594

11 years agoDefaultSettings: Remove some empty lines
umherirrender [Fri, 22 Mar 2013 19:50:19 +0000 (20:50 +0100)]
DefaultSettings: Remove some empty lines

Add a missing comment - text taken from
https://www.mediawiki.org/wiki/Manual:$wgProxyMemcExpiry

Change-Id: Ifccf920e1e6d1312d8adb39f83eef59f33cc148b

11 years agoMerge "Tests: Fix case of some methods"
jenkins-bot [Fri, 22 Mar 2013 19:37:33 +0000 (19:37 +0000)]
Merge "Tests: Fix case of some methods"

11 years agoMerge "ContentHandlerTest: Use dataProvider"
jenkins-bot [Fri, 22 Mar 2013 19:32:17 +0000 (19:32 +0000)]
Merge "ContentHandlerTest: Use dataProvider"

11 years agoMerge "Tests: Use more setMwGlobals"
jenkins-bot [Fri, 22 Mar 2013 19:15:03 +0000 (19:15 +0000)]
Merge "Tests: Use more setMwGlobals"

11 years agoNew paragraphs wrapping tests in the presence of comments & WS lines.
Subramanya Sastry [Fri, 22 Mar 2013 18:36:20 +0000 (13:36 -0500)]
New paragraphs wrapping tests in the presence of comments & WS lines.

Change-Id: I3654f28846cce321ea97f70389cabe11b2786082

11 years agoInstaller: Check if /extensions is readable and a directory
umherirrender [Fri, 22 Mar 2013 17:53:51 +0000 (18:53 +0100)]
Installer: Check if /extensions is readable and a directory

Also close the dirhandler and fix one return value

bug: 46447
Change-Id: I0abe540d66375e6833640bb234e62b6cc902beb0

11 years agoTests: Fix case of some methods
umherirrender [Fri, 22 Mar 2013 16:44:34 +0000 (17:44 +0100)]
Tests: Fix case of some methods

Change-Id: Iab247f805410f2e9157d325edd80880538a3e54c

11 years agoMerge "Add tests for case-(in)sensitive magic words"
Subramanya Sastry [Fri, 22 Mar 2013 14:20:34 +0000 (14:20 +0000)]
Merge "Add tests for case-(in)sensitive magic words"

11 years agoMerge "Remove <code></code> because it is not parsed"
jenkins-bot [Fri, 22 Mar 2013 14:17:04 +0000 (14:17 +0000)]
Merge "Remove <code></code> because it is not parsed"

11 years agoContentHandlerTest: Use dataProvider
umherirrender [Fri, 22 Mar 2013 14:16:35 +0000 (15:16 +0100)]
ContentHandlerTest: Use dataProvider

Changing a global 3 times in a test is bad, using dataProvider for two
tests and split another in 3, because there are different.

Using mwglobals to set the globals, than restoring is done
automatically.

Change-Id: Ie0f9ce0be39e457d18752e905d6deeb1803cb4c3

11 years agoMerge "Test to make sure numRows() calls don't show unrelated errors"
jenkins-bot [Fri, 22 Mar 2013 13:58:54 +0000 (13:58 +0000)]
Merge "Test to make sure numRows() calls don't show unrelated errors"

11 years agoTest to make sure numRows() calls don't show unrelated errors
Chad Horohoe [Mon, 26 Nov 2012 13:34:20 +0000 (08:34 -0500)]
Test to make sure numRows() calls don't show unrelated errors

Bug: 42430
Change-Id: Ie939785c1f75aa99bdf59e013d5ebf65e866289c