lhc/web/wiklou.git
9 years agoRemove unused XMLReader2 class
This, that and the other [Thu, 24 Jul 2014 07:41:02 +0000 (17:41 +1000)]
Remove unused XMLReader2 class

Undocumented and unused within core. Was previously used in WikiImporter,
but that use was removed in r81437.

Change-Id: I45f4ff3fae19a7d9c1a0dacb2e02d53ee4bdaefb

9 years agoAdd some tests for OldChangesList
aude [Fri, 25 Jul 2014 13:08:12 +0000 (15:08 +0200)]
Add some tests for OldChangesList

Change-Id: I6681ce6aa4e753fef33fe9f4719596d630889da6

9 years agoImprovements to RCCacheEntryFactoryTest and helper class
aude [Fri, 25 Jul 2014 13:05:39 +0000 (15:05 +0200)]
Improvements to RCCacheEntryFactoryTest and helper class

* pass User as argument when making the test context
* override rc_source when applicable

Change-Id: Id2094978d9f5ba962e76de7df29638e15a7547c3

9 years agoRemove unused param in RCCacheEntryFactoryTest
aude [Fri, 25 Jul 2014 07:36:54 +0000 (09:36 +0200)]
Remove unused param in RCCacheEntryFactoryTest

Change-Id: Ide6743759aba1083f6b4a78ec2643f059f8d3e47

9 years agoSplit code for making test RecentChange objects into own class
aude [Fri, 25 Jul 2014 07:30:09 +0000 (09:30 +0200)]
Split code for making test RecentChange objects into own class

this code is useful for adding tests of the other
changes classes and better not to duplicate it.

