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

9 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

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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

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

9 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

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

9 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

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

9 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

9 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()"

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

9 years agoMerge "Wrapped the brackets of the collapse buttons with spans"
jenkins-bot [Tue, 22 Jul 2014 16:40:40 +0000 (16:40 +0000)]
Merge "Wrapped the brackets of the collapse buttons with spans"

9 years agoUpdate jquery.ui Vector theme to 1.9.2
paladox [Tue, 15 Jul 2014 16:05:43 +0000 (16:05 +0000)]
Update jquery.ui Vector theme to 1.9.2

Follows-up 3cb2ccd87863abb8a99ed7d970730ae9e4138fcc.

Various structural changes were made in jQuery UI 1.9, and the Vector
theme was not updated to accommodate for those changes.

There have also been lots of small improvements to the base theme (which
is substituted inside the Vector theme) that were made over the past few
releases that weren't backported (such as Ib099282484b for bug 67243).

And there were two new modules in jQuery UI 1.9 (menu and spinner) that
were lacking Vector theme stylesheets.

Change-Id: I27accab309da063f4d7965a103951b152e77937d

9 years agocommonElements: Import styling for <code> from mediawiki.org
Bartosz Dziewoński [Tue, 22 Jul 2014 16:11:25 +0000 (18:11 +0200)]
commonElements: Import styling for <code> from mediawiki.org

Same theme as the styling for <pre> we already have (which also has
been imported from mediawiki.org, in Iea359250).

Source:
https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-site.css&oldid=1057697

> Redesigned <code>.
> Should improve readability by not having the samples blend into the white background,
> but by having a visible (though subtle) border around the code sample.

Originally authored by Krinkle:
https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-site.css&diff=655396&oldid=648042

Change-Id: I48185e17a37e5c11b285e9a44176b47d59644bcd

9 years agoMerge "Preferences: Turn stubthreshold back into a combo box"
jenkins-bot [Tue, 22 Jul 2014 15:55:38 +0000 (15:55 +0000)]
Merge "Preferences: Turn stubthreshold back into a combo box"

9 years agoPreferences: Turn stubthreshold back into a combo box
This, that and the other [Mon, 21 Jul 2014 07:38:39 +0000 (17:38 +1000)]
Preferences: Turn stubthreshold back into a combo box

Currently it's an insanely tall list box. All the other settings on this
page use combo boxes, so we should be consistent.

After it was changed from 'selectorother' to 'select' in I88212703
and support for 'size' in HTMLSelectField was enabled in I7ac345e1,
the size defines the height of the select box instead of the width of
the text input field.

Bug: 68313
Change-Id: Id42a62e78fc2fee741bb02b88dc14cbb1b63635a

9 years agoFixed JobQueueAggregatorRedis to handle empty collections
Aaron Schulz [Tue, 15 Jul 2014 20:43:35 +0000 (13:43 -0700)]
Fixed JobQueueAggregatorRedis to handle empty collections

* Previously it would keep polling if the hash was empty since
  empty and non-existing collections are the same in Redis.
* Also turned off the pointless PHP serialization.
* Bumped the cache version key; this change should be deployed
  in all wikis at once, along with updating the runners.

Change-Id: I33dc55bc579bf678f14a5383e9e2c3c35231d599

9 years agoMerge "LessFileCompilationTest: Check $file during the test, not in constructor"
jenkins-bot [Tue, 22 Jul 2014 15:06:15 +0000 (15:06 +0000)]
Merge "LessFileCompilationTest: Check $file during the test, not in constructor"

9 years agoMerge "Add tests for IE workarounds to ActionTest"
jenkins-bot [Tue, 22 Jul 2014 14:54:53 +0000 (14:54 +0000)]
Merge "Add tests for IE workarounds to ActionTest"

9 years agoLessFileCompilationTest: Check $file during the test, not in constructor
Bartosz Dziewoński [Tue, 22 Jul 2014 14:34:12 +0000 (16:34 +0200)]
LessFileCompilationTest: Check $file during the test, not in constructor

This will result in a neat little test failure instead of an
unreadable thirty-line traceback when the test fails.

Change-Id: Ie0b564a95586d72eb730ab8a70a6175eb3ae743d

9 years agoMerge "Add tests for NULL to ActionTest"
jenkins-bot [Tue, 22 Jul 2014 14:26:47 +0000 (14:26 +0000)]
Merge "Add tests for NULL to ActionTest"