lhc/web/wiklou.git
11 years agoDon't manually quote stuff
Reedy [Thu, 2 Aug 2012 19:36:21 +0000 (20:36 +0100)]
Don't manually quote stuff

Minor parameter documentation stuffs

Change-Id: Ie21cbfcf878de4efbf93f1d29900fe9d5f4c7ed2

11 years agoHTMLForm mutators can now be chained
Antoine Musso [Tue, 24 Jul 2012 09:45:22 +0000 (11:45 +0200)]
HTMLForm mutators can now be chained

This make HTMLForm mutator to return $this for easy method chaining such
as:

form = new HTMLForm( $someFields );
$form->setMethod( 'get' )
 ->setWrapperLegendMsg( 'message-key' )
 ->suppressReset()
 ->prepareForm()
 ->displayForm();

prepareForm()->displayForm(); should be at the very end apparently
though it is not enforced by the object.

Change-Id: Iebaa83a1da3c89e5ab729a889e54844535619d54

11 years agoMerge "Fix ApiWatchTest"
Reedy [Thu, 2 Aug 2012 16:26:37 +0000 (16:26 +0000)]
Merge "Fix ApiWatchTest"

11 years agoMerge "debug log group for DNS blacklist lookup results"
Reedy [Thu, 2 Aug 2012 16:13:27 +0000 (16:13 +0000)]
Merge "debug log group for DNS blacklist lookup results"

11 years agodoxygen filter need to use a full path
Antoine Musso [Thu, 2 Aug 2012 14:19:27 +0000 (16:19 +0200)]
doxygen filter need to use a full path

When running mwdocgen.php outside of maintenance, the input filter was
not found. Giving the full path fix the issue.

Issue introduced by I4ead1bd1 / ab59fad.

Change-Id: I5e28209eba1afd24d60b2dc940b9f5dfb1b4f34c

11 years agoMerge "Support deleting all rows"
Demon [Thu, 2 Aug 2012 12:24:11 +0000 (12:24 +0000)]
Merge "Support deleting all rows"

11 years agoMark the history link on page deletion as known.
Alexandre Emsenhuber [Thu, 2 Aug 2012 12:06:20 +0000 (14:06 +0200)]
Mark the history link on page deletion as known.

Two reasons:
- the page must exists to reach this part of the code
- it's useless to have special classes (redirect, stub)
  since this a link to the history and not to the
  content itself

Change-Id: I59af2f237e0539842cc7777ddd44ba5ac500b070

11 years agoMerge "(bug 25095) Special:Categories should also include the first relevant item...
Demon [Thu, 2 Aug 2012 10:59:20 +0000 (10:59 +0000)]
Merge "(bug 25095) Special:Categories should also include the first relevant item when "from" is filled"

11 years ago@since to subclasses of MWException
Alexandre Emsenhuber [Tue, 31 Jul 2012 09:16:40 +0000 (11:16 +0200)]
@since to subclasses of MWException

Change-Id: I9f87ba2ab00e4a68313a19823a20b10d55073e84

11 years agodebug log group for DNS blacklist lookup results
Antoine Musso [Tue, 24 Jul 2012 08:47:19 +0000 (10:47 +0200)]
debug log group for DNS blacklist lookup results

The 'beta' project uses DNS blacklist lookup to automatically block open
proxy and active spammers. This patch simply creates the new
'dnsblacklist' debug group so we can easily log the lookup result.

Change-Id: Idfc9fb2d3db4a0bb5387c76fdef07bf9e74eeff4

11 years ago(bug 25095) Special:Categories should also include the first relevant item when ...
Alexandre Emsenhuber [Wed, 9 May 2012 20:18:58 +0000 (22:18 +0200)]
(bug 25095) Special:Categories should also include the first relevant item when "from" is filled

Second attempt after that the first one was reverted in I119160d59c4fca0d069adef60151b30d53b582a1.

Change-Id: If301c7cac3fafbcdd6f3ff8e0e822b0db29f09a2

11 years agoRevert "(bug 260) Wrap <pre> overflow properly."
Tim Starling [Thu, 2 Aug 2012 04:48:06 +0000 (14:48 +1000)]
Revert "(bug 260) Wrap <pre> overflow properly."

Due to bug 38800. Just reverting to prevent accidental deployment in
1.20wmf9. I would set a fixme status instead if there was such a thing.