Change-Id: I464b4fbf39a0f47cb8911378b731cdd1672ecd86

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 25 Jul 2014 20:51:41 +0000 (22:51 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If3d3fe97968e04fde8df4a05a35c9d2ba08f59ae

9 years agoMade Special:RunJobs work for private wikis
Aaron Schulz [Thu, 24 Jul 2014 20:07:08 +0000 (13:07 -0700)]
Made Special:RunJobs work for private wikis

Change-Id: Ieb7b20f606d276bdee284932e3205fd87d92fdeb

9 years agoMerge "Add plural to message 'rcnotefrom'"
jenkins-bot [Fri, 25 Jul 2014 17:52:19 +0000 (17:52 +0000)]
Merge "Add plural to message 'rcnotefrom'"

9 years agoMerge "Wrap redirectpagesub in a <span>"
jenkins-bot [Fri, 25 Jul 2014 17:47:17 +0000 (17:47 +0000)]
Merge "Wrap redirectpagesub in a <span>"

9 years agoMerge "Refactored duplicated code into JobRunner.php"
jenkins-bot [Fri, 25 Jul 2014 17:33:29 +0000 (17:33 +0000)]
Merge "Refactored duplicated code into JobRunner.php"

9 years agoAdd word "imported" to history/log summary during import
This, that and the other [Fri, 25 Jul 2014 09:58:33 +0000 (19:58 +1000)]
Add word "imported" to history/log summary during import

Currently, an import-by-upload generates poor edit summaries such as
"2 revisions", and an interwiki-import generates only marginally better
ones ("2 revisions from [[link]]").

This change adds the word "imported" to those summaries.

Change-Id: If58023485b323641d063eada45248503f1bf17a1

9 years agoRefactored duplicated code into JobRunner.php
Aaron Schulz [Thu, 24 Jul 2014 22:03:23 +0000 (15:03 -0700)]
Refactored duplicated code into JobRunner.php

* Also added an async flag to SpecialRunJobs so that it can be
  set to false to get a JSON blob back with a regular 200 status.

Change-Id: I2f5763e017684c3c61f3d3f27ddf7f7834bdfce2

9 years agoMerge "Cleanup some docs (includes/[s-z])"
jenkins-bot [Fri, 25 Jul 2014 17:15:04 +0000 (17:15 +0000)]
Merge "Cleanup some docs (includes/[s-z])"

9 years agoMerge "Cleanup some docs (includes/[m-r])"
jenkins-bot [Fri, 25 Jul 2014 17:14:53 +0000 (17:14 +0000)]
Merge "Cleanup some docs (includes/[m-r])"

9 years agoMerge "Cleanup some docs (includes/[e-l])"
jenkins-bot [Fri, 25 Jul 2014 17:05:35 +0000 (17:05 +0000)]
Merge "Cleanup some docs (includes/[e-l])"

9 years agoMove adjustment of revision delete target in SpecialRevisiondelete to fix fatal
aude [Fri, 25 Jul 2014 15:53:52 +0000 (17:53 +0200)]
Move adjustment of revision delete target in SpecialRevisiondelete to fix fatal

targetObj needs to be set correctly before accessing the RevisionList,
and trying to get the 'current'.  If not set correctly, then $title
given to RevisionList (and it's subclasses) is Special:Revisiondelete
and rev_page is 0. So nothing is found for 'current' and a fatal
error happens.

Follow-up to Id1baacb

Bug: 68566
Change-Id: Ic078af5417798db1b2900057dbf7514112e94b46

9 years agoAdd plural to message 'rcnotefrom'
umherirrender [Mon, 14 Jul 2014 12:21:54 +0000 (14:21 +0200)]
Add plural to message 'rcnotefrom'

Also use the splitted date and time on the message.

Change-Id: I495d19258205d8713a19aa934a7657aecbe240d4

9 years agoRevert "Generalize Installer::showStatusMessage()"
Legoktm [Mon, 21 Jul 2014 08:31:09 +0000 (08:31 +0000)]
Revert "Generalize Installer::showStatusMessage()"

We probably want to put errors on top in the web installer
and warnings on top in the CLI installer due to differences
in scrolling.

This reverts commit 1c1e321af7977722073116fb6846f494502f6805.

Change-Id: I247030f0a3da6dff44884f4a282e52e92657fd91

9 years agoMerge "Check for boolean false result from database query in SqlBagOStuff"
jenkins-bot [Fri, 25 Jul 2014 01:31:55 +0000 (01:31 +0000)]
Merge "Check for boolean false result from database query in SqlBagOStuff"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 24 Jul 2014 21:36:35 +0000 (23:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I348abe6cee1468682f71e2fe9137304c8c61dcd1

9 years agoMerge "Add white-space to get pre to wrap in Firefox"
jenkins-bot [Thu, 24 Jul 2014 20:50:48 +0000 (20:50 +0000)]
Merge "Add white-space to get pre to wrap in Firefox"

9 years agoAdd white-space to get pre to wrap in Firefox
S Page [Thu, 24 Jul 2014 19:59:02 +0000 (12:59 -0700)]
Add white-space to get pre to wrap in Firefox

Change-Id: Ib80c1273e6dd0b6204f2f6d6c15b6a777b79e9d0

9 years agoMerge "Avoid function calls in the loop condition of a for statement"
jenkins-bot [Thu, 24 Jul 2014 19:51:16 +0000 (19:51 +0000)]
Merge "Avoid function calls in the loop condition of a for statement"

9 years agoAvoid function calls in the loop condition of a for statement
umherirrender [Thu, 24 Jul 2014 15:33:27 +0000 (17:33 +0200)]
Avoid function calls in the loop condition of a for statement

Change-Id: I64d9ba96797085b6f54658218404a02d4087ceaf

9 years agoMerge "Send 404 in various special pages when there're no results"
jenkins-bot [Thu, 24 Jul 2014 19:39:41 +0000 (19:39 +0000)]
Merge "Send 404 in various special pages when there're no results"

9 years agoMerge "Break some long lines in maintenance, skins, tests"
jenkins-bot [Thu, 24 Jul 2014 19:39:33 +0000 (19:39 +0000)]
Merge "Break some long lines in maintenance, skins, tests"

9 years agoMerge "Cleanup some docs (includes/[a-d])"
jenkins-bot [Thu, 24 Jul 2014 18:55:00 +0000 (18:55 +0000)]
Merge "Cleanup some docs (includes/[a-d])"

9 years agoMerge "Cleanup some docs (includes/*.php)"
jenkins-bot [Thu, 24 Jul 2014 18:54:43 +0000 (18:54 +0000)]
Merge "Cleanup some docs (includes/*.php)"

9 years agoCleanup some docs (includes/[s-z])
umherirrender [Thu, 24 Jul 2014 17:43:44 +0000 (19:43 +0200)]
Cleanup some docs (includes/[s-z])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: Ie419638e909a47aa72a274043604247830ee1a81

9 years agoCleanup some docs (includes/[m-r])
umherirrender [Thu, 24 Jul 2014 17:43:25 +0000 (19:43 +0200)]
Cleanup some docs (includes/[m-r])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I8ebfbcea0e2ae2670553822acedde49c1aa7e98d

9 years agoCleanup some docs (includes/[e-l])
umherirrender [Thu, 24 Jul 2014 17:43:03 +0000 (19:43 +0200)]
Cleanup some docs (includes/[e-l])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I41a84e8e1dec39170aa655250325ffc485eaeaef

9 years agoCleanup some docs (includes/[a-d])
umherirrender [Thu, 24 Jul 2014 17:42:45 +0000 (19:42 +0200)]
Cleanup some docs (includes/[a-d])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I7b65fe04db431342cc58b469dc48f41a50c4e891

9 years agoCleanup some docs (includes/*.php)
umherirrender [Thu, 24 Jul 2014 17:42:24 +0000 (19:42 +0200)]
Cleanup some docs (includes/*.php)

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I783e4dbfe5f6f98b32b9a03ccf6439e13e132bcc

9 years agoMerge "Add styling for the styleguide"
jenkins-bot [Thu, 24 Jul 2014 17:15:17 +0000 (17:15 +0000)]
Merge "Add styling for the styleguide"

9 years agoBreak some long lines in maintenance, skins, tests
umherirrender [Thu, 24 Jul 2014 17:03:17 +0000 (19:03 +0200)]
Break some long lines in maintenance, skins, tests

Change-Id: I5d86ad3e0c90e09440268a670f5af3e2bf080612

9 years agoMerge "Fix @deprecated of ImageGalleryBase"
jenkins-bot [Thu, 24 Jul 2014 12:52:41 +0000 (12:52 +0000)]
Merge "Fix @deprecated of ImageGalleryBase"

9 years agoMerge "Each line in a doc block should start with *"
jenkins-bot [Thu, 24 Jul 2014 12:49:58 +0000 (12:49 +0000)]
Merge "Each line in a doc block should start with *"

9 years agoMerge "Doc: Reformat @params declaration"
jenkins-bot [Thu, 24 Jul 2014 12:49:20 +0000 (12:49 +0000)]
Merge "Doc: Reformat @params declaration"

9 years agoMerge "Fixed spacing"
jenkins-bot [Thu, 24 Jul 2014 12:49:17 +0000 (12:49 +0000)]
Merge "Fixed spacing"

9 years agoFix @deprecated of ImageGalleryBase
umherirrender [Wed, 23 Jul 2014 21:51:11 +0000 (23:51 +0200)]
Fix @deprecated of ImageGalleryBase

Follows-up 0804f31c1c1167. @deprecated "since", not "in".

Change-Id: I9f28fd431eb84258d89c34c7c1e3e8a90a594dba

9 years agoDoc: Reformat @params declaration
umherirrender [Thu, 24 Jul 2014 11:12:18 +0000 (13:12 +0200)]
Doc: Reformat @params declaration

I have not found documentation about the @params command, so this seems
not valid.
I have moved the text to the corresponding @param

Change-Id: I443866d602b60570278289e6e24a77d37314cede

9 years agoMerge "Removed @since in MediaWikiPHPUnitTestListener"
jenkins-bot [Thu, 24 Jul 2014 10:24:10 +0000 (10:24 +0000)]
Merge "Removed @since in MediaWikiPHPUnitTestListener"

9 years agoFixed spacing
umherirrender [Mon, 21 Jul 2014 12:47:42 +0000 (14:47 +0200)]
Fixed spacing

- Removed spaces after not operator (!)
- Removed spaces inside array index
- use tab as indent instead of spaces
- Add newline at end of file
- Removed spaces after casts

Change-Id: I9ba17c4385fcb43d38998d45f89cf42952bc791b

9 years agoRemove colon after @deprecated/@param/@todo/@note
umherirrender [Thu, 24 Jul 2014 09:30:25 +0000 (11:30 +0200)]
Remove colon after @deprecated/@param/@todo/@note

Change-Id: I4e66dad85eecf7e8e03ac760af900395e1bc11b6

9 years agoAdd styling for the styleguide
Prateek Saxena [Wed, 23 Jul 2014 10:08:39 +0000 (15:38 +0530)]
Add styling for the styleguide

Change-Id: Idf741c9242d28a8823049507f7193b8f5578b7a9

9 years agoSend 404 in various special pages when there're no results
Liangent [Thu, 24 Jul 2014 08:25:01 +0000 (08:25 +0000)]
Send 404 in various special pages when there're no results

Bug: 67182
Change-Id: I442645d8b98731282768e6cc19a8f426b1d0b519

9 years agoEach line in a doc block should start with *
umherirrender [Thu, 24 Jul 2014 08:08:16 +0000 (10:08 +0200)]
Each line in a doc block should start with *

Added missing * to some doc blocks

Change-Id: I0709f2e94b053437fa0f06bb67ae7ae4c248a618

9 years agoAllow wfShellExec() to use an array as a command prompt
Yuri Astrakhan [Mon, 21 Jul 2014 22:46:16 +0000 (01:46 +0300)]
Allow wfShellExec() to use an array as a command prompt

Command line may now be given as an array, where each value
will be escaped and glued together with a space.

Change-Id: I9237ec1fccc60c0c4a360562db1c050a3be7e6a3

9 years agoMerge "commonElements: Import styling for <code> from mediawiki.org"
jenkins-bot [Thu, 24 Jul 2014 03:34:37 +0000 (03:34 +0000)]
Merge "commonElements: Import styling for <code> from mediawiki.org"

9 years agoAllow specifying a random page only in main namespace
Brian Wolff [Fri, 20 Jun 2014 14:38:22 +0000 (11:38 -0300)]
Allow specifying a random page only in main namespace

Make Special:Random/ get you a page in NS_MAIN. Previously it
got a page in the content namespaces. Special:Random (no /) still
returns pages from all content namespaces.

This also affects Special:RandomRootPage from the RandomRootPage
extension.

Bug: 46420
Change-Id: I9ce66b534b86eaa09236dd56dab7ac18d1ef37ec

9 years agoMake Special:FilePath redirect to Special:Redirect/file
Brian Wolff [Wed, 25 Jun 2014 22:19:33 +0000 (19:19 -0300)]
Make Special:FilePath redirect to Special:Redirect/file

Used to redirect to Special:Redirect/file/, which caused an error.

Bug: 66980
Change-Id: I8eb484fc88fad323122ddb6c25c55ab404030c64

9 years agoMerge "Fix off-by-one error in the "previous 200" link in category listings with...
jenkins-bot [Thu, 24 Jul 2014 02:12:29 +0000 (02:12 +0000)]
Merge "Fix off-by-one error in the "previous 200" link in category listings with until=param"

9 years agoMerge "Fix deprecated of ApiQuery::setGeneratorContinue"
jenkins-bot [Thu, 24 Jul 2014 01:06:52 +0000 (01:06 +0000)]
Merge "Fix deprecated of ApiQuery::setGeneratorContinue"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (a7ce4d48d9)"
jenkins-bot [Thu, 24 Jul 2014 00:48:39 +0000 (00:48 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (a7ce4d48d9)"

9 years agoUpdate OOjs UI to v0.1.0-pre (a7ce4d48d9)
James D. Forrester [Wed, 23 Jul 2014 23:48:16 +0000 (16:48 -0700)]
Update OOjs UI to v0.1.0-pre (a7ce4d48d9)

New changes:
6847186 Tests: Move …/test/… to …/tests/… to be the same as other repos
c2ee74f Handle touch events in toolbars and toolgroups
84b51fe Localisation updates from https://translatewiki.net.
a875313 Make TextInputWidget's autosizing work when setValue() is called

Change-Id: I9c26f04281f1988cacaaf7d72753e06419541873

9 years agoReject cache with future MW_USER_VERSION versions
Aaron Schulz [Thu, 24 Jul 2014 00:19:47 +0000 (17:19 -0700)]
Reject cache with future MW_USER_VERSION versions

* On rollback, using newer cache versions can cause issues if fields were
  modified or removed.

Change-Id: I7be290d6f776f9234c352dd3164b8e73dad4d49e

9 years agoSpecify unit in doc-block for $wgHTTPTimeout and $wgAsyncHTTPTimeout
Ori Livneh [Thu, 24 Jul 2014 00:00:40 +0000 (17:00 -0700)]
Specify unit in doc-block for $wgHTTPTimeout and $wgAsyncHTTPTimeout

Change-Id: I01f7e2b3b2965bda6bf8728ce58160506873b596

9 years agoWrap redirectpagesub in a <span>
Alex Monk [Wed, 23 Jul 2014 23:00:12 +0000 (00:00 +0100)]
Wrap redirectpagesub in a <span>

So that JS can easily single it out from the other contentSub stuff.
VE is currently trying to just overwrite the whole of contentSub to add/remove
this, causing bug 68432.

Change-Id: I780c965b93535dcfe7236ab118f42439caa55abe

9 years agoMerge "Add $wgDebugDumpSqlLength"
jenkins-bot [Wed, 23 Jul 2014 22:32:06 +0000 (22:32 +0000)]
Merge "Add $wgDebugDumpSqlLength"

9 years agoMerge "Integrate Special:MyLanguage from the Translate extension"
jenkins-bot [Wed, 23 Jul 2014 22:23:56 +0000 (22:23 +0000)]
Merge "Integrate Special:MyLanguage from the Translate extension"

9 years agoRemoved @since in MediaWikiPHPUnitTestListener
umherirrender [Wed, 23 Jul 2014 19:49:49 +0000 (21:49 +0200)]
Removed @since in MediaWikiPHPUnitTestListener

mentioned phpunit release are already required
Usually @since has the mediawiki version

Change-Id: I1fb1e5d4995e44d8e596e7b15562282aefc4c017

9 years agoMerge "Fix typo: expectedExceptionMesage -> expectedExceptionMessage"
jenkins-bot [Wed, 23 Jul 2014 21:46:48 +0000 (21:46 +0000)]
Merge "Fix typo: expectedExceptionMesage -> expectedExceptionMessage"

9 years agoMerge "ResourceLoaderModuleTest: Ensure 'vector' is a valid skin"
jenkins-bot [Wed, 23 Jul 2014 21:44:11 +0000 (21:44 +0000)]
Merge "ResourceLoaderModuleTest: Ensure 'vector' is a valid skin"

9 years agoMerge "User: Normalize skin key from $wgDefaultSkin for default options"
jenkins-bot [Wed, 23 Jul 2014 21:44:08 +0000 (21:44 +0000)]
Merge "User: Normalize skin key from $wgDefaultSkin for default options"

9 years agoMerge "Make sure buttons font-size is relative to its container"
jenkins-bot [Wed, 23 Jul 2014 21:41:19 +0000 (21:41 +0000)]
Merge "Make sure buttons font-size is relative to its container"

9 years agoMerge "DefaultSettings: Update documentation for skin-related variables"
jenkins-bot [Wed, 23 Jul 2014 21:41:17 +0000 (21:41 +0000)]
Merge "DefaultSettings: Update documentation for skin-related variables"

9 years agoMerge "Update OOjs to v1.0.11"
jenkins-bot [Wed, 23 Jul 2014 21:41:14 +0000 (21:41 +0000)]
Merge "Update OOjs to v1.0.11"

9 years agoMerge "Remove backwards-compatibility module alias 'mediawiki.action.watch.ajax'"
jenkins-bot [Wed, 23 Jul 2014 21:41:10 +0000 (21:41 +0000)]
Merge "Remove backwards-compatibility module alias 'mediawiki.action.watch.ajax'"

9 years agoFix deprecated of ApiQuery::setGeneratorContinue
umherirrender [Wed, 23 Jul 2014 21:36:10 +0000 (23:36 +0200)]
Fix deprecated of ApiQuery::setGeneratorContinue

No @ before the since

Change-Id: I849b9f950069fe248a6cd86afb1e1beda271f235

9 years agoFix typo: expectedExceptionMesage -> expectedExceptionMessage
umherirrender [Wed, 23 Jul 2014 21:28:19 +0000 (23:28 +0200)]
Fix typo: expectedExceptionMesage -> expectedExceptionMessage

Change-Id: I8930364d3bbe9070df646f4f253779494c5091b1

9 years agoResourceLoaderModuleTest: Ensure 'vector' is a valid skin
Bartosz Dziewoński [Wed, 23 Jul 2014 20:06:09 +0000 (22:06 +0200)]
ResourceLoaderModuleTest: Ensure 'vector' is a valid skin

Change-Id: I4c121339aec80a4c56042de7be85cf5f1748b9f0

9 years agoMerge "Remove styles for .os-suggest and related classes"
jenkins-bot [Wed, 23 Jul 2014 21:08:58 +0000 (21:08 +0000)]
Merge "Remove styles for .os-suggest and related classes"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 23 Jul 2014 20:58:12 +0000 (20:58 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoUpdate OOjs to v1.0.11
James D. Forrester [Wed, 23 Jul 2014 20:53:29 +0000 (13:53 -0700)]
Update OOjs to v1.0.11

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.0.11/History.md

Change-Id: Ie669852f8882553b9fc2fc8b6cbe67bf8df9a241

9 years agoMerge "Remove support for magic_quotes_gpc"
jenkins-bot [Wed, 23 Jul 2014 20:52:54 +0000 (20:52 +0000)]
Merge "Remove support for magic_quotes_gpc"

9 years agoMerge "resources: Switch oojs to the version optimised for environments with jQuery"
jenkins-bot [Wed, 23 Jul 2014 20:52:51 +0000 (20:52 +0000)]
Merge "resources: Switch oojs to the version optimised for environments with jQuery"

9 years agoMerge "Fix typo: MWExcepion -> MWException"
jenkins-bot [Wed, 23 Jul 2014 20:52:49 +0000 (20:52 +0000)]
Merge "Fix typo: MWExcepion -> MWException"

9 years agoMerge "Include ICU version in cache key for collation first letters"
jenkins-bot [Wed, 23 Jul 2014 20:52:42 +0000 (20:52 +0000)]
Merge "Include ICU version in cache key for collation first letters"

9 years agoMerge "Fix documentation of HistoryPager::lastLink() and make code more readable"
jenkins-bot [Wed, 23 Jul 2014 20:38:32 +0000 (20:38 +0000)]
Merge "Fix documentation of HistoryPager::lastLink() and make code more readable"

9 years agoRemove support for magic_quotes_gpc
Chad Horohoe [Wed, 9 Jul 2014 15:36:55 +0000 (08:36 -0700)]
Remove support for magic_quotes_gpc

This "feature" of PHP has been disabled by default for quite some
time, deprecated in 5.3 and removed entirely in 5.4.

See <http://www.php.net/manual/en/security.magicquotes.php> for
information on why this practice is bad and how to disable it.

For MediaWiki, the removed todo comment says it all. Doing this
messes with all of the super globals and makes embedding MediaWiki
inside another application problematic. It also increases our
memory footprint for every single request even when the data might
not be used.

Finally, it makes it possible to instantiate new WebRequest objects
pretty much whenever you want, so there's no reason for $wgRequest
to exist anymore.

Bug: 11558
Change-Id: I4bc0392276f454ceb966547c7fbd7c8190ebbc7c

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 23 Jul 2014 20:37:20 +0000 (22:37 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I875fda4c74419c916f9c992c885234613c39272b

9 years agoMerge "Standardize @todo"
jenkins-bot [Wed, 23 Jul 2014 20:36:52 +0000 (20:36 +0000)]
Merge "Standardize @todo"

9 years agoRemove RequestContext from edit.php and fixDoubleRedirects.php
withoutaname [Mon, 21 Jul 2014 22:10:25 +0000 (15:10 -0700)]
Remove RequestContext from edit.php and fixDoubleRedirects.php

Change-Id: I9388e6b3fec3c8ea92099aeaf010dd067f62a20f

9 years agoStandardize @todo
umherirrender [Wed, 23 Jul 2014 20:04:48 +0000 (22:04 +0200)]
Standardize @todo

Always use lowercase @todo
Changed some "@FIXME" to "@todo FIXME: "

Change-Id: I016d1f9511e6f3bbd22427f0fffeccd77ab5e0db

9 years agoMake sure buttons font-size is relative to its container
jdlrobson [Wed, 23 Jul 2014 18:09:33 +0000 (11:09 -0700)]
Make sure buttons font-size is relative to its container

Tested in Monobook, Vector, mobile, core login form

Change-Id: Id6b14b78fef91abc7b766150a01d0f32aeebf006

9 years agoUser: Normalize skin key from $wgDefaultSkin for default options
Bartosz Dziewoński [Wed, 23 Jul 2014 19:57:40 +0000 (21:57 +0200)]
User: Normalize skin key from $wgDefaultSkin for default options

$wgDefaultSkin is allowed not to actually be a valid key (although
doing that is obviously very unwise), which in turn can cause
exceptions from Preferences::loadPreferenceValues()
(MWException "Global default…"), which in turn causes failure of
SpecialPreferencesTest::testBug41337() test.

Change-Id: I8f8ae9ba301337b2e6facd3dcfadbf2ab12ac605

9 years agoresources: Switch oojs to the version optimised for environments with jQuery
James D. Forrester [Wed, 23 Jul 2014 19:57:40 +0000 (12:57 -0700)]
resources: Switch oojs to the version optimised for environments with jQuery

Change-Id: Ic8cc04c2e89203825efe64ecc3c91d0cae0b2daa

9 years agoFix typo: MWExcepion -> MWException
umherirrender [Wed, 23 Jul 2014 19:55:22 +0000 (21:55 +0200)]
Fix typo: MWExcepion -> MWException

Change-Id: I3527eb8314ec577a118ed4fc897768224d63092a

9 years agoMerge "Add since to @deprecated in includes/site"
jenkins-bot [Wed, 23 Jul 2014 18:33:31 +0000 (18:33 +0000)]
Merge "Add since to @deprecated in includes/site"

9 years agoMerge "Docs: {function} -> callable"
jenkins-bot [Wed, 23 Jul 2014 18:33:29 +0000 (18:33 +0000)]
Merge "Docs: {function} -> callable"

9 years agoMerge "Fixed some @params documentation (includes/utils)"
jenkins-bot [Wed, 23 Jul 2014 18:33:25 +0000 (18:33 +0000)]
Merge "Fixed some @params documentation (includes/utils)"

9 years agoMerge "api.php: Use $wgRequest to retrieve User-agent string"
jenkins-bot [Wed, 23 Jul 2014 12:01:45 +0000 (12:01 +0000)]
Merge "api.php: Use $wgRequest to retrieve User-agent string"

9 years agoMerge "Provide namespace to ApiParse->getSectionContent"
jenkins-bot [Wed, 23 Jul 2014 11:35:47 +0000 (11:35 +0000)]
Merge "Provide namespace to ApiParse->getSectionContent"

9 years agoAdd $wgDebugDumpSqlLength
Brad Jorsch [Fri, 27 Jun 2014 14:18:56 +0000 (10:18 -0400)]
Add $wgDebugDumpSqlLength

When $wgDebugDumpSql is set, the logged queries are truncated to 500
bytes. This is often not enough if you're wanting to actually debug
the queries instead of just seeing that queries were executed.

Change-Id: Iad3abd20c11d647834aa5546a1a9c82916c6519f

9 years agoMerge "Shorten if/else to ternary expressions in WebStart.php"
jenkins-bot [Wed, 23 Jul 2014 06:59:31 +0000 (06:59 +0000)]
Merge "Shorten if/else to ternary expressions in WebStart.php"

9 years agoMerge "Remove deprecated class StubContLang"
jenkins-bot [Wed, 23 Jul 2014 05:36:24 +0000 (05:36 +0000)]
Merge "Remove deprecated class StubContLang"

9 years agoRemove deprecated class StubContLang
withoutaname [Wed, 23 Jul 2014 05:07:04 +0000 (22:07 -0700)]
Remove deprecated class StubContLang

Change-Id: I4569f5d59018f0d5082888fdc737cf30370bcbdd

9 years agoInclude ICU version in cache key for collation first letters
Brian Wolff [Mon, 21 Jul 2014 22:25:36 +0000 (19:25 -0300)]
Include ICU version in cache key for collation first letters

The cache key is only valid for specific versions of icu extension.
If you upgrade php, the cache key should get refreshed.

Note: Changing your version of icu (e.g. by upgrading php)
still requires updateCollation.php --force to be run. This
patch does nothing to change that.

Note: Have not tested on hhvm, which is what the original bug
report was about.

Bug: 68344
Change-Id: Ib5ac2adc34a5a120b916cebcf62ff3d6ee057403

9 years agoMerge "Call to a member function getText() on a non-object"
jenkins-bot [Wed, 23 Jul 2014 01:57:04 +0000 (01:57 +0000)]
Merge "Call to a member function getText() on a non-object"

9 years agoProvide namespace to ApiParse->getSectionContent
S Page [Wed, 23 Jul 2014 01:26:53 +0000 (18:26 -0700)]
Provide namespace to ApiParse->getSectionContent

Improves the "Sections are not supported by <PAGE>" error message when
it fails.  Also add phpdoc comment

Bug: 68416
Change-Id: Iaa5d3a1f33b8a9c48263c2ce27cd3b4fe98fbf01