lhc/web/wiklou.git
10 years agoMerge "Deprecate $wgPasswordSenderName"
jenkins-bot [Thu, 2 Jan 2014 18:14:16 +0000 (18:14 +0000)]
Merge "Deprecate $wgPasswordSenderName"

10 years agoMerge "Return void for LogPager::limitPerformer and limitTitle"
jenkins-bot [Thu, 2 Jan 2014 17:55:23 +0000 (17:55 +0000)]
Merge "Return void for LogPager::limitPerformer and limitTitle"

10 years agoMerge "Update documentation for SpecialPage and SpecialPageFactory"
jenkins-bot [Thu, 2 Jan 2014 17:53:39 +0000 (17:53 +0000)]
Merge "Update documentation for SpecialPage and SpecialPageFactory"

10 years agoMerge "Add JobQueueDB::selectFields and use it"
jenkins-bot [Thu, 2 Jan 2014 17:48:51 +0000 (17:48 +0000)]
Merge "Add JobQueueDB::selectFields and use it"

10 years agoMerge "Declare visibility for class properties of LBFactory and LBFactorySimple"
jenkins-bot [Thu, 2 Jan 2014 17:37:44 +0000 (17:37 +0000)]
Merge "Declare visibility for class properties of LBFactory and LBFactorySimple"

10 years agoMerge "No variable assignment on return statement"
jenkins-bot [Thu, 2 Jan 2014 17:33:42 +0000 (17:33 +0000)]
Merge "No variable assignment on return statement"

10 years agoMerge "jquery.client: Component-wise version comparison in #test with strings"
jenkins-bot [Thu, 2 Jan 2014 16:37:39 +0000 (16:37 +0000)]
Merge "jquery.client: Component-wise version comparison in #test with strings"

10 years agovoid methods don't return anything. Especially when they always throw an exception
Reedy [Thu, 2 Jan 2014 16:21:59 +0000 (16:21 +0000)]
void methods don't return anything. Especially when they always throw an exception

Change-Id: I6c959b44b64fdc38e248e0000a6594c12a10b6b4

10 years agoUpdate documentation for SpecialPage and SpecialPageFactory
Siebrand Mazeland [Sun, 29 Dec 2013 19:20:15 +0000 (20:20 +0100)]
Update documentation for SpecialPage and SpecialPageFactory

Change-Id: Id601b24bb664a5f15951f72cca34182b72b42d87

10 years agoAdd JobQueueDB::selectFields and use it
umherirrender [Thu, 2 Jan 2014 10:44:23 +0000 (11:44 +0100)]
Add JobQueueDB::selectFields and use it

It is good practice to name the selected fields

Change-Id: Ic12fbdbac6e8f48abbd9f5053a69f9553492cead

10 years agoThrow exception for unknown field in SpecialListfiles::formatValue()
Siebrand Mazeland [Fri, 27 Dec 2013 17:02:40 +0000 (18:02 +0100)]
Throw exception for unknown field in SpecialListfiles::formatValue()

Change-Id: I99fedfb28aaf9b09b5d9fee27020601f3c06e8d4

10 years agoNo variable assignment on return statement
umherirrender [Wed, 1 Jan 2014 18:56:08 +0000 (19:56 +0100)]
No variable assignment on return statement

Split the variable assignment and the return statement in two lines for
better readability.

When there was two return statements in one method the logic was swapped
to have only one return statement.