The problem with this is that it breaks formatting of thousands of
Wikipedia articles due to interaction with SyntaxHighlight_GeSHi. I'm
sure some satisfactory solution can be found which fixes both bugs, but
leaving this commit deployed is not a good interim solution.

This reverts commit 782b9f177404f02417c03abaf96b371e1462f160.

Change-Id: I1977f093563b5658def9ba57a6ea6cfa9796f795

11 years agoMerge "[FileBackend] Skip over some illegal paths and output the error."
Catrope [Wed, 1 Aug 2012 23:52:14 +0000 (23:52 +0000)]
Merge "[FileBackend] Skip over some illegal paths and output the error."

11 years ago[FileBackend] Skip over some illegal paths and output the error.
Aaron Schulz [Sat, 28 Jul 2012 17:38:25 +0000 (10:38 -0700)]
[FileBackend] Skip over some illegal paths and output the error.

Change-Id: Ib32aadc6398168e4a63279d7da61a0dd1e1a6483

11 years agoMerge "Add localonly= to prop duplicatefiles and imageinfo"
Catrope [Wed, 1 Aug 2012 23:47:35 +0000 (23:47 +0000)]
Merge "Add localonly= to prop duplicatefiles and imageinfo"

11 years agoBetter inline styling for badge.
Kaldari [Wed, 1 Aug 2012 23:03:35 +0000 (16:03 -0700)]
Better inline styling for badge.

Change-Id: Ie92a18478c0f9b62fceff39f54a9524432eec921

11 years agoMerge "bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID"
Catrope [Wed, 1 Aug 2012 21:54:27 +0000 (21:54 +0000)]
Merge "bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID"

11 years agoMerge "Change File::compare to use getName, not getTitle"
Aaron Schulz [Wed, 1 Aug 2012 19:39:10 +0000 (19:39 +0000)]
Merge "Change File::compare to use getName, not getTitle"

11 years agobug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID
Derk-Jan Hartman [Mon, 16 Jul 2012 23:10:01 +0000 (01:10 +0200)]
bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID

This avoids multiple defines of the same ID on a File page.

Change-Id: I0f8ae37d74f2ec519361b2af164e115f6efa4ac6

11 years agoMerge "memcached: better error messaging"
Aaron Schulz [Wed, 1 Aug 2012 19:06:53 +0000 (19:06 +0000)]
Merge "memcached: better error messaging"

11 years ago(bug 38492) let doxygen document variables
Antoine Musso [Wed, 1 Aug 2012 16:23:56 +0000 (18:23 +0200)]
(bug 38492) let doxygen document variables

We are using '@var' to document our variables and class properties,
which is unfortunately not working since '@var' is really meant to
document a function or method.

The way to fix it is to use an input filter that will rewrite our PHP
source code to pretends variables are typed. Aka something like:

 /**
  * A title object
  * @var Title
  */
 var $title;

Will be made:

 /**
  * A title object
  * @var Title
  */
 Title $title;

That is incorrect PHP code but it is properly recognized by Doxygen.

This patch as a side effect, all variables and properties will end up
being documented in addition of type hinting.

Use a hack authored by Goran Rakic at:
http://stackoverflow.com/a/8472180/276152

Change-Id: I4ead1bd1feace44496b45ed8c55f5e52c59e7694

11 years agoAdd localonly= to prop duplicatefiles and imageinfo
umherirrender [Wed, 1 Aug 2012 17:51:23 +0000 (19:51 +0200)]
Add localonly= to prop duplicatefiles and imageinfo

When looking only for local files, the localonly param skipped the
mabye expensive look up inside the file repos.

Change-Id: Ib8f38d6abf9238a349bbfd617a36933bdfe74b5c

11 years agoChange File::compare to use getName, not getTitle
umherirrender [Wed, 1 Aug 2012 17:40:10 +0000 (19:40 +0200)]
Change File::compare to use getName, not getTitle

For files the file name with underscores is often used,
than the compare method should do that also.
This matches than the ORDER BY img_name done by some query.

Change-Id: Ia1b89577538bdfdf751c7b9584e7c008a8c2bb1e

11 years agomemcached: better error messaging
Antoine Musso [Fri, 13 Jul 2012 16:20:00 +0000 (18:20 +0200)]
memcached: better error messaging

MemcachedClient output a generic error message: "Error parsing memcached
response\n" whenever it is not able to read from the socket. It is also
lacking the remote peer it is reading from.

