lhc/web/wiklou.git
10 years agoAdding Wikivoyage to the default interwiki map
kaldari [Fri, 21 Mar 2014 00:04:26 +0000 (17:04 -0700)]
Adding Wikivoyage to the default interwiki map

Note that this has already been added to the WMF interwiki map, so
it will have no effect on WMF wikis, only 3rd party wikis.

I'll update the link protocols in a follow-up commit.

Change-Id: I78fbd3ec32c02e2b080c3ee64c6bb36218930a84

10 years agoshared.css: Canonicalize and simplify background image rules
Bartosz Dziewoński [Wed, 19 Mar 2014 11:34:27 +0000 (12:34 +0100)]
shared.css: Canonicalize and simplify background image rules

* Use the same form as in the LESS mixin:
  * Don't embed the PNG version
  * Do embed the SVG version
  * Use the -webkit- form too
* Add a descriptive comment
* Don't use quotes inside url() syntax

Change-Id: I044a04a321f0dbba7687c2ce1681028ed5cf0ea4

10 years agoMake use of strong consistency with Ceph RGW
Aaron Schulz [Tue, 18 Mar 2014 06:47:53 +0000 (23:47 -0700)]
Make use of strong consistency with Ceph RGW

Change-Id: Ic3b764363e91c3279d3dc017ddce630dae26bec5

10 years agoMerge "Fix path after file got moved"
jenkins-bot [Wed, 19 Mar 2014 13:52:06 +0000 (13:52 +0000)]
Merge "Fix path after file got moved"

10 years agoFix path after file got moved
jeroendedauw [Wed, 19 Mar 2014 13:44:29 +0000 (14:44 +0100)]
Fix path after file got moved

Change-Id: I947b9f6c9b42a2d0e0061f92c5bedf6d2ecfba4d

10 years agoMerge "Link to existing login help page by default from helplogin-url"
jenkins-bot [Wed, 19 Mar 2014 10:48:19 +0000 (10:48 +0000)]
Merge "Link to existing login help page by default from helplogin-url"

10 years agoUnify coding style of jQuery( '<element>' ) calls
Thiemo Mättig [Wed, 19 Mar 2014 10:20:36 +0000 (11:20 +0100)]
Unify coding style of jQuery( '<element>' ) calls

According to jQuery and our MediaWiki style guide all kinds of
$( '<element>' )
$( '<element/>' )
$( '<element />' )
$( '<element></element>' )
are identical. So yes, all this patch does is removing characters
that are ignored anyway. Using the same style everywhere makes the
code easier to read and understand and may save a few bytes when it
is gzipped.

The current core/resources/ folder contains 148 jQuery calls of
that kind. Only this file (plus some jQuery plugins I don't want to
touch) do not use the most simple <element> style.

Plus:
* Added some line breaks.
* Fixed broken inline documentation.

Change-Id: I080716f21f2ab95164a9ca241a4ce4fc351e0b55

10 years agoMerge "Allow login with passwords not meeting complexity requirements"
jenkins-bot [Wed, 19 Mar 2014 02:11:39 +0000 (02:11 +0000)]
Merge "Allow login with passwords not meeting complexity requirements"

10 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Tue, 18 Mar 2014 23:21:44 +0000 (23:21 +0000)]
Merge "Sync up with Parsoid parserTests."

10 years agoAvoid header notice log spam from RunJobs API
Aaron Schulz [Wed, 12 Mar 2014 19:19:27 +0000 (12:19 -0700)]
Avoid header notice log spam from RunJobs API

* Moved ApiRunJobs to a special page instead of going through
  ApiMain and having to fight the logic there. As a separate
  internal API, this does not show up on the API help page and
  is no longer effected by $wgEnableAPI.