Change-Id: Id7a01b4a2df96036435f9e1a9be5678dd124b0af

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 1 Jan 2014 19:50:22 +0000 (19:50 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I9b0a5f6786c86abea3e0b1ffed52291eb88447e3

10 years agoUse SpecialPage::getPageTitle() instead of SpecialPage::getTitle()
Alexandre Emsenhuber [Wed, 1 Jan 2014 15:53:40 +0000 (16:53 +0100)]
Use SpecialPage::getPageTitle() instead of SpecialPage::getTitle()

Follow-up I2a3db995c2 (869d547).

Change-Id: Ifc6824bb1c28f4c5ac8a374208b25cbd8b3bf755

10 years agoUpdate docs for Revision::getRevisionText()
Siebrand Mazeland [Thu, 19 Dec 2013 12:32:52 +0000 (13:32 +0100)]
Update docs for Revision::getRevisionText()

Change-Id: I9e4218bec9fd69a50e06ba9fcd8bdf8461163a47

10 years agoUpdate comment for wfMsgExt()
Siebrand Mazeland [Thu, 12 Dec 2013 12:37:37 +0000 (13:37 +0100)]
Update comment for wfMsgExt()

Change-Id: Ia705a5a1bcef6d2b5c94a003b44e7d15b58df249

10 years agoDeprecate $wgPasswordSenderName
theopolisme [Tue, 31 Dec 2013 06:12:09 +0000 (00:12 -0600)]
Deprecate $wgPasswordSenderName

The sender name for system mailings can now be configured
locally by modifying the system message "emailsender". The
new default sender name is simply "{{SITENAME}}". Added to
release notes.

Also modify UserMailer to strip CR/LF linebreaks from header
values to prevent mail header injection now that the sender
name can be modified.

Bug: 32770
Change-Id: Ibfd28cd181365c8c0b5f3e8ffe8f5de8c89844a3

10 years agoMerge "LogEntry: Make newFromRow work with RC object"
jenkins-bot [Wed, 1 Jan 2014 13:28:35 +0000 (13:28 +0000)]
Merge "LogEntry: Make newFromRow work with RC object"

10 years agoRefactor ProfilerSimple
Ori Livneh [Tue, 31 Dec 2013 23:33:07 +0000 (15:33 -0800)]
Refactor ProfilerSimple

This patch refactors ProfilerSimple, moving the code that creates a new
profiling entry and the code that updates an existing entry to discrete
methods. This allows subclasses to supply a different implementation. It will
allow me to introduce a profiler class that uses RunningStat (introduced in
Ifedda276d) without breaking existing APIs and without having to duplicate lots
of code.

Change-Id: Ida7d7d0c1e2a98618b51246861e6af8ec3eb6320

10 years agoMerge "changed memcached server parsing to allow for local unix domain socket connect...
jenkins-bot [Tue, 31 Dec 2013 22:41:34 +0000 (22:41 +0000)]
Merge "changed memcached server parsing to allow for local unix domain socket connections"

10 years agoMerge "Update Special:ChangePassword to use HTMLForm"
jenkins-bot [Tue, 31 Dec 2013 22:05:43 +0000 (22:05 +0000)]
Merge "Update Special:ChangePassword to use HTMLForm"

10 years agoUpdate Special:ChangePassword to use HTMLForm
Alexandre Emsenhuber [Thu, 22 Aug 2013 17:37:23 +0000 (19:37 +0200)]
Update Special:ChangePassword to use HTMLForm

Makes the code shorter and easier to read.

Change-Id: I2a3db995c2c560354376fccb48137996dd9432fd

10 years agoMerge "action=feedcontributions no longer has one item more than limit"
jenkins-bot [Tue, 31 Dec 2013 20:45:31 +0000 (20:45 +0000)]
Merge "action=feedcontributions no longer has one item more than limit"

10 years agoMerge "Add RunningStat class, tests"
jenkins-bot [Tue, 31 Dec 2013 19:59:33 +0000 (19:59 +0000)]
Merge "Add RunningStat class, tests"

10 years agoAdd RunningStat class, tests
Ori Livneh [Tue, 31 Dec 2013 06:42:34 +0000 (22:42 -0800)]
Add RunningStat class, tests

RunningStat computes the central tendency, shape, and extrema of a set of
points online, in constant space. It uses a neat one-pass algorithm for
calculating variance, described here:
  <en.wikipedia.org/wiki/Algorithms_for_calculating_variance#On-line_algorithm>

This particular implementation adapts a sample C++ implementation by John D.
Cook to PHP. See <http://www.johndcook.com/standard_deviation.html> and
  <http://www.johndcook.com/skewness_kurtosis.html>.

RunningStat instances can be combined. The resultant RunningStat has the same
state it would have had if it had been used to accumulate each point. This
property is attractive because it allows separate threads of execution to
process a stream in parallel. More importantly, individual points can be
accumulated in stages, without loss of fidelity, at intermediate points in the
aggregation process. JavaScript profiling samples can be accumulated in the
user's browser and be combined with measurements from other browsers on the
profiling data aggregator. Functions that are called multiple times in the
course of a profiled web request can be accumulated in MediaWiki prior to being
transmitted to the profiling data aggregator.

Usage will be introduced in a dependent commit.

Change-Id: Ifedda276dfe8e0783cb8c4a95626e2aedd4ad368

10 years agoMerge "Remove version check for mysql 4.1 from Maintenance scripts"
jenkins-bot [Tue, 31 Dec 2013 19:20:37 +0000 (19:20 +0000)]
Merge "Remove version check for mysql 4.1 from Maintenance scripts"

10 years agochanged memcached server parsing to allow for local unix domain socket connections
Joel Natividad [Mon, 30 Dec 2013 20:58:24 +0000 (15:58 -0500)]
changed memcached server parsing to allow for local unix domain socket connections

* This works with local memcached (e.g. unix:///var/run/memcached/memcached.sock:0 )
  and noticeably increases memcached mediawiki performance

Change-Id: Ie08c151caa09eb0a4269df88965d71c2367c398b

10 years agoaction=feedcontributions no longer has one item more than limit
umherirrender [Tue, 31 Dec 2013 16:44:43 +0000 (17:44 +0100)]
action=feedcontributions no longer has one item more than limit

The extra one is used for navigation on Special:Contributions, but that
is not needed on the rss feed.

Bug: 57874
Change-Id: Id56b0da7e921df9cbdb09e90611d226bf224804d

10 years agoLogEntry: Make newFromRow work with RC object
nullzero [Tue, 31 Dec 2013 06:42:35 +0000 (01:42 -0500)]
LogEntry: Make newFromRow work with RC object

LogEntry::newFromRow is supposed to give a RCDatabaseLogEntry
if the given row is a RC log entry. The previous code only did
this if an array was passed as the $row argument.

This adds a type cast and fixes the function so that the proper
LogEntry subclass is returned no matter what variable type is
passed to the function.

Bug: 52053
Change-Id: I6f64358837b37c54d00a7544e9e8a92c216bbe89

10 years agoMerge "Make SpecialWatchlist extend SpecialRecentChanges (temporarily)"
jenkins-bot [Tue, 31 Dec 2013 09:41:08 +0000 (09:41 +0000)]
Merge "Make SpecialWatchlist extend SpecialRecentChanges (temporarily)"

10 years agoRemove version check for mysql 4.1 from Maintenance scripts
tonythomas01 [Tue, 31 Dec 2013 07:07:57 +0000 (12:37 +0530)]
Remove version check for mysql 4.1 from Maintenance scripts

Removed version check for mysql from initEditCount.php and
storage/fixBug20757.php. Mediawiki needs MYSQL Ver 5.0.2 or
later, so the check is unnecessary.
Removed white spaces

Bug: 59126
Change-Id: I29e2ca8764fad8bf4d15bba307e80f3aacea1db7

10 years agoMerge "wfRunHooks() return value no longer implies whether variable value was found"
jenkins-bot [Tue, 31 Dec 2013 09:16:41 +0000 (09:16 +0000)]
Merge "wfRunHooks() return value no longer implies whether variable value was found"

10 years agowfRunHooks() return value no longer implies whether variable value was found
vishnu [Sat, 28 Dec 2013 14:14:50 +0000 (19:44 +0530)]
wfRunHooks() return value no longer implies whether variable value was found

Bug: 12837
Change-Id: I459923deee4fa294f78f277620f229fc2a84d266

10 years agoAdd @since tag to SpecialPage::getPageTitle
Kunal Mehta [Tue, 31 Dec 2013 07:03:23 +0000 (23:03 -0800)]
Add @since tag to SpecialPage::getPageTitle

Change-Id: I7b0706475e4c400f411f6463c4b77d65bfd23d57

10 years agoMake MagicWordArray compatible with PCRE 8.34+
Kevin Israel [Sun, 22 Dec 2013 06:24:07 +0000 (01:24 -0500)]
Make MagicWordArray compatible with PCRE 8.34+

In PCRE 8.34, a subpattern's name must not start with a digit; work around
this by replacing digits in the synonym's index with letters. Amazingly,
this part of the name seems to have the sole purpose of ensuring uniqueness;
none of the matching functions actually use it for anything.

Adding a single-letter prefix was considered, though it would risk breaking
extension code that may have used 29- or 30- character magic word IDs.
(PCRE limits subpattern names to 32 characters.) Likewise, moving the magic
word's ID to the front would not work if it were to start with a digit.

Bug: 58640
Change-Id: Ic69f9000addbf18c4747105187e6f13191828fbb

10 years agoMerge "Format functions in CacheTime"
jenkins-bot [Mon, 30 Dec 2013 23:38:46 +0000 (23:38 +0000)]
Merge "Format functions in CacheTime"

10 years agoMerge "With mysqli, avoid setting the charset twice"
jenkins-bot [Mon, 30 Dec 2013 23:22:31 +0000 (23:22 +0000)]
Merge "With mysqli, avoid setting the charset twice"

10 years agoMerge "Replace usage of deprecated Title::escapeLocalURL()"
jenkins-bot [Mon, 30 Dec 2013 23:18:05 +0000 (23:18 +0000)]
Merge "Replace usage of deprecated Title::escapeLocalURL()"

10 years agoWith mysqli, avoid setting the charset twice
Aaron Schulz [Fri, 27 Dec 2013 22:40:15 +0000 (14:40 -0800)]
With mysqli, avoid setting the charset twice

* This uses MYSQLI_SET_CHARSET_NAME to set the charset to utf8/binary
* This replaces a live WMF hack to skip the extra round trip

Change-Id: I1718e013fcdc95163d111d460f0dd6d2190a99b1

10 years agoMerge "Define $showAll when special page is included"
jenkins-bot [Mon, 30 Dec 2013 23:16:21 +0000 (23:16 +0000)]
Merge "Define $showAll when special page is included"

10 years agoMove non-API release notes out of the API section
Brad Jorsch [Mon, 30 Dec 2013 22:02:11 +0000 (17:02 -0500)]
Move non-API release notes out of the API section

The API section is for the web API, not for generic internal APIs.

Change-Id: I02561fb1c1a6dff756b87720153ab332ed67475a

10 years agoAdded $purgeBlobs flag to LocalisationCacheRecache hook
Aaron Schulz [Sat, 28 Dec 2013 08:58:41 +0000 (00:58 -0800)]
Added $purgeBlobs flag to LocalisationCacheRecache hook

* This helps replace the WMF live hack to skip calling clear()

Change-Id: I37bd6cf87e72b6d32e4c6c261abe2a0ef43d067e

10 years agoFormat functions in CacheTime
umherirrender [Mon, 30 Dec 2013 21:00:22 +0000 (22:00 +0100)]
Format functions in CacheTime

The function body should stay on it's own line

Change-Id: I1651ab2520ae278dd72a2f28718151280ddbba54

10 years agoRemoved trailing whitespace from ParserCache.php
tonythomas01 [Mon, 30 Dec 2013 20:14:32 +0000 (01:44 +0530)]
Removed trailing whitespace from ParserCache.php

Follow up from Change I705a056665.

Change-Id: I31bdede4347b1d55be113e8ba7c44f3683c2ab46

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 30 Dec 2013 19:59:53 +0000 (19:59 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I822d3da8b027b6ff507c1b9a838e679522bf3a5b

10 years agoReturn void for LogPager::limitPerformer and limitTitle
Siebrand Mazeland [Fri, 27 Dec 2013 12:57:02 +0000 (13:57 +0100)]
Return void for LogPager::limitPerformer and limitTitle

Previously, return values were inconsistent, and according to Chad,
no callers are interested in a return value.

Change-Id: Ib55e7a1c775953f8e90af4b4dedca403c33ac42d

10 years agoMerge "Removed const ParserCache::try116cache"
jenkins-bot [Mon, 30 Dec 2013 19:13:13 +0000 (19:13 +0000)]
Merge "Removed const ParserCache::try116cache"

10 years agoRemoved const ParserCache::try116cache
tonythomas01 [Mon, 30 Dec 2013 18:54:29 +0000 (00:24 +0530)]
Removed const ParserCache::try116cache

Version 1.16 is long ago and there seems no need to keep the const
ParserCache::try116cache in core.
Removed the if(self:: try116cache) block

Bug: 59127
Change-Id: I705a056665441f81516a4dbb6fe317a44da91d43

10 years agoRevert "Update type hint for CreditsAction::getAuthor()"
Reedy [Mon, 30 Dec 2013 18:11:07 +0000 (18:11 +0000)]
Revert "Update type hint for CreditsAction::getAuthor()"

This reverts commit 8a9a1eff3e117a4f0572c88285f64472213dd962.

Change-Id: I689645c812b1a28821a3d6854bc7737fc677e29e

10 years agoMerge "Fix typo - fuction -> function"
jenkins-bot [Mon, 30 Dec 2013 18:10:27 +0000 (18:10 +0000)]
Merge "Fix typo - fuction -> function"

10 years agoUpdate type hint for CreditsAction::getAuthor()
Siebrand Mazeland [Mon, 30 Dec 2013 15:41:36 +0000 (16:41 +0100)]
Update type hint for CreditsAction::getAuthor()

This function calls $page->getUserText() and $page->getTimestamp(). These
functions are not specified in the interface Page (which actually specifies
nothing at all). Page is only implemented by WikiPage and Article. Article
does not implement getUserText() and getTimestamp(). WikiPage does.
CreditsAction::getAuthor() cannot ever be given an Article, because that
would cause a fatal error "call to undefined method".

Change-Id: I0ba29622b7307845345ce645cb63b53614aaf2ab

10 years agoFix typo - fuction -> function
umherirrender [Mon, 30 Dec 2013 17:48:11 +0000 (18:48 +0100)]
Fix typo - fuction -> function

Change-Id: I5a82849af85296b324d460ed21d9a547c391d341

10 years agoMerge "API: Include variant name in meta=siteinfo"
jenkins-bot [Mon, 30 Dec 2013 17:46:49 +0000 (17:46 +0000)]
Merge "API: Include variant name in meta=siteinfo"

10 years agoMerge "Show a warning on page deletion if a page is linked to"
jenkins-bot [Mon, 30 Dec 2013 17:18:19 +0000 (17:18 +0000)]
Merge "Show a warning on page deletion if a page is linked to"

10 years agoMerge "Fixed locking in JobQueueAggregatorRedis"
jenkins-bot [Mon, 30 Dec 2013 16:46:21 +0000 (16:46 +0000)]
Merge "Fixed locking in JobQueueAggregatorRedis"

10 years agoRemove @todo that has since been done
grunny [Mon, 30 Dec 2013 13:16:52 +0000 (23:16 +1000)]
Remove @todo that has since been done

This todo note was done a few days after it was added in
commit e5aa994d2eb36e0d0b5d63290e419df3a2cdf5cd.

Change-Id: Iea1674fc28cca68f02b15d9a6513dd3e62fbc395

10 years agoRemove ProfilerSimple::getCpuTime
Ori Livneh [Sun, 29 Dec 2013 10:13:12 +0000 (02:13 -0800)]
Remove ProfilerSimple::getCpuTime

Deprecated in 1.20, in change I12d1bcb43. I couldn't find any callers.

Change-Id: Ia5a6e02ae3a4bd749c9c7ee9fb32f708b0a3b513

10 years agoShow a warning on page deletion if a page is linked to
Amir E. Aharoni [Thu, 23 May 2013 23:22:17 +0000 (02:22 +0300)]
Show a warning on page deletion if a page is linked to

Developed at Hackathon TLV 2013. Based on Ronen Gilead-Raz and Vladimir
Krapp's patch.

Bug: 35485
Change-Id: I623235736aa735232d6a727702d764538b0b65e7

10 years agoMerge "Declare visibility for class properties in DatabaseOracle.php"
jenkins-bot [Mon, 30 Dec 2013 00:01:38 +0000 (00:01 +0000)]
Merge "Declare visibility for class properties in DatabaseOracle.php"

10 years agoFixed locking in JobQueueAggregatorRedis
Aaron Schulz [Sun, 29 Dec 2013 21:44:33 +0000 (13:44 -0800)]
Fixed locking in JobQueueAggregatorRedis

* The old code would still bump the lock TTL on failure,
  so if processes kept trying to acquire it and the one
  that had it crashed, nothing would ever do anything.

Change-Id: If3fe7b75364204f399fb4caf8bd39204ab51b353

10 years agoMerge "Fixed backwards JobQueueFederated::doIsEmpty() method"
jenkins-bot [Sun, 29 Dec 2013 22:31:52 +0000 (22:31 +0000)]
Merge "Fixed backwards JobQueueFederated::doIsEmpty() method"

10 years agoFixed backwards JobQueueFederated::doIsEmpty() method
Aaron Schulz [Sun, 29 Dec 2013 22:22:22 +0000 (14:22 -0800)]
Fixed backwards JobQueueFederated::doIsEmpty() method

Change-Id: I6b7dfb76621e9b6407829de7faf86495325512c8

10 years agoFix more concatenation errors
Brad Jorsch [Sun, 29 Dec 2013 20:08:46 +0000 (15:08 -0500)]
Fix more concatenation errors

Errors were introduced in I763f79c6 and Id5fd7180.

Change-Id: Ieb5189636eb3df54290aaf998834988c81099eb3

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 29 Dec 2013 19:37:29 +0000 (19:37 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoDefine $showAll when special page is included
Siebrand Mazeland [Sun, 29 Dec 2013 19:31:15 +0000 (20:31 +0100)]
Define $showAll when special page is included

Change-Id: I9018efe345283f5577edbcc652d62e735eaaa1b2

10 years agoMerge "Update documentation for ApiQueryWatchlist::parseRCType()"
jenkins-bot [Sun, 29 Dec 2013 19:32:31 +0000 (19:32 +0000)]
Merge "Update documentation for ApiQueryWatchlist::parseRCType()"

10 years agoMerge "Declare visibility for class properties in DatabaseMssql"
jenkins-bot [Sun, 29 Dec 2013 19:30:35 +0000 (19:30 +0000)]
Merge "Declare visibility for class properties in DatabaseMssql"

10 years agoMerge "Declare visibility for class properties in DatabaseUtility.php"
jenkins-bot [Sun, 29 Dec 2013 19:28:48 +0000 (19:28 +0000)]
Merge "Declare visibility for class properties in DatabaseUtility.php"

10 years agoMerge "Update documentation for QueryPage::execute()"
jenkins-bot [Sun, 29 Dec 2013 19:25:19 +0000 (19:25 +0000)]
Merge "Update documentation for QueryPage::execute()"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 29 Dec 2013 19:04:26 +0000 (19:04 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie5a14015e8dd20feecfac6962a80c7758a291442

10 years agoMerge "mediawiki.action.edit.collapsibleFooter.js use $.cookie()"
jenkins-bot [Sun, 29 Dec 2013 18:35:46 +0000 (18:35 +0000)]
Merge "mediawiki.action.edit.collapsibleFooter.js use $.cookie()"

10 years agoMerge "Fix string concatenation in api documentation"
jenkins-bot [Sun, 29 Dec 2013 17:55:58 +0000 (17:55 +0000)]
Merge "Fix string concatenation in api documentation"

10 years agoFix string concatenation in api documentation
aude [Sun, 29 Dec 2013 17:40:14 +0000 (18:40 +0100)]
Fix string concatenation in api documentation

Change-Id: I4f94172a5e4ad43dd88c21e01148fd94783aca54

10 years agomediawiki.action.edit.collapsibleFooter.js use $.cookie()
Fomafix [Sun, 29 Dec 2013 16:54:01 +0000 (16:54 +0000)]
mediawiki.action.edit.collapsibleFooter.js use $.cookie()

Change-Id: I3e2950c905f35b533e01c20d800b83d18e199d28

10 years agoReplace usage of deprecated Title::escapeLocalURL()
Siebrand Mazeland [Sun, 29 Dec 2013 15:21:37 +0000 (16:21 +0100)]
Replace usage of deprecated Title::escapeLocalURL()

Change-Id: I1d630ffe5e900a97e169bf3fdab55d0687a67d3b

10 years agoFixed silly regression with $job not being set in runJobs.php
Aaron Schulz [Sun, 29 Dec 2013 00:07:25 +0000 (16:07 -0800)]
Fixed silly regression with $job not being set in runJobs.php

Change-Id: I2dae31574e5822b7b76bf1b04aba0063bed17944

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 28 Dec 2013 19:17:26 +0000 (19:17 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie022679c51c951e3779c6d090b66c7876adef33c

10 years agoUpdate #firstHeading on livepreview to show {{DISPLAYTITLE:...}}
Fomafix [Sat, 28 Dec 2013 13:47:00 +0000 (13:47 +0000)]
Update #firstHeading on livepreview to show {{DISPLAYTITLE:...}}

Bug: 59015
Change-Id: I17f240cce92f1b98a226d5c2e2b3e82e15ceb616

10 years agoMerge "Type cast formatted time"
jenkins-bot [Sat, 28 Dec 2013 12:02:37 +0000 (12:02 +0000)]
Merge "Type cast formatted time"

10 years agoMerge "Throw exception when ArchivedFile::getUser() has unkown type"
jenkins-bot [Sat, 28 Dec 2013 10:58:57 +0000 (10:58 +0000)]
Merge "Throw exception when ArchivedFile::getUser() has unkown type"

10 years agoMerge "Update documentation for WebInstaller_DBConnect::execute()"
MarkAHershberger [Sat, 28 Dec 2013 10:00:15 +0000 (10:00 +0000)]
Merge "Update documentation for WebInstaller_DBConnect::execute()"

10 years agoMerge "Update documentation related to newFromRow and formatRow"
jenkins-bot [Sat, 28 Dec 2013 00:47:51 +0000 (00:47 +0000)]
Merge "Update documentation related to newFromRow and formatRow"

10 years agoFix error introduced in Change Ieae80c63e391cfb1af61841a6badd51b87d00cfe
Skizzerz [Fri, 27 Dec 2013 23:51:24 +0000 (17:51 -0600)]
Fix error introduced in Change Ieae80c63e391cfb1af61841a6badd51b87d00cfe

The {{NAMESPACE}} magic word is broken by the above commit, since it uses
the function name "mwnamespace" in order to not conflict with the PHP 5.3
namespace keyword.

Change-Id: I807c9b89c101db289c0ec47593c18b0d1dc2260b

10 years agoMerge "Replace use of deprecated SpecialPageFactory::getGroup()"
jenkins-bot [Fri, 27 Dec 2013 23:07:55 +0000 (23:07 +0000)]
Merge "Replace use of deprecated SpecialPageFactory::getGroup()"

10 years agoMerge "Add SVG versions of enhanced recent changes collapse/show arrows"
jenkins-bot [Fri, 27 Dec 2013 22:38:54 +0000 (22:38 +0000)]
Merge "Add SVG versions of enhanced recent changes collapse/show arrows"

10 years agoAdd SVG versions of enhanced recent changes collapse/show arrows
m4tx [Fri, 27 Dec 2013 11:43:17 +0000 (12:43 +0100)]
Add SVG versions of enhanced recent changes collapse/show arrows

Bug: 35344
Change-Id: I1fcc255691048cb8929a68096e1e0e56e934f020

10 years agomw.loader.store: Detect malformed function stringification
Bartosz Dziewoński [Fri, 27 Dec 2013 22:03:13 +0000 (23:03 +0100)]
mw.loader.store: Detect malformed function stringification

See the bug for details.

This seems to happen somewhat consistently on Opera 12, let's
try to work around the browser bug before we blacklist it.

Includes some console logging.

Bug: 57567
Change-Id: Ifd7b203fb0ca61e4a749e6b0fc031e62121cc45a

10 years agoMerge "Make MediaWiki:Redirectpagesub accept all wikitext."
jenkins-bot [Fri, 27 Dec 2013 21:58:59 +0000 (21:58 +0000)]
Merge "Make MediaWiki:Redirectpagesub accept all wikitext."

10 years agoOptimize all SVGs
Bartosz Dziewoński [Fri, 27 Dec 2013 02:40:53 +0000 (03:40 +0100)]
Optimize all SVGs

Passed with svgo 0.4.2 <https://github.com/svg/svgo>, then prepended
'<?xml version="1.0" ?>' prolog back to each file since svgo sees
it fit to remove it and that breaks just about everything.

Skipped the ones in tests/, there's some weird stuff here and they
didn't shrink much when I tried anyway.

Total file size reduced from ~90 KB to ~30 KB, size of some icons was
reduced by 90%.

Change-Id: If05ee0e0ffeadcf5b21e2620cdfeef218e4c0c5d

10 years agoMerge "Remove deprecated methods from Revision, SkinTemplate, and WikiPage"
jenkins-bot [Fri, 27 Dec 2013 21:41:20 +0000 (21:41 +0000)]
Merge "Remove deprecated methods from Revision, SkinTemplate, and WikiPage"

10 years agoMerge "Revert "Add .gitignore to the /skins directory""
jenkins-bot [Fri, 27 Dec 2013 21:28:54 +0000 (21:28 +0000)]
Merge "Revert "Add .gitignore to the /skins directory""

10 years agoAPI: Include variant name in meta=siteinfo
Brad Jorsch [Fri, 27 Dec 2013 21:25:34 +0000 (16:25 -0500)]
API: Include variant name in meta=siteinfo

For languages with variants, we're already returning the list of variant
codes in meta=siteinfo&siprop=general. Clients may have use for the
variant's human-readable name too, and we can easily add it to the
datastructure.

Change-Id: I6c7ebf43a699a0b2346cb0fdeef6487217992f5c

10 years agoRevert "Add .gitignore to the /skins directory"
Bartosz Dziewoński [Fri, 27 Dec 2013 21:23:20 +0000 (21:23 +0000)]
Revert "Add .gitignore to the /skins directory"

New skin files (images etc.) seem to be matches by these
rules. I'm going to revert this for now since it's annoying,
feel free to resubmit a .gitignore that works.

This reverts commit d21381021658079720ce1a9aa9f0e989d8dd358e.

Change-Id: I77655ea4ba3ddb5941e1e423ad766be20479247f

10 years agoBreak some long lines
Chad Horohoe [Fri, 27 Dec 2013 21:01:17 +0000 (16:01 -0500)]
Break some long lines

Change-Id: I8c3919c04a3fc468191750af51b8be3f952f464e

10 years agoReduce insane amount of code duplication and long lines
Chad Horohoe [Fri, 27 Dec 2013 20:57:50 +0000 (15:57 -0500)]
Reduce insane amount of code duplication and long lines

Change-Id: Ieae80c63e391cfb1af61841a6badd51b87d00cfe

10 years agoMerge "Remove last remainig use in core of Title::escapeFullURL()"
jenkins-bot [Fri, 27 Dec 2013 20:29:11 +0000 (20:29 +0000)]
Merge "Remove last remainig use in core of Title::escapeFullURL()"

10 years agoMerge "Release notes for removed and renamed classes"
jenkins-bot [Fri, 27 Dec 2013 20:25:07 +0000 (20:25 +0000)]
Merge "Release notes for removed and renamed classes"

10 years agoRelease notes for removed and renamed classes
Siebrand Mazeland [Fri, 27 Dec 2013 16:05:37 +0000 (17:05 +0100)]
Release notes for removed and renamed classes

Change-Id: I65de588860575d22125c05b71bf4817388234ef1

10 years agoMerge "Use Title::isWatchable in ApiWatch"
jenkins-bot [Fri, 27 Dec 2013 19:42:15 +0000 (19:42 +0000)]
Merge "Use Title::isWatchable in ApiWatch"

10 years agoRemove deprecated methods from Revision, SkinTemplate, and WikiPage
Siebrand Mazeland [Fri, 27 Dec 2013 16:20:51 +0000 (17:20 +0100)]
Remove deprecated methods from Revision, SkinTemplate, and WikiPage

No uses found in core of Gerrit extensions.

- Revision::revText() (deprecated in 1.17)
- SkinTemplate::jstext() (deprecated in 1.21)
- WikiPage::quickEdit() (deprecated in 1.18)
- WikiPage::useParserCache() (deprecated in 1.18)
- WikiPage::viewUpdates() (deprecated in 1.18)

Change-Id: I9eee23ea3ce381b6b8373da899287bcaea4cead4