This patch add a new message when fgets( <socket> ) return false, which
means we could not read from the file pointer. It also get the stream
remote name for debugging purposes.

Change-Id: I9b8a25a03af0d730aa3b4830a44b1ea739343274

11 years agoMerge "autoloader entry for UserNotLoggedIn class"
Nikerabbit [Wed, 1 Aug 2012 11:15:08 +0000 (11:15 +0000)]
Merge "autoloader entry for UserNotLoggedIn class"

11 years ago(bug 37830) new $wgRequirePasswordforEmailChange
Reedy [Fri, 22 Jun 2012 16:29:48 +0000 (17:29 +0100)]
(bug 37830) new $wgRequirePasswordforEmailChange

$wgRequirePasswordforEmailChange to control whether password
confirmation is required for changing an email address or not.

Change-Id: Iaef440ef56d391bf9e68d15899fc81c6050722fb

11 years agoautoloader entry for UserNotLoggedIn class
Antoine Musso [Wed, 1 Aug 2012 10:46:54 +0000 (12:46 +0200)]
autoloader entry for UserNotLoggedIn class

I have forgot to add an autoloader entry for the new exception class
named UserNotLoggedIn (introduced by Id8127299 / b1c1448d).

Change-Id: Ib7226c8532fd695edf78f0e4c33b91edbf8ed52e

11 years agoMerge "Namespace gender aliases for Lithuanian (lt)"
Siebrand [Wed, 1 Aug 2012 08:30:49 +0000 (08:30 +0000)]
Merge "Namespace gender aliases for Lithuanian (lt)"

11 years agoNamespace gender aliases for Lithuanian (lt)
Niklas Laxström [Tue, 31 Jul 2012 22:03:54 +0000 (22:03 +0000)]
Namespace gender aliases for Lithuanian (lt)

http://translatewiki.net/wiki/Summary:Support/Gender_in_Lithuanian_namespace_names

Change-Id: If0a30180fb103ee1b56781a5fd1587b48e100da8

11 years ago(bug 38151) Implement mw.user.getRights and getGroups
Alex Monk [Thu, 5 Jul 2012 16:27:41 +0000 (17:27 +0100)]
(bug 38151) Implement mw.user.getRights and getGroups

* Also deprecate name() and anonymous()
  in favour of getName() and isAnon() (to match User.php), just
  like getRights and getGroups are now as well.

* Added unit tests for all.

Change-Id: I5970be9e8593589018152f4878f168b9b85ca5d5

11 years agoMerge "Revert "AJAXify watchlist editor""
Krinkle [Wed, 1 Aug 2012 03:19:28 +0000 (03:19 +0000)]
Merge "Revert "AJAXify watchlist editor""

11 years agoRevert "AJAXify watchlist editor"
Krinkle [Wed, 1 Aug 2012 03:19:12 +0000 (03:19 +0000)]
Revert "AJAXify watchlist editor"

Doesn't properly work on Special:EditWatchlist, some of the titles being unwatched are not fading out and staying behind.

There's also a small code quality issue unaddressed. Please re-submit for further review.

This reverts commit b46ec8fde5dfd3e80fa3861a01f1aac6f5a7b5ba

11 years agoMerge "(bug 30625) Return warnings, if they exist, despite ignorewarnings"
Catrope [Wed, 1 Aug 2012 00:48:19 +0000 (00:48 +0000)]
Merge "(bug 30625) Return warnings, if they exist, despite ignorewarnings"

11 years agoMerge "(bug 18834) Add an edit count to rollback link"
Catrope [Wed, 1 Aug 2012 00:44:29 +0000 (00:44 +0000)]
Merge "(bug 18834) Add an edit count to rollback link"

11 years agoMerge "(bug 27395) Write PHPUnit test suite for CSSJanus"
Catrope [Wed, 1 Aug 2012 00:26:48 +0000 (00:26 +0000)]
Merge "(bug 27395) Write PHPUnit test suite for CSSJanus"

11 years agoMerge "AJAXify watchlist editor"
Catrope [Wed, 1 Aug 2012 00:24:46 +0000 (00:24 +0000)]
Merge "AJAXify watchlist editor"

11 years ago(bug 31644) [MERGE DEPENDENCY] Let WikiMap url builders return full urls instead...
Derk-Jan Hartman [Tue, 31 Jul 2012 21:06:51 +0000 (23:06 +0200)]
(bug 31644) [MERGE DEPENDENCY] Let WikiMap url builders return full urls instead of canonical urls

