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

11 years agoMerge "Various thumb.php fixes."
Catrope [Thu, 26 Jul 2012 21:23:12 +0000 (21:23 +0000)]
Merge "Various thumb.php fixes."

11 years agoVarious thumb.php fixes.
Aaron [Thu, 26 Jul 2012 19:00:22 +0000 (12:00 -0700)]
Various thumb.php fixes.

* Made wfThumbHandle404() handle full REQUEST_URI urls.
* Made wfExtractThumbParams() handle protocal relative zone urls.
* Added FileRepo::getZoneHandlerUrl() and site zone configuration to simplify wmf rewrite rules.
* Renamed some variables to be less misleading.

Change-Id: Ic3e23c2a623c1241ee22a9811aee073fb07aa68c

11 years agoMerge "Add Turoyo (tru) language to MediaWiki"
Siebrand [Thu, 26 Jul 2012 18:45:49 +0000 (18:45 +0000)]
Merge "Add Turoyo (tru) language to MediaWiki"

11 years agofix logic bug in assertArrayEquals
daniel [Thu, 26 Jul 2012 18:08:54 +0000 (20:08 +0200)]
fix logic bug in assertArrayEquals

Change-Id: I442ebfe77292918f29121aba1205de664723e468

11 years agoMerge "mediawiki.Uri: Optional url use default location."
Krinkle [Thu, 26 Jul 2012 17:20:59 +0000 (17:20 +0000)]
Merge "mediawiki.Uri: Optional url use default location."

11 years agoMerge "Improve documentation of maintenance scripts."
Hashar [Thu, 26 Jul 2012 14:53:58 +0000 (14:53 +0000)]
Merge "Improve documentation of maintenance scripts."

11 years agomediawiki.Uri: Optional url use default location.
Mark Holmquist [Thu, 19 Jul 2012 20:55:21 +0000 (13:55 -0700)]
mediawiki.Uri: Optional url use default location.

This patch does three things:

1. If mw.Uri doesn't get any arguments, it will return the default
   URI. This is a good default, because it's something that will be
   used often, and the URI object that refers to the default location
   already exists locally, we're just using it to return a clone of
   that.

2. Fixes a strange logic error that prevents #1 from taking effect
   properly. The last clause in the 'if' statement on line 120
   meant that if uri is undefined, the if block would execute. I
   doubt that was intended, but it happened, and now it's fixed.
   There may be some error handling in mw.Uri.parse that could be
   removed since the URI passed in will almost never be undefined.

3. Adds tests for the new constructor values.

Change-Id: I9254b89bba41572c6dce72d2100d7085c37fb2c3

11 years agosome doc for the ORM system
jeroendedauw [Sat, 21 Jul 2012 19:20:30 +0000 (21:20 +0200)]
some doc for the ORM system

Change-Id: Icdfe6c754fdeddb42f0df04efcb1e06df8b73173

11 years agoMerge "Add Burmese to list of languages with wider headings"
Siebrand [Thu, 26 Jul 2012 04:44:44 +0000 (04:44 +0000)]
Merge "Add Burmese to list of languages with wider headings"

11 years agoMerge "Add 皮膚 for better word segmentation."
Siebrand [Thu, 26 Jul 2012 04:38:52 +0000 (04:38 +0000)]
Merge "Add 皮膚 for better word segmentation."

11 years agoMerge "Drop conversion from 游標 to 光标 which can also refer to verniers"
Siebrand [Thu, 26 Jul 2012 04:38:19 +0000 (04:38 +0000)]
Merge "Drop conversion from 游標 to 光标 which can also refer to verniers"

11 years agoMerge "Add 路面 for better word segmentation."
Siebrand [Thu, 26 Jul 2012 04:37:30 +0000 (04:37 +0000)]
Merge "Add 路面 for better word segmentation."

11 years agoMerge "(bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages', ...
Catrope [Thu, 26 Jul 2012 02:11:05 +0000 (02:11 +0000)]
Merge "(bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages', 'files' and 'subcats'"

11 years agoMerge "allow combined width/height param in {{filepath:}}"
Catrope [Thu, 26 Jul 2012 02:08:57 +0000 (02:08 +0000)]
Merge "allow combined width/height param in {{filepath:}}"

11 years ago[FileBackend] Made copy script use error() for status dump.
Aaron Schulz [Thu, 26 Jul 2012 01:45:07 +0000 (18:45 -0700)]
[FileBackend] Made copy script use error() for status dump.

Change-Id: I68a359e9ac1490683fb650d4c43f9b643e321701

11 years ago(bug 260) Wrap <pre> overflow properly.
Timo Tijhof [Sat, 21 Jul 2012 21:26:21 +0000 (14:26 -0700)]
(bug 260) Wrap <pre> overflow properly.

The previous approach with overflow: hidden; had issues.
This is much better. See inline comment as well as the discussion
on bug 260 for more information and the cross-browser test.

And it took only 8 years!

* Ref:
- bug 260
- bug 414
- bug 22060

Change-Id: I7eec3ffeaa5ad633270714ce06023b29a71519f9

11 years agoMerge "Revert "(bug 260) Handle <pre> overflow automatically with a scroll bar""
Krinkle [Wed, 25 Jul 2012 21:21:49 +0000 (21:21 +0000)]
Merge "Revert "(bug 260) Handle <pre> overflow automatically with a scroll bar""

11 years agoMerge "Split Generic into MediaHandler and ImageHandler"
Aaron Schulz [Wed, 25 Jul 2012 20:16:27 +0000 (20:16 +0000)]
Merge "Split Generic into MediaHandler and ImageHandler"

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Wed, 25 Jul 2012 19:31:06 +0000 (21:31 +0200)]
Improve documentation of maintenance scripts.

Change-Id: I93e80edcfc3dc2d5630f7514808cafc22daf39f7

11 years agoMerge "Revert "memcached: better error messaging""
Aaron Schulz [Wed, 25 Jul 2012 19:30:46 +0000 (19:30 +0000)]
Merge "Revert "memcached: better error messaging""

11 years agoRevert "memcached: better error messaging"
Aaron Schulz [Wed, 25 Jul 2012 19:28:08 +0000 (19:28 +0000)]
Revert "memcached: better error messaging"

This always issues PHP notices when the code is hit.

This reverts commit fe6da52a11375c83d86f73bf4725d14acfbf4cbf

11 years ago(bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
umherirrender [Wed, 25 Jul 2012 15:51:05 +0000 (17:51 +0200)]
(bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
'files' and 'subcats'

Change-Id: I6dc90c6701c857256343f3c8f874dc20c6cc098a

11 years agoallow combined width/height param in {{filepath:}}
umherirrender [Wed, 25 Jul 2012 15:31:47 +0000 (17:31 +0200)]
allow combined width/height param in {{filepath:}}

Using the same regex like [[File:|]]
With heigth, the width inside the thumb link can be calculated, if the
height not fit in the width.

Change-Id: If188d923d6cd25ea6a5118098f3a513ca5135d43

11 years agoMerge "Add correct rtl value to some languages"
Nikerabbit [Wed, 25 Jul 2012 12:38:54 +0000 (12:38 +0000)]
Merge "Add correct rtl value to some languages"

11 years agoAdd 皮膚 for better word segmentation.
Liangent [Wed, 25 Jul 2012 09:13:41 +0000 (17:13 +0800)]
Add 皮膚 for better word segmentation.

Change-Id: I677293c2669f606b2c51a4354c74bd4a775d1c7e