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

10 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

10 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"

10 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

10 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"

10 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

10 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"

10 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

10 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"

10 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"

10 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])"

10 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)"

10 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

10 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

10 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

10 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"

10 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

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

10 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 *"

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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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"

10 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

10 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

10 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"

10 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"

10 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)"

10 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

10 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

10 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

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

10 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"

10 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

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

10 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"

10 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"

10 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"

10 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"

10 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"

10 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'"

10 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

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

Change-Id: I8930364d3bbe9070df646f4f253779494c5091b1

10 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

10 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"

10 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."

10 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

10 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"

10 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"

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

10 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"

10 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"

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

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

Change-Id: I3527eb8314ec577a118ed4fc897768224d63092a

10 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"

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

10 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)"

10 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"

10 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"

10 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

10 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"

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

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

Change-Id: I4569f5d59018f0d5082888fdc737cf30370bcbdd

10 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

10 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"

10 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

10 years agoUpdate messages list for oojs-ui
Roan Kattouw [Tue, 22 Jul 2014 23:50:10 +0000 (16:50 -0700)]
Update messages list for oojs-ui

In the recent window rewrite, some messages were added, removed or renamed.

Bug: 68327
Change-Id: Ib7104ef4d4f2282a2c9205b4b922e1678854d0a4

10 years agoMerge "Revert "maintenance: Update comment in the OOjs UI pull through script""
jenkins-bot [Tue, 22 Jul 2014 22:09:38 +0000 (22:09 +0000)]
Merge "Revert "maintenance: Update comment in the OOjs UI pull through script""

10 years agoUpdate OOjs UI to v0.1.0-pre (9cd400e3d5)
Roan Kattouw [Tue, 22 Jul 2014 21:59:46 +0000 (14:59 -0700)]
Update OOjs UI to v0.1.0-pre (9cd400e3d5)

New changes:
6544476 Give MessageDialog actions 'action' properties
d10d0d9 Localisation updates from https://translatewiki.net.
91b11b4 Use native focus
f808d83 Add role attribute to a few widgets
8bd708b Special case for measuring clippableContainer == body

Change-Id: I56a21b2d652cc31748b369f26c0dc1cf5e0e81e2

10 years agoRevert "maintenance: Update comment in the OOjs UI pull through script"
Catrope [Tue, 22 Jul 2014 22:01:53 +0000 (22:01 +0000)]
Revert "maintenance: Update comment in the OOjs UI pull through script"

You can't put a comment in the middle of a command split
across multiple lines, it terminates the command.

This reverts commit 3cc4314faaf852417771a86380104bd68cc31b96.

Change-Id: If5889f84033366c62c4924511997b5e6a108cfab

10 years agoShorten if/else to ternary expressions in WebStart.php
withoutaname [Tue, 22 Jul 2014 21:07:03 +0000 (14:07 -0700)]
Shorten if/else to ternary expressions in WebStart.php

Change-Id: Ia12af16e1a6346fac169d5c2a2eee330050bd149

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 22 Jul 2014 20:47:59 +0000 (22:47 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5e0139cfeee3143aa4926118cc89eef729f89e94

10 years agoFix documentation for UserMailer::send()
Kunal Mehta [Tue, 22 Jul 2014 20:36:55 +0000 (13:36 -0700)]
Fix documentation for UserMailer::send()

Change-Id: Ia1e793d96fa9d7c84c6b3c16090e7ffc13bf824a

10 years agoMerge "Remove two unused constants from EditPage.php"
jenkins-bot [Tue, 22 Jul 2014 20:25:02 +0000 (20:25 +0000)]
Merge "Remove two unused constants from EditPage.php"

10 years agoCall to a member function getText() on a non-object
Reedy [Tue, 22 Jul 2014 19:18:07 +0000 (20:18 +0100)]
Call to a member function getText() on a non-object

Bug: 68394
Change-Id: I78a9cd940fed9134263f086af89c15b5777b57fc

10 years agoIntegrate Special:MyLanguage from the Translate extension
Max Semenik [Thu, 19 Jun 2014 18:36:56 +0000 (11:36 -0700)]
Integrate Special:MyLanguage from the Translate extension

In practice, this means the MediaWiki canonical way to uniquely and
humanly name translation pages on a multilingual wiki becomes
$source_page_title + '/' + $target_language_code, irrespective of
the enabling of the navigational subtitle and of the relative
titles (..) syntax for linking and transcluding, which are unrelated
and keep being controlled by $wgNamespacesWithSubpages.

This syntax has been prevalent on most wikis including mediawiki.org
since at least 2009, also thanks to #titleparts in ParserFunctions.

The part of the special page's functionality that made links to it red
when destination page wasn't present will be integrated with a follow-up
commit because they require more performance work.

I'm also including some Title tests that were written for testing the
redlinking functionality but are useful in general.

Bug: 66762
Change-Id: I520077c931431b5919e0208f75c20b5b25f3159d

10 years agoMerge "Release notes for I050292dbb76821f66a15f937bf3aaf4defe67687"
jenkins-bot [Tue, 22 Jul 2014 18:30:58 +0000 (18:30 +0000)]
Merge "Release notes for I050292dbb76821f66a15f937bf3aaf4defe67687"

10 years agoDefaultSettings: Update documentation for skin-related variables
Bartosz Dziewoński [Tue, 22 Jul 2014 18:25:15 +0000 (20:25 +0200)]
DefaultSettings: Update documentation for skin-related variables

Change-Id: I646b737d225fd320181bb5fe86d548835c4f5357

10 years agoMerge "Make Special:Email an alias for Special:EmailUser"
jenkins-bot [Tue, 22 Jul 2014 18:11:40 +0000 (18:11 +0000)]
Merge "Make Special:Email an alias for Special:EmailUser"

10 years agoRelease notes for I050292dbb76821f66a15f937bf3aaf4defe67687
Max Semenik [Tue, 22 Jul 2014 17:58:59 +0000 (10:58 -0700)]
Release notes for I050292dbb76821f66a15f937bf3aaf4defe67687

Change-Id: Ic1e4ffc2888c2381cfce13093af5120bea7c3354

10 years agoMerge "Change the default for wgThumbnailMinimumBucketDistance"
jenkins-bot [Tue, 22 Jul 2014 17:56:52 +0000 (17:56 +0000)]
Merge "Change the default for wgThumbnailMinimumBucketDistance"

10 years agoChange the default for wgThumbnailMinimumBucketDistance
Gilles Dubuc [Tue, 22 Jul 2014 17:20:12 +0000 (13:20 -0400)]
Change the default for wgThumbnailMinimumBucketDistance

This has no effect while $wgThumbnailBuckets is null (the default),
but once buckets are enabled, 0 is a poor setting for the minimum
distance. 50 is arbitrary but definitely better than leaving it at 0.

Change-Id: I845af18cfd00627b26f6325c1d1a512a492a8f7c

10 years agoMerge "Fix race condition in wfShellExec()"
jenkins-bot [Tue, 22 Jul 2014 16:58:07 +0000 (16:58 +0000)]
Merge "Fix race condition in wfShellExec()"

10 years agoMerge "Update jquery.ui Vector theme to 1.9.2"
jenkins-bot [Tue, 22 Jul 2014 16:51:05 +0000 (16:51 +0000)]
Merge "Update jquery.ui Vector theme to 1.9.2"