* This commit depends on a commit of globalusage https://gerrit.wikimedia.org/r/17117
* This allows GlobalUsage, CentralAuth and AbuseLog extensions to use protocol relative URLs.

Change-Id: I7e65bd029f359c36770aa48e6663f26a671b92c0

11 years ago(bug 18834) Add an edit count to rollback link
jan [Sun, 29 Jul 2012 16:57:11 +0000 (18:57 +0200)]
(bug 18834) Add an edit count to rollback link

Add an edit count to rollback link to show how many edits will be
rollbacked. When the count is over 10 the text "more than 10 edits" will
be outputed.

Change-Id: I5c4050e0a9197d4c505e85685a9780c97138d427

11 years agoMerge "Some fixes to our jQuery UI skin for buttons"
Trevor Parscal [Tue, 31 Jul 2012 20:25:55 +0000 (20:25 +0000)]
Merge "Some fixes to our jQuery UI skin for buttons"

11 years agoMerge "[FileBackend] Made swift handle unknown content types better."
Catrope [Tue, 31 Jul 2012 20:13:35 +0000 (20:13 +0000)]
Merge "[FileBackend] Made swift handle unknown content types better."

11 years ago(bug 27395) Write PHPUnit test suite for CSSJanus
Timo Tijhof [Tue, 31 Jul 2012 08:02:04 +0000 (01:02 -0700)]
(bug 27395) Write PHPUnit test suite for CSSJanus

Change-Id: If40c5de54bffae6e5ac8fac81754a53a40c652b1

11 years agoSupport deleting all rows
jeroendedauw [Tue, 31 Jul 2012 18:33:10 +0000 (20:33 +0200)]
Support deleting all rows

Change-Id: I36ee33580261f39cb0ba69473f5afac9a5135853

11 years ago[FileBackend] Made swift handle unknown content types better.
Aaron [Tue, 31 Jul 2012 17:53:27 +0000 (10:53 -0700)]
[FileBackend] Made swift handle unknown content types better.

Change-Id: I50a5c17c40152a9e469a54bdd70a8408c57ebd50

11 years agoMerge "Add hint for pipe-separated list to action=help"
Catrope [Tue, 31 Jul 2012 16:56:18 +0000 (16:56 +0000)]
Merge "Add hint for pipe-separated list to action=help"

11 years agoMerge "Fix logic error from Ia74ac399 (2ee4653)."
Reedy [Tue, 31 Jul 2012 16:50:09 +0000 (16:50 +0000)]
Merge "Fix logic error from Ia74ac399 (2ee4653)."

11 years agoMerge "* oracle DB schema update to current (changes relevant to 1.19 will be backpor...
Demon [Tue, 31 Jul 2012 16:30:33 +0000 (16:30 +0000)]
Merge "* oracle DB schema update to current (changes relevant to 1.19 will be backported) * fixed an updater bug from 1.19 (will be backported)"

11 years agoFix logic error from Ia74ac399 (2ee4653).
Alexandre Emsenhuber [Tue, 31 Jul 2012 11:18:03 +0000 (13:18 +0200)]
Fix logic error from Ia74ac399 (2ee4653).

The "views" part of the table should only
be displayed if view counters are *not*
disabled (and not the opposite).