bug: 62233
Change-Id: I1db6f526d02e130a66ee03289858a734d89e6c00

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Tue, 18 Mar 2014 21:58:45 +0000 (17:58 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 52b4e410acae520c1ecaed76efe062945b123187

Change-Id: I36ad89667817a94720fc0674cb39a5802d2c026c

10 years agoMerge "Added a __sleep() method to ParserOutput to exclude cruft"
jenkins-bot [Tue, 18 Mar 2014 21:07:39 +0000 (21:07 +0000)]
Merge "Added a __sleep() method to ParserOutput to exclude cruft"

10 years agoAllow login with passwords not meeting complexity requirements
csteipp [Sat, 8 Mar 2014 01:14:24 +0000 (17:14 -0800)]
Allow login with passwords not meeting complexity requirements

As part of https://www.mediawiki.org/wiki/Requests_for_comment/Passwords

This patch:
* Allows users to login with a password that does not meet the
  requirements of User::isValidPassword(), including the minimum password
  length.
* Adds a configuration flag that specifies if users should be sent to
  the change password form when they login with a password that doesn't
  meet the requirements of User::isValidPassword().

To test the UX as it will be on WMF wikis, set
$wgMinimalPasswordLength=6 in your LocalSettings.php.

Change-Id: Ib7b72005fea1c69073c0a33a68c0a0df0d6528d2

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 18 Mar 2014 20:38:58 +0000 (20:38 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Id6221ab7d0d906278a9163513ca63b74c9d41645

10 years agoAdded a __sleep() method to ParserOutput to exclude cruft
Aaron Schulz [Tue, 18 Mar 2014 20:20:09 +0000 (13:20 -0700)]
Added a __sleep() method to ParserOutput to exclude cruft

Change-Id: I1a3c45288bf8b29c27277a3e70362ddc36713538

10 years agoMerge "Call ignore_user_abort() right before committing to the DB"
jenkins-bot [Tue, 18 Mar 2014 19:51:54 +0000 (19:51 +0000)]
Merge "Call ignore_user_abort() right before committing to the DB"

10 years agoMerge "Fix Status::getMessage accidentially returning string instead of Message"
jenkins-bot [Tue, 18 Mar 2014 19:16:37 +0000 (19:16 +0000)]
Merge "Fix Status::getMessage accidentially returning string instead of Message"

10 years agoParser tests: Make Foobar.svg consistent.
C. Scott Ananian [Tue, 18 Mar 2014 17:00:11 +0000 (13:00 -0400)]
Parser tests: Make Foobar.svg consistent.

The parserTest.inc file created metadata saying that Foobar.svg was
240x180px, but created an empty SVG file; the DEFAULT_WIDTH and
DEFAULT_HEIGHT in includes/media/SVGMetadataExtractor.php would have
caused this to be treated as a 512x512px image.

In NewParserTest.php, a 200x200px image was created for Foobar.svg.

That caused inconsistent and confusing results for SVG-related parser
tests, depending on which of the testing frameworks you used.

Fixed both of these to use a consistent 240x180px image, since
non-square images are better for checking correct scaling.
(Parsoid has always used a 240x180px size for Foobar.svg).
The non-square image has caused three parser test results to
slightly change.

Change-Id: Ib60a7412d9be808a0995e94d3aa373f2c5ca9bad

10 years agoMerge "Moved ProcessCacheLRU to /libs"
jenkins-bot [Tue, 18 Mar 2014 17:22:34 +0000 (17:22 +0000)]
Merge "Moved ProcessCacheLRU to /libs"

10 years agoMerge "Put SiteList navigation ids into cache"
jenkins-bot [Tue, 18 Mar 2014 15:51:25 +0000 (15:51 +0000)]
Merge "Put SiteList navigation ids into cache"

10 years agoMerge "Moved $wgQueryPages stuff out of the global scope and into a function"
jenkins-bot [Tue, 18 Mar 2014 15:42:47 +0000 (15:42 +0000)]
Merge "Moved $wgQueryPages stuff out of the global scope and into a function"

10 years agoMoved $wgQueryPages stuff out of the global scope and into a function
Chad Horohoe [Tue, 4 Feb 2014 19:50:11 +0000 (11:50 -0800)]
Moved $wgQueryPages stuff out of the global scope and into a function

Change-Id: Ica034bdad89133bfce0b4238d62ed00865936644

10 years agoInprove the exception message in JobSpecification::validateParams
Marius Hoch [Tue, 18 Mar 2014 15:34:31 +0000 (16:34 +0100)]
Inprove the exception message in JobSpecification::validateParams

Change-Id: Ifcaa5e89e6b5dd4d89ca26203400082bff6fd85a

10 years agoPut SiteList navigation ids into cache
aude [Mon, 17 Mar 2014 21:48:27 +0000 (22:48 +0100)]
Put SiteList navigation ids into cache

These are ids used by extension(s) such as Wikibase
to add language links in the sidebar.

Bug: 62754
Change-Id: Ie21fc3ea500bd7de3c01a9d8ec05373f016f339a

10 years agoAdd user friendlier display text to links
Siebrand Mazeland [Tue, 18 Mar 2014 13:26:57 +0000 (14:26 +0100)]
Add user friendlier display text to links

Follow-up to 782afa6ef01940.

Change-Id: Ib6236fc453e8fbc68ae2f3dab2ddba4727a6051c

10 years agoMerge "Method to identify if a ChangesList is watchlist or normal"
jenkins-bot [Tue, 18 Mar 2014 13:08:59 +0000 (13:08 +0000)]
Merge "Method to identify if a ChangesList is watchlist or normal"

10 years agoMerge "Send the full title to the 'nogomatch' debug log group"
jenkins-bot [Tue, 18 Mar 2014 11:40:21 +0000 (11:40 +0000)]
Merge "Send the full title to the 'nogomatch' debug log group"

10 years agoMerge "Don't use isset() to check whether an existing variable is null"
jenkins-bot [Tue, 18 Mar 2014 11:39:20 +0000 (11:39 +0000)]
Merge "Don't use isset() to check whether an existing variable is null"

10 years agoMerge "Only put returnto parameter if needed on the from-http redirect in Special...
jenkins-bot [Tue, 18 Mar 2014 11:25:50 +0000 (11:25 +0000)]
Merge "Only put returnto parameter if needed on the from-http redirect in Special:Userlogin"

10 years agoFix profiling error in LocalisationCache::readJSONFile()
Alexandre Emsenhuber [Tue, 18 Mar 2014 08:41:45 +0000 (09:41 +0100)]
Fix profiling error in LocalisationCache::readJSONFile()

Follow-up I8d137e15e1 (6380e81).

Also added more blank lines for better readability.

Change-Id: Iae7921b017f81d5512e71384d7999502154c034c

10 years agoMerge "Change date and decimal separators for Uzbek (uz)"
jenkins-bot [Tue, 18 Mar 2014 07:48:28 +0000 (07:48 +0000)]
Merge "Change date and decimal separators for Uzbek (uz)"

10 years agoChange date and decimal separators for Uzbek (uz)
madurangasiriwardena [Thu, 13 Mar 2014 18:12:38 +0000 (23:42 +0530)]
Change date and decimal separators for Uzbek (uz)

Change the date format dd mm to dd-mm and adding space instead
of commas for 3-digit grouping, decimal comma instead of
decimal point.

Bug: 46453
Change-Id: I1318b18f10a1b048c3574013a52775d5309f8abc

10 years agoLink to existing login help page by default from helplogin-url
Federico Leva [Sat, 7 Sep 2013 07:38:06 +0000 (09:38 +0200)]
Link to existing login help page by default from helplogin-url

Detailed rationale discussed on bugzilla, bug 53888 and parent,
where consensus on the design was gained.

Using https link per Brion et al. in comments and bug 54835,
with new keys for the messages in order to avoid any conflict
with existing messages. (The translations of the removed messages
will be automatically removed by localisation updates.)

https://www.mediawiki.org/wiki/Help:Logging_in was improved by Lloffiwr
and now also marked for translation. The link is ready for future
translations thanks to the use of the standard Special:MyLanguage, hence
the message is made ignored to allow customisations only locally.

Bug: 53888
Change-Id: I8cefafbcd3bd1d6a03cec7cf1d0efdf607fec21d

10 years agoMerge "Refactor password validity checking"
jenkins-bot [Mon, 17 Mar 2014 23:38:01 +0000 (23:38 +0000)]
Merge "Refactor password validity checking"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 17 Mar 2014 21:11:15 +0000 (21:11 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I91e14444039b2b1345602a8c3291794ab3beafd1

10 years agoFix Status::getMessage accidentially returning string instead of Message
Thiemo Mättig [Thu, 6 Mar 2014 20:16:27 +0000 (21:16 +0100)]
Fix Status::getMessage accidentially returning string instead of Message

This mistake was introduced in commit
92e284d3fa62f45e20fed34c4359c575481d583c and the reason for the two
disabled tests. I did not enabled the second test because of an
unrelated problem. The first enabled test already covers the fix.

The method should return Message objects only but did return a
string in that special case (multiple warnings set but no context
message key).

Unfortunatelly Status::getMessage does have many, many more
problems but I understand it's not a good idea to address them all
in a single confusing patch.

Change-Id: I0dc37e248f407019d5921aaaca3eabba338b0fd3

10 years agoMerge "Cleanup a bunch of tests and add todos"
jenkins-bot [Mon, 17 Mar 2014 09:34:02 +0000 (09:34 +0000)]
Merge "Cleanup a bunch of tests and add todos"

10 years agoMoved ProcessCacheLRU to /libs
Aaron Schulz [Sun, 16 Mar 2014 19:28:18 +0000 (12:28 -0700)]
Moved ProcessCacheLRU to /libs

Change-Id: I7052d04d9847f0310c1e62bd66365c813fddeab5

10 years agoMerge "mediawiki.api: Use Promise.then instead of manual Deferred wrap"
jenkins-bot [Sun, 16 Mar 2014 21:51:01 +0000 (21:51 +0000)]
Merge "mediawiki.api: Use Promise.then instead of manual Deferred wrap"

10 years agomediawiki.api: Use Promise.then instead of manual Deferred wrap
Timo Tijhof [Wed, 5 Mar 2014 13:25:29 +0000 (14:25 +0100)]
mediawiki.api: Use Promise.then instead of manual Deferred wrap

This is exactly what Promise.then is built for.

As a nice bonus, this way the fail/reject handler is transferred
automatically, and we don't need to call resolve() manually
since the return value from then(Function done) is the resolved
value (or another promise).

Minor clean up:

* category: Fix type documentation (primitive string instead of String object).
* category: Use simple boolean check to assert value is no longer false.
* Use String() cast instead of explicitly calling .toString.
* parse: Fix bug where in theory the deferred would never be resolved if
   the condition evaluated to false.
* watch: Add missing @static.
* watch: Simplify params/$.extend logic.

Change-Id: Iedbc70b2573c4f6b0d9e133c6f31e8f0b19c6f5e

10 years agoMerge "New 'profileerror' log group for profiling errors"
jenkins-bot [Sun, 16 Mar 2014 21:03:19 +0000 (21:03 +0000)]
Merge "New 'profileerror' log group for profiling errors"

10 years agoMerge "Move variable definitions near to where they are used"
jenkins-bot [Sun, 16 Mar 2014 17:54:39 +0000 (17:54 +0000)]
Merge "Move variable definitions near to where they are used"

10 years agoMerge "Renamed /job to /jobqueue"
jenkins-bot [Sun, 16 Mar 2014 11:41:29 +0000 (11:41 +0000)]
Merge "Renamed /job to /jobqueue"

10 years agoOnly put returnto parameter if needed on the from-http redirect in Special:Userlogin
Alexandre Emsenhuber [Fri, 22 Nov 2013 19:36:17 +0000 (20:36 +0100)]
Only put returnto parameter if needed on the from-http redirect in Special:Userlogin

The default value of the $mReturnTo and $mReturnToQuery member variables is '',
even if they were not passed. This means that they would always be present
in the redirected URL when accessing Special:Userlogin from HTTP and HTTPS
is available.

Now the special case '' is changed to null so that they don't appear anymore
if not needed.

Change-Id: I49a085feaa49d4b2954ff280db241234d2d46258

10 years agoRename some local vars to start with a lowercase letter
umherirrender [Sat, 15 Mar 2014 11:32:44 +0000 (12:32 +0100)]
Rename some local vars to start with a lowercase letter

Change-Id: I6e5975ed7351c1439eda19afaba5120c6afa50f1

10 years agoFix spacing between two functions
umherirrender [Sat, 15 Mar 2014 19:57:00 +0000 (20:57 +0100)]
Fix spacing between two functions

Added and removed some new lines to have one new line between two
functions

Change-Id: I1ccfbd575dd26b160396ef3d3e2e079f5cdbe196

10 years agoFix formatting of some php docs
umherirrender [Sat, 15 Mar 2014 20:13:54 +0000 (21:13 +0100)]
Fix formatting of some php docs

php docs of functions should have newline in it and not in one line.

Change-Id: If4a29aefb46a7f73d75593814e597fdb792d5470

10 years agoNew 'profileerror' log group for profiling errors
Alexandre Emsenhuber [Sat, 15 Mar 2014 20:43:39 +0000 (21:43 +0100)]
New 'profileerror' log group for profiling errors

Easier to catch them than if they are in the default debug log.

Added Profiler::debugGroup() as wrapper to wfDebugLog(), as
there already is Profiler::debug() for wfDebug(), so that
there won't be a fatal error if the error happens before the
inclusion of GlobalFunctions.php and converted other calls
to wfDebugLog() to use it.

Change-Id: Ie8481a2e13a94efa0248dd5a36b6b1a22811817e

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 15 Mar 2014 20:07:15 +0000 (20:07 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c

10 years agoMerge "Reapplying r45820 to support the NewSignupPage extension."
jenkins-bot [Sat, 15 Mar 2014 18:48:34 +0000 (18:48 +0000)]
Merge "Reapplying r45820 to support the NewSignupPage extension."

10 years agoMerge "Use "elseif" instead of "else if" in PHP"
jenkins-bot [Sat, 15 Mar 2014 13:42:31 +0000 (13:42 +0000)]
Merge "Use "elseif" instead of "else if" in PHP"

10 years agoMerge "Put the "else" (or "elseif") on the same line as the previous closing brace"
jenkins-bot [Sat, 15 Mar 2014 13:42:15 +0000 (13:42 +0000)]
Merge "Put the "else" (or "elseif") on the same line as the previous closing brace"

10 years agoMove variable definitions near to where they are used
Alexandre Emsenhuber [Sat, 15 Mar 2014 13:34:52 +0000 (14:34 +0100)]
Move variable definitions near to where they are used

In LoadBalancer::reuseConnection(), if the condition
"$serverIndex === null || $refCount === null" is met,
then those variables will not be used. So only define
them when they will readlly be used.

Change-Id: Ifbd4131f40d3babe733b8723d0d29d39890bb309

10 years agoMention possibility of $revision being null in PageContentSaveComplete
Alex Monk [Fri, 7 Mar 2014 23:54:49 +0000 (23:54 +0000)]
Mention possibility of $revision being null in PageContentSaveComplete

Lead to a fatal in WMF production, see I40c1412d

Change-Id: I39e05210e77f3dc0a1fcd995201a9c1ec9bc99f3

10 years agoFix variable name of param doc in RCCacheEntryFactory
umherirrender [Sat, 15 Mar 2014 11:24:03 +0000 (12:24 +0100)]
Fix variable name of param doc in RCCacheEntryFactory

Change-Id: I8039ab9ea117ba351061da71a92409e320d8eb84

10 years agoFixed typo: available
Kartik Mistry [Sat, 15 Mar 2014 12:59:40 +0000 (18:29 +0530)]
Fixed typo: available

Change-Id: If4e28cf04699084ed325835d5ebe1c5900002040

10 years agoUse "elseif" instead of "else if" in PHP
Alexandre Emsenhuber [Sat, 15 Mar 2014 12:59:15 +0000 (13:59 +0100)]
Use "elseif" instead of "else if" in PHP

Per https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#C_borrowings

Change-Id: I5e3a301c2f3c5ec6b965500c43d16022b8b82e59

10 years agoPut the "else" (or "elseif") on the same line as the previous closing brace
Alexandre Emsenhuber [Fri, 14 Mar 2014 21:09:47 +0000 (22:09 +0100)]
Put the "else" (or "elseif") on the same line as the previous closing brace

Per https://www.mediawiki.org/wiki/Manual:Coding_conventions#Indenting_and_alignment

Change-Id: I208981db0a866524156bad18cb687f010afeac2c

10 years agoUse Tab instead of Space as per PHP codesniffer
Kartik Mistry [Sat, 15 Mar 2014 08:59:41 +0000 (14:29 +0530)]
Use Tab instead of Space as per PHP codesniffer

Change-Id: Iea84018c3dee45d5f062b41b1337af40e3de2fcf

10 years agoRefactor password validity checking
csteipp [Wed, 12 Mar 2014 01:47:29 +0000 (18:47 -0700)]
Refactor password validity checking

Refactor the password checks to return a status object, so the function
can handle the entire error message, or return multiple error messages.

This patchset aims to keep the functionality identical. A followup
patchset can further improve the functionality. E.g., although
getPasswordValidity stated it could return an array of messages, it
never did so except from the hook, so most callers expect and handle a
single string.

Change-Id: I87644486f5572dc067ebdbacd01fb39c67e5612a

10 years agoMerge "Split revdelete-text on Special:RevisionDelete for each type"
jenkins-bot [Fri, 14 Mar 2014 23:02:34 +0000 (23:02 +0000)]
Merge "Split revdelete-text on Special:RevisionDelete for each type"

10 years agoMerge "Execute LocalFilePurgeThumbnails hook before purging thumbnails"
jenkins-bot [Fri, 14 Mar 2014 22:48:22 +0000 (22:48 +0000)]
Merge "Execute LocalFilePurgeThumbnails hook before purging thumbnails"

10 years agoMerge "Make MySQLi work with non-standard port"
jenkins-bot [Fri, 14 Mar 2014 22:43:25 +0000 (22:43 +0000)]
Merge "Make MySQLi work with non-standard port"

10 years agoMerge "Correct the destination of checkLastModified debug messages"
jenkins-bot [Fri, 14 Mar 2014 22:38:21 +0000 (22:38 +0000)]
Merge "Correct the destination of checkLastModified debug messages"

10 years agoCorrect the destination of checkLastModified debug messages
Alexandre Emsenhuber [Thu, 6 Feb 2014 19:19:09 +0000 (20:19 +0100)]
Correct the destination of checkLastModified debug messages

- OutputPage: if $wgCachePages is set to false, then it can be shown
  back to the user
- AjaxResponder: don't send back to the user (for consistency with the
  other calls to wfDebug(), and this can't be displayed to the user)

Change-Id: I17794016cfaef65ee3df3b82ceb8cb3a32ac7c67

10 years agoMerge "Use preloadFileStat() to speed up syncFileBackend"
jenkins-bot [Fri, 14 Mar 2014 22:25:12 +0000 (22:25 +0000)]
Merge "Use preloadFileStat() to speed up syncFileBackend"

10 years agoMerge "Add two new debug log groups"
jenkins-bot [Fri, 14 Mar 2014 22:18:27 +0000 (22:18 +0000)]
Merge "Add two new debug log groups"

10 years agoRenamed /job to /jobqueue
Aaron Schulz [Fri, 14 Mar 2014 20:42:04 +0000 (13:42 -0700)]
Renamed /job to /jobqueue

Change-Id: I4c8a2b42140630838867c77a70d45ba14b5d95e2

10 years agoUse preloadFileStat() to speed up syncFileBackend
Aaron Schulz [Fri, 14 Mar 2014 20:20:48 +0000 (13:20 -0700)]
Use preloadFileStat() to speed up syncFileBackend

Change-Id: Idd8e67090d7d5e7b6952fb46012981309475b902

10 years agoRemove assignment in conditon in phpunit.php
addshore [Fri, 14 Mar 2014 18:13:06 +0000 (19:13 +0100)]
Remove assignment in conditon in phpunit.php

Change-Id: I817af3cf5344d9ffe2a66048f6d32835712ba11c

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Fri, 14 Mar 2014 17:41:04 +0000 (13:41 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit d6ebbd78101c6191e213e46838582d00f37c3bbb

Change-Id: I4fd04ac2bf4cd7a4fc195ad615e9940f4ddb29a5

10 years agoRemove phpunit compatability function calls
addshore [Fri, 14 Mar 2014 13:43:09 +0000 (14:43 +0100)]
Remove phpunit compatability function calls

phpunit.php now requires we run tests with
3.7.0+ so we no longer need these safety
calls

Change-Id: I15d215630fe4d8ab71fc97883dde2eed13d03678

10 years agoMerge "Prevent "Log in" being used in two different contexts"
jenkins-bot [Fri, 14 Mar 2014 10:11:48 +0000 (10:11 +0000)]
Merge "Prevent "Log in" being used in two different contexts"

10 years agoEmit $wgSearchType as JavaScript config variable
Ori Livneh [Fri, 14 Mar 2014 02:06:07 +0000 (19:06 -0700)]
Emit $wgSearchType as JavaScript config variable

Allows for the search interface to be customzied for the particular
search-engine used, and allows collecting client-side performance measurements
that specify which search engine was used.

Change-Id: Ibeda834e9d5dbaf1d7e40c2dacbc60feb2cc4bba

10 years agoMerge "Fix minor typo in parser tests error message."
jenkins-bot [Fri, 14 Mar 2014 01:10:09 +0000 (01:10 +0000)]
Merge "Fix minor typo in parser tests error message."

10 years agoUpdate OOjs UI to v0.1.0-pre (ac0cc69508)
James D. Forrester [Fri, 14 Mar 2014 00:11:17 +0000 (17:11 -0700)]
Update OOjs UI to v0.1.0-pre (ac0cc69508)

New changes:
5c41645 Localisation updates from https://translatewiki.net.
c4651d5 readme: Use <br/> instead of <br> to satisfy gitblit's Markdown parser
5345806 Make it possible to configure LabeledElement to not use autoEllipsis
ac0cc69 Use boolean instead of bool in LabeledElement docs

Change-Id: I0e8bf836035402bc893c4dc58cb9d5441b7bd330

10 years agoMerge "Update OOjs UI to v0.1.0-pre (46ccd5b3a7)"
jenkins-bot [Thu, 13 Mar 2014 23:20:34 +0000 (23:20 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (46ccd5b3a7)"

10 years agoMerge "Add prebodyhtml template variable"
jenkins-bot [Thu, 13 Mar 2014 22:59:54 +0000 (22:59 +0000)]
Merge "Add prebodyhtml template variable"

10 years agoAdd prebodyhtml template variable
jrobson [Sat, 8 Mar 2014 01:14:01 +0000 (17:14 -0800)]
Add prebodyhtml template variable

Allows the VectorBeta BetaFeature to add HTML underneath the heading

Change-Id: I6d9326d9e84a92b01dee2a29028208ef3f875767

10 years agoMerge "Changing URLs of mediawiki.org in scripts to the SSL-based website"
jenkins-bot [Thu, 13 Mar 2014 22:41:32 +0000 (22:41 +0000)]
Merge "Changing URLs of mediawiki.org in scripts to the SSL-based website"

10 years agoChanging URLs of mediawiki.org in scripts to the SSL-based website
Ladsgroup [Thu, 13 Mar 2014 22:23:56 +0000 (22:23 +0000)]
Changing URLs of mediawiki.org in scripts to the SSL-based website

http://www.mediawiki.org --> https://www.mediawiki.org

Part 3

Change-Id: Ica633881b1744fa2854f4b012b79dbf5a7e5e7e2

10 years agoMerge "Adjust default interwiki result text"
jenkins-bot [Thu, 13 Mar 2014 22:25:01 +0000 (22:25 +0000)]
Merge "Adjust default interwiki result text"

10 years agoFix minor typo in parser tests error message.
C. Scott Ananian [Thu, 13 Mar 2014 21:36:07 +0000 (17:36 -0400)]
Fix minor typo in parser tests error message.

This was introduced in Ie4e68960ca7c352af495ebb59ba83488935a44c4.

Change-Id: I45352dd3dfd26acdcda147d8aa07be6f0d60698f

10 years agoMerge "Allow more-descriptive section names for parserTests"
jenkins-bot [Thu, 13 Mar 2014 21:04:10 +0000 (21:04 +0000)]
Merge "Allow more-descriptive section names for parserTests"

10 years agoMerge "Vector: Make animation LESS component"
jenkins-bot [Thu, 13 Mar 2014 20:05:00 +0000 (20:05 +0000)]
Merge "Vector: Make animation LESS component"

10 years agoMerge "Adjust magic bolding in api help to only match lines inside *"
jenkins-bot [Thu, 13 Mar 2014 19:00:54 +0000 (19:00 +0000)]
Merge "Adjust magic bolding in api help to only match lines inside *"

10 years agoAdjust default interwiki result text
Chad Horohoe [Thu, 13 Mar 2014 18:13:00 +0000 (11:13 -0700)]
Adjust default interwiki result text

'Results from $1' sounds nicer than '$1 results' for sites that
haven't set the custom text.

Change-Id: I810c8e0503dde238ea8813b7cecb1a1dec927d3e

10 years agoMerge "Title and redirect snippets don't have a parameter anymore"
jenkins-bot [Thu, 13 Mar 2014 18:00:19 +0000 (18:00 +0000)]
Merge "Title and redirect snippets don't have a parameter anymore"

10 years agoAdjust magic bolding in api help to only match lines inside *
umherirrender [Thu, 13 Mar 2014 17:55:40 +0000 (18:55 +0100)]
Adjust magic bolding in api help to only match lines inside *

list=logevents&leaction has param values with *, which gets bold, when
there was two of them in the same line.

Bug: 61834
Change-Id: Idace9afd4f3a2dce9be539b209a02fa318df8f45

10 years agoMethod to identify if a ChangesList is watchlist or normal
Erik Bernhardson [Fri, 7 Mar 2014 20:32:27 +0000 (12:32 -0800)]
Method to identify if a ChangesList is watchlist or normal

There are differences, like grouping, between watchlist and
normal rendering that hook recipients need to know about.
This exposes if the setWatchlistDivs method has been called
which currently happens immediatly after instantiation in
SpecialWatchlist

Change-Id: Ibc06c6d9b878cad3f5da92cfbe3f650ad3f63efa

10 years agoTitle and redirect snippets don't have a parameter anymore
Chad Horohoe [Thu, 13 Mar 2014 16:54:08 +0000 (09:54 -0700)]
Title and redirect snippets don't have a parameter anymore

Change-Id: I5aae8caf14a5dd569042069fe64bc30736734cd8

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 13 Mar 2014 15:29:06 +0000 (15:29 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I603eeeed9980a1190075cb54092edefdaf3c2ed5

10 years agoRemove request_with_session/request_without_session from showCacheStats.php
Alexandre Emsenhuber [Thu, 13 Mar 2014 09:34:41 +0000 (10:34 +0100)]
Remove request_with_session/request_without_session from showCacheStats.php

Fix for I0ed1e87574 (42fcd43).

Since request_with_session/request_without_session were removed in the
mentionned commit, the maintenance/showCacheStats.php refuses to show
the other statistics.

Change-Id: I955cc537f8bc9116f759af5a5c3005aa7d60c83b

10 years agoExecute LocalFilePurgeThumbnails hook before purging thumbnails
Prod [Thu, 13 Mar 2014 02:05:51 +0000 (22:05 -0400)]
Execute LocalFilePurgeThumbnails hook before purging thumbnails

bug: 62273
Change-Id: I08ae902debb36039d2c0be829eec07a109e70a24

10 years agoRemove $wgTitle from all maintenance scripts
Chad Horohoe [Thu, 13 Mar 2014 01:27:58 +0000 (18:27 -0700)]
Remove $wgTitle from all maintenance scripts

Shouldn't be needed and aren't for any core operations. If any
extension relies on these $wgTitles being set in maintenance
environments those extensions are broken and should be fixed.

Change-Id: Ie02a5042ab96e155d783d56d5340dd0da8e3d55c

10 years agoUpdate OOjs UI to v0.1.0-pre (46ccd5b3a7)
James D. Forrester [Thu, 13 Mar 2014 00:44:23 +0000 (17:44 -0700)]
Update OOjs UI to v0.1.0-pre (46ccd5b3a7)

New changes:
9247e3a Localisation updates from https://translatewiki.net.
0a078dc Localisation updates from https://translatewiki.net.
3027b13 readme: Fix broken Markdown list syntax
d7ab327 Update oojs to v1.0.8
4dd7320 Drop file "OO.ui" file prefix
7c607c2 Localisation updates from https://translatewiki.net.
46ccd5b Make dialogs a little taller

Change-Id: I51caa22711fd10ff464b895e90a69292cbf003f8

10 years agoChanging URLs of mediawiki.org in scripts to the SSL-based website
Ladsgroup [Wed, 12 Mar 2014 22:30:35 +0000 (22:30 +0000)]
Changing URLs of mediawiki.org in scripts to the SSL-based website

http://www.mediawiki.org --> https://www.mediawiki.org

Part 2

Change-Id: I3be61fe3dfb502cc20180486eb1a8016eac151df

10 years agoMerge "Add --regenerate-all option"
jenkins-bot [Wed, 12 Mar 2014 21:59:43 +0000 (21:59 +0000)]
Merge "Add --regenerate-all option"

10 years agoMerge "Set a title for the context during import on the cli"
jenkins-bot [Wed, 12 Mar 2014 21:39:57 +0000 (21:39 +0000)]
Merge "Set a title for the context during import on the cli"

10 years agoCall ignore_user_abort() right before committing to the DB
Aaron Schulz [Wed, 12 Mar 2014 21:05:33 +0000 (14:05 -0700)]
Call ignore_user_abort() right before committing to the DB

Change-Id: I48b9e90418c38c7c9970cf0739a877b5be3a2b64