Change-Id: I4859f396cc9e2eb7b9f4eff6502efc459a3410fd

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 31 Jul 2012 08:06:11 +0000 (08:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I6556bddc4204ecebff39db8c8d01e8a169e62fc0

11 years agoAdded placeholder-msg support and more documentation to jquery.localize
Trevor Parscal [Mon, 30 Jul 2012 21:43:58 +0000 (14:43 -0700)]
Added placeholder-msg support and more documentation to jquery.localize

* Added examples of all options (prefix, keys and params)
* Added example of raw attribute being used to bypass escaping
* Added documentation to code where it seemed clarification was needed
* Reduce duplication and simplified  some unnecessarily complex statements
* Added test for new placeholder-msg attribute support
* Made adding more attributes in the future easier
* Moved message wrapper function out of the localize function so we aren't defining it each time localize is used

Change-Id: I77593acf4c1b3974d502a1a8382cca9267af2d41

11 years agoMerge "(bug 37390) Clean up QUnit test suites"
Trevor Parscal [Mon, 30 Jul 2012 23:54:39 +0000 (23:54 +0000)]
Merge "(bug 37390) Clean up QUnit test suites"

11 years ago(bug 37390) Clean up QUnit test suites
Timo Tijhof [Mon, 30 Jul 2012 23:46:50 +0000 (16:46 -0700)]
(bug 37390) Clean up QUnit test suites

* Use new QUnit 1.8.0+ pattern:
 - no-globals (only QUnit itself)
 - assert-object pattern
 - Remove pointless '-- Initial check' assertions.
   I introduced this pattern last year for no particular reason and
   everybody just copied it. There is no reason for it, it works fine
   without it. And the rest of the world that uses QUnit doesn't do
   it either. Exceptions are caught by QUnit and error handling there
   is much better than a dull '!ok()' assertion.

* .jshintrc:
 - Tolerate "mulistr" (this is used in many extensions, test suites
   as well as in MediaWiki core)
   "foo\
   bar"
 - Use "jquery: true" instead of "jQuery" so that JSHint can optimize
   for jQuery edge cases.

Misc issues fixed:
 * Trailing comma's in jquery.tablesorter.test
 * Missing semi-colon in testrunner.js
 * Remove backwards-compatible line for "equals()" and "same()".
   These have been deprecated in QUnit since 2009 (which is way
   before we even started looking at QUnit).
   Inside QUnit itself is a deprecation notice, I don't know why
   I added this compatibility line, it is stupid and overrides the
   nice deprecation-warning that QUnit has built in for it).
 * Use QUnit.push inside assertTrue and assertFalse.
   QUnit assertion methods must not call each other, in order to keep
   the call stack length as expected so that QUnit can report the
   file and line number of the caller of the assertion in case of
   failure etc.

Change-Id: I5cded6e8c32dba39170a02bdd3236c8b7b04d269

11 years agoMerge "Fix at end navigation condition for query pages"
Aaron Schulz [Mon, 30 Jul 2012 22:30:12 +0000 (22:30 +0000)]
Merge "Fix at end navigation condition for query pages"

11 years agoMerge "Realign $magicWords array in LanguageEn.php"
Aaron Schulz [Mon, 30 Jul 2012 22:17:16 +0000 (22:17 +0000)]
Merge "Realign $magicWords array in LanguageEn.php"

11 years agoMerge "Move some readonly around"
Aaron Schulz [Mon, 30 Jul 2012 22:16:43 +0000 (22:16 +0000)]
Merge "Move some readonly around"

11 years agoMerge "Make MWHttpRequest::__construct() protected."
Aaron Schulz [Mon, 30 Jul 2012 22:15:42 +0000 (22:15 +0000)]
Merge "Make MWHttpRequest::__construct() protected."

11 years agoAJAXify watchlist editor
Eranroz [Sun, 3 Jun 2012 14:39:04 +0000 (17:39 +0300)]
AJAXify watchlist editor

This patch makes the watchlist editor to use pagination. That would
avoid old browsers crashing (bug 20483).
Patch also add some AJAX operations to the editor, for example to remove
items from watchlist (bug 32151).

The AJAX support is an ALTERNATIVE to the form based method, to keep
support for non javascript users.

This change contains a required change in the API for watch operation,
to allow batch operation, by support titles parameter. The old title
(single page) parameter is still used to keep backward compatibility.

Change-Id: I1d8c66db9ba6456858ef655397935a2b3a421632

11 years agoClean up badger.{css,js} from PageTriage, generalise it and move it into core.
Andrew Garrett [Mon, 30 Jul 2012 21:16:56 +0000 (14:16 -0700)]
Clean up badger.{css,js} from PageTriage, generalise it and move it into core.

Change-Id: I0f5e754146359448eb125456e240cf5768d4f541

11 years ago(bug 37331) Modules sometimes execute twice in Firefox
Catrope [Tue, 24 Jul 2012 20:24:56 +0000 (13:24 -0700)]
(bug 37331) Modules sometimes execute twice in Firefox

This seems to have been caused by a weird race condition that caused the
loader to run while the module in question was also running; could also
have been caused by the module calling mw.loader, but that didn't seem
to be the case here.

The fix is to set .state='ready' before executing the module rather than
after. We can't do this in debug mode (where we're loading raw files and
can't execute things at will), but we have to do this in production
mode to prevent these freakish double executions.

Change-Id: I7e8dbd361fb265e520d3935e3a1fc7e3b6710b66

11 years agoMove some readonly around
umherirrender [Mon, 30 Jul 2012 16:46:01 +0000 (18:46 +0200)]
Move some readonly around

Checking first permission and than read only is better, than user
without permissions does not retry it when read only is over.

Moving disallowUserJS to top so javascript is always not possible, same
is already done on Special:ChangePassword

Change-Id: Ia27ee177b67f1151fd1178b24744b65da8e756fd

11 years agoMerge "Localize comma separators in jump-to-nav."
Siebrand [Mon, 30 Jul 2012 15:53:58 +0000 (15:53 +0000)]
Merge "Localize comma separators in jump-to-nav."

11 years agoMerge "(bug 38362) Special:Listuser now includeable"
Siebrand [Mon, 30 Jul 2012 15:40:26 +0000 (15:40 +0000)]
Merge "(bug 38362) Special:Listuser now includeable"

11 years agoMake MWHttpRequest::__construct() protected.
Liangent [Mon, 30 Jul 2012 15:18:44 +0000 (23:18 +0800)]
Make MWHttpRequest::__construct() protected.

This class is not for direct initialization, and
new MWHttpRequest(...)->execute() doesn't work at all.

Change-Id: I557723c218cd8e8f27283d01141c890263da095d

11 years agoAdd @since 1.20 to getDirMarkEntity
Amir E. Aharoni [Mon, 30 Jul 2012 08:51:47 +0000 (11:51 +0300)]
Add @since 1.20 to getDirMarkEntity

Change-Id: Ib74b68a85e470ef23685802af93c3ec66d50e1ed

11 years agoMerge "Follow-up Ifa9c55b7 (58852d8): Change one more item to getWatchedItem()"
Demon [Mon, 30 Jul 2012 01:52:37 +0000 (01:52 +0000)]
Merge "Follow-up Ifa9c55b7 (58852d8): Change one more item to getWatchedItem()"

11 years agoMerge "No need to call parseTitle() directly in MediaWiki::__construct()."
Demon [Mon, 30 Jul 2012 01:48:42 +0000 (01:48 +0000)]
Merge "No need to call parseTitle() directly in MediaWiki::__construct()."

11 years agoMerge "Don't unset() $wgOut in AjaxDispatcher."
Demon [Mon, 30 Jul 2012 01:45:17 +0000 (01:45 +0000)]
Merge "Don't unset() $wgOut in AjaxDispatcher."

11 years agoMerge "Fix for Ic74c7ba7 (c8c50eb): there's no reason to pass $this by reference."
Demon [Mon, 30 Jul 2012 01:44:23 +0000 (01:44 +0000)]
Merge "Fix for Ic74c7ba7 (c8c50eb): there's no reason to pass $this by reference."

11 years agoMerge "Use local context to get messages and time formatting methods of Language...
Siebrand [Sun, 29 Jul 2012 20:46:40 +0000 (20:46 +0000)]
Merge "Use local context to get messages and time formatting methods of Language class."

11 years agoMerge "Store the Title and User objects passed RecentChange::notify*()"
Siebrand [Sun, 29 Jul 2012 20:43:36 +0000 (20:43 +0000)]
Merge "Store the Title and User objects passed RecentChange::notify*()"

11 years agoMerge "Update SkinLegacy to use newer methods to create the file link."
Siebrand [Sun, 29 Jul 2012 20:33:42 +0000 (20:33 +0000)]
Merge "Update SkinLegacy to use newer methods to create the file link."

11 years agoDon't unset() $wgOut in AjaxDispatcher.
Alexandre Emsenhuber [Sun, 29 Jul 2012 19:29:44 +0000 (21:29 +0200)]
Don't unset() $wgOut in AjaxDispatcher.

It's now totally useless since we are storing it
in the RequestContext object, so this won't prevent
the MediaWiki class to use it.

Change-Id: I10a15a16769f8f208c13bfb9ad38738562c11eac

11 years agoUse Linker::linkKnown() instead of Linker::link() with options in Article.
Alexandre Emsenhuber [Sun, 29 Jul 2012 19:11:33 +0000 (21:11 +0200)]
Use Linker::linkKnown() instead of Linker::link() with options in Article.

Change-Id: I01a69bc76a9904859c3baf04b19659de7edf5348

11 years agoMerge "Making listToText() not break if passed a 1-item list."
Siebrand [Sun, 29 Jul 2012 19:12:01 +0000 (19:12 +0000)]
Merge "Making listToText() not break if passed a 1-item list."

11 years agoMerge "Cleanup InfoAction"
Reedy [Sun, 29 Jul 2012 18:23:38 +0000 (18:23 +0000)]
Merge "Cleanup InfoAction"

11 years agoAdd hint for pipe-separated list to action=help
umherirrender [Sun, 29 Jul 2012 08:48:52 +0000 (10:48 +0200)]
Add hint for pipe-separated list to action=help

Also fix helptext for integer min/max for isMulti param

Change-Id: I84caf01ace8eefd9de4fe783a6cafac3201f2e0a

11 years agoLocalize comma separators in jump-to-nav.
Liangent [Sun, 29 Jul 2012 00:49:14 +0000 (08:49 +0800)]
Localize comma separators in jump-to-nav.

Change-Id: Id618041286d3bbd432b06a92ceffdb4c95d8afe3

11 years agoFix at end navigation condition for query pages
umherirrender [Sat, 28 Jul 2012 23:05:38 +0000 (01:05 +0200)]
Fix at end navigation condition for query pages

When looking at offet=1950 and limit=50 with a maximum of 2000 pages,
the show next link should not be active.

Change-Id: I0c3c2f2e46449cb6c35c227dec69363a7530b8ca

11 years agoSuppress warnings around parse_url call
Reedy [Sat, 28 Jul 2012 18:50:34 +0000 (19:50 +0100)]
Suppress warnings around parse_url call

From the docs:
On seriously malformed URLs, parse_url may return false and emit a E_WARNING

We're already checking for false, but we can get spammed with E_WARNING..

Change-Id: I44a9ef2b163e64113bd2a30b081c1256ffeada1e

11 years agoMerge "Update jquery.qunit from upstream v1.8.0 to v1.9.0"
Catrope [Sat, 28 Jul 2012 00:15:32 +0000 (00:15 +0000)]
Merge "Update jquery.qunit from upstream v1.8.0 to v1.9.0"

11 years agoMerge "Add hints to comment of ApiBase::needsToken/getTokenSalt"
Aaron Schulz [Fri, 27 Jul 2012 23:39:26 +0000 (23:39 +0000)]
Merge "Add hints to comment of ApiBase::needsToken/getTokenSalt"

11 years agoMerge "Replace hard coded parentheses"
Aaron Schulz [Fri, 27 Jul 2012 23:33:58 +0000 (23:33 +0000)]
Merge "Replace hard coded parentheses"

11 years agoMerge "Refactor out LinkBatch related query building"
Aaron Schulz [Fri, 27 Jul 2012 23:31:38 +0000 (23:31 +0000)]
Merge "Refactor out LinkBatch related query building"

11 years agoUpdate jquery.qunit from upstream v1.8.0 to v1.9.0
Timo Tijhof [Fri, 27 Jul 2012 23:09:20 +0000 (16:09 -0700)]
Update jquery.qunit from upstream v1.8.0 to v1.9.0

* Upstream https://github.com/jquery/qunit.git
 - tag: v1.9.0
 - tree: https://github.com/jquery/qunit/tree/v1.9.0
 - commit: https://github.com/jquery/qunit/commit/e36f17de98b2813df25ef8d3a504139f488971d2

* Also update our testrunner.js since the format of
  QUnit.config.urlConfig has changed (it is still backwards
  compatible, but we might as well use the new format right away,
  as it makes the checkboxes look better).

Change-Id: Ia5a9eb7a40a438c126879497ec0dbecbb72e0edb

11 years agoMerge "Added point in release notes about added ORM stuffs"
Aaron Schulz [Fri, 27 Jul 2012 23:06:47 +0000 (23:06 +0000)]
Merge "Added point in release notes about added ORM stuffs"

11 years agoRefactor out LinkBatch related query building
Reedy [Wed, 18 Jul 2012 15:24:50 +0000 (16:24 +0100)]
Refactor out LinkBatch related query building

Some minor refactoring of SpecialDisambiguations to
reduce the amount of  copy pasted code in ProofreadPage
extensions special page SpecialPagesWithoutScans

Change-Id: I41c8613b6f8c235809b51a5e00cdfa0775e5d733

11 years ago(bug 38362) Special:Listuser now includeable
Jacob Block [Thu, 12 Jul 2012 14:29:10 +0000 (15:29 +0100)]
(bug 38362) Special:Listuser now includeable

This patch makes Special:Listuser includeable by inserting the following
wikitext:

 {{special:Listusers}}

It supports all of [[Special:ListUsers]] short parameters. To list users
members of the 'sysop' group use the following wikitext:

 {{Special:ListUsers/sysop}}

Change-Id: Ia0efbfbd6300db5ad67840667c1cb12ab5e003c3

11 years agoReplace hard coded parentheses
Liangent [Fri, 27 Jul 2012 14:57:34 +0000 (22:57 +0800)]
Replace hard coded parentheses

Change-Id: I8ca697a3bdae4f693b626f2d2da15ad28dce937d

11 years agoAdd language converter for Uzbek.
robin [Sun, 15 Jul 2012 19:47:21 +0000 (15:47 -0400)]
Add language converter for Uzbek.

Also add tests per Hashar, based on the Serbian file but less since
Uzbek does not have "variant guessing" or custom plural rules.

Change-Id: I27da994b88fbe13cfb7df12851e704d881397666

11 years agofix typo in LanguageSrTest.php
robin [Fri, 27 Jul 2012 13:56:50 +0000 (15:56 +0200)]
fix typo in LanguageSrTest.php

Change-Id: I2e72d428ac56c94e4980ee712fdd66d381c504e0

11 years agoRealign $magicWords array in LanguageEn.php
umherirrender [Fri, 27 Jul 2012 12:58:04 +0000 (14:58 +0200)]
Realign $magicWords array in LanguageEn.php

I6dc90c67 adds some longer magicwords
Removing trailing spaces, because the other languages files does not
have that also

Change-Id: I004f9ab2445a68da9331b9ad64648508ae5ef986

11 years agoAdd hints to comment of ApiBase::needsToken/getTokenSalt
umherirrender [Fri, 27 Jul 2012 12:43:55 +0000 (14:43 +0200)]
Add hints to comment of ApiBase::needsToken/getTokenSalt

Change-Id: I7141256527aaff5496ac4e163199c947fb27fed0

11 years agoMerge "Make DateFormatter work in any language, by default in the page content language"
Nikerabbit [Fri, 27 Jul 2012 11:02:29 +0000 (11:02 +0000)]
Merge "Make DateFormatter work in any language, by default in the page content language"

11 years ago* oracle DB schema update to current (changes relevant to 1.19 will be
freakolowsky [Thu, 26 Jul 2012 15:48:07 +0000 (17:48 +0200)]
* oracle DB schema update to current (changes relevant to 1.19 will be
backported)
* fixed an updater bug from 1.19 (will be backported)

Change-Id: Iccc7a901fcc049656f0338b4a2e6aa3971694099

11 years agoMerge "Ugrade jQuery UI to 1.8.22"
Krinkle [Fri, 27 Jul 2012 07:04:12 +0000 (07:04 +0000)]
Merge "Ugrade jQuery UI to 1.8.22"

11 years agoUgrade jQuery UI to 1.8.22
Reedy [Thu, 26 Jul 2012 23:18:09 +0000 (00:18 +0100)]
Ugrade jQuery UI to 1.8.22

http://blog.jqueryui.com/2012/07/jquery-ui-1-8-22/

Change-Id: I770ca9eaae180dbac8ac785113a5787b71acc67d

11 years agoMerge "Use WebRequest instead of $_SERVER in OutputPage."
Aaron Schulz [Fri, 27 Jul 2012 01:14:39 +0000 (01:14 +0000)]
Merge "Use WebRequest instead of $_SERVER in OutputPage."

11 years agoMerge "explode()'ing the callback is no longer needed in AjaxDispatcher."
Aaron Schulz [Fri, 27 Jul 2012 01:10:54 +0000 (01:10 +0000)]
Merge "explode()'ing the callback is no longer needed in AjaxDispatcher."

11 years agoMerge "Fix for I5211ec50 (d969a27): more refactoring of the code."
Aaron Schulz [Thu, 26 Jul 2012 21:49:49 +0000 (21:49 +0000)]
Merge "Fix for I5211ec50 (d969a27): more refactoring of the code."

11 years agoMerge "Use WikiPage::loadPageData() to reload data from the master."
Aaron Schulz [Thu, 26 Jul 2012 21:45:26 +0000 (21:45 +0000)]
Merge "Use WikiPage::loadPageData() to reload data from the "

11 years agoMerge "fix logic bug in assertArrayEquals"
Aaron Schulz [Thu, 26 Jul 2012 21:37:37 +0000 (21:37 +0000)]
Merge "fix logic bug in assertArrayEquals"