Translation updater bot [Fri, 13 Mar 2015 20:57:47 +0000 (21:57 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2cdf3805a5d8e395e040a069d16c53ab5ed0c164
Bartosz Dziewoński [Fri, 13 Mar 2015 18:49:15 +0000 (19:49 +0100)]
Html: Make addition of 'mw-ui-input' conditional on $wgUseMediaWikiUIEverywhere
We were always adding it previously, which seemed harmless since
'mediawiki.ui.input' RL module, providing the styling, was only loaded
if $wgUseMediaWikiUIEverywhere was true… unless someone loaded it
manually to have specific input fields styled. Whoops.
There are a lot more unconditional additions like this in tons of
places in the code, and someone should check whether each one is
intentional or not, but probably no one will. Oh well.
Bug: T92496
Change-Id: I5e91a3852a76ebbbfe64485bccb4c30ddee28b66
jenkins-bot [Fri, 13 Mar 2015 18:01:46 +0000 (18:01 +0000)]
Merge "Removed newFromConds master fallback logic; obsoleted by $flags"
jenkins-bot [Fri, 13 Mar 2015 17:32:50 +0000 (17:32 +0000)]
Merge "Avoid certain useless dbperformance log entries"
aude [Fri, 13 Mar 2015 10:16:31 +0000 (11:16 +0100)]
Fix comment typo in mediawiki.legacy/protect.js
Change-Id: I82c351d0d89a3f65ba9aa65cd11ca9b5ba99d6c5
jenkins-bot [Fri, 13 Mar 2015 08:44:02 +0000 (08:44 +0000)]
Merge "Return HTTP 500 not 200 from thumb.php when streaming fails"
jenkins-bot [Fri, 13 Mar 2015 07:06:33 +0000 (07:06 +0000)]
Merge "Add linkable anchor #L<N> to (original text) line number in diff"
jenkins-bot [Fri, 13 Mar 2015 07:01:30 +0000 (07:01 +0000)]
Merge "Pass context to FormatMetadata class on ImagePage"
Federico Leva [Fri, 16 Jan 2015 23:14:10 +0000 (00:14 +0100)]
Add linkable anchor #L<N> to (original text) line number in diff
Bug: T63486
Change-Id: I068c7f6167e20f42cb675335554b98ff1fb83e16
jenkins-bot [Fri, 13 Mar 2015 06:44:51 +0000 (06:44 +0000)]
Merge "Replacing generic Exception with Exception subclasses"
jenkins-bot [Fri, 13 Mar 2015 06:30:05 +0000 (06:30 +0000)]
Merge "Add support for HD versions of the wiki logo in MonoBook-like skins."
isarra [Mon, 9 Mar 2015 01:55:31 +0000 (01:55 +0000)]
Add support for HD versions of the wiki logo in MonoBook-like skins.
Done using an array $wgLogoHD, which expects something like the following:
$wgLogoHD = array(
"1.5x" => "path/to/1.5x_version.png",
"2x" => "path/to/2x_version.png"
);
This is still horrible, but I dunno how to make it less horrible. Help.
Bug: T37337
Change-Id: Iee3e73c1f96b81c2094418986cf1c267d93d1bdd
jenkins-bot [Fri, 13 Mar 2015 06:09:10 +0000 (06:09 +0000)]
Merge "Made JobQueueFederated::supportsDelayedJobs() check all the partition queues"
jenkins-bot [Fri, 13 Mar 2015 06:00:11 +0000 (06:00 +0000)]
Merge "Title: Consider empty edit notices to not exist"
jenkins-bot [Fri, 13 Mar 2015 05:58:55 +0000 (05:58 +0000)]
Merge "Title: Clean up getEditNotices()"
Aaron Schulz [Fri, 13 Mar 2015 01:50:05 +0000 (18:50 -0700)]
Avoid certain useless dbperformance log entries
* If DB_SLAVE was used but a master was picked due to having
non-zero load, that should not issue a warning.
Change-Id: I79f3c477b4160b15ffb7f7679d7e15cabc236b82
jenkins-bot [Fri, 13 Mar 2015 00:28:54 +0000 (00:28 +0000)]
Merge "Updated Revision::newFromId() callers to use READ_LATEST as needed"
James D. Forrester [Thu, 12 Mar 2015 23:48:59 +0000 (16:48 -0700)]
Update OOjs UI to v0.9.2
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.2/History.md
Bypassing /vendor this time as no PHP changes.
Change-Id: I05830110d624bc1cd9a7c1244f3f0f34835326dd
Aaron Schulz [Thu, 12 Mar 2015 23:47:21 +0000 (16:47 -0700)]
Updated Revision::newFromId() callers to use READ_LATEST as needed
Change-Id: Idcc071e99a712cf3208c10059d476dafe95044cf
jenkins-bot [Thu, 12 Mar 2015 23:40:14 +0000 (23:40 +0000)]
Merge "qunit: Use default (~1-4ms) delay instead of 10ms or 150ms"
Timo Tijhof [Thu, 12 Mar 2015 23:15:40 +0000 (00:15 +0100)]
qunit: Use default (~1-4ms) delay instead of 10ms or 150ms
* jquery.byteLimit: Speeds up test suite from 425ms to about 275s.
* mediawiki: Speeds up test suite from 870ms to 350ms.
(Measures as reported by QUnit, using Chrome on OSX with a MacBook Pro)
Change-Id: Ia8db228219175c1aea6eb1b1edacf521494d3bdb
Adam Roses Wight [Wed, 11 Mar 2015 07:21:30 +0000 (00:21 -0700)]
Clean up oldid argument to Content::prepareSave()
The prepareSave function expects the latest revision ID of the article
being replaced. Instead, we were passing an ID only used for rollbacks
and other special effects.
Change-Id: I4647930566b9370052a820ae3a46e10a6bba65ce
Gergő Tisza [Thu, 12 Mar 2015 22:50:19 +0000 (22:50 +0000)]
Return HTTP 500 not 200 from thumb.php when streaming fails
Bug: T92545
Change-Id: Id40a8f401232cc7b9ca102a2866957f80c5ec8a3
jenkins-bot [Thu, 12 Mar 2015 22:00:51 +0000 (22:00 +0000)]
Merge "Avoid excess master queries in getTimestampFromId"
Timo Tijhof [Thu, 12 Mar 2015 19:31:13 +0000 (20:31 +0100)]
mediawiki.action.edit.preview: Hide inserted div#wikiDiff by default
Avoids a redraw when the node is inserted because the <div> with
the placeholder table does have height (~ 5px). Causing it to move
everything below it after the page loads.
Bug: T92552
Change-Id: I43d44c070ce6b5861dd3ee0d9968475d24df59a3
kaldari [Thu, 12 Mar 2015 21:31:32 +0000 (14:31 -0700)]
Replacing generic Exception with Exception subclasses
Improves ability to debug.
Change-Id: I21a51fc5b4f185a01ba4706bd5a853c2974057dd
jenkins-bot [Thu, 12 Mar 2015 20:35:21 +0000 (20:35 +0000)]
Merge "Update OOjs UI to v0.9.1"
Timo Tijhof [Thu, 12 Mar 2015 20:15:43 +0000 (21:15 +0100)]
Title: Consider empty edit notices to not exist
Don't include edit notices that parse to nothing in the output
array.
Similar filtering logic currently exists in VisualEditor. This
helps support systems like the one on English Wikipedia where an
Editnotice page may exist, but conditionally outputs the actual
notice.
Bug: T91715
Change-Id: Ic8fb038fd6acf18830cafdd09a8ca86f3950c7a5
Timo Tijhof [Thu, 12 Mar 2015 20:12:30 +0000 (21:12 +0100)]
Title: Clean up getEditNotices()
Change-Id: I4ad5e16dfe42494ee6d8c43cfc50ae57e2b9a2d4
Translation updater bot [Thu, 12 Mar 2015 19:58:07 +0000 (20:58 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I8d8c741d66891c08fce33b38e867e485e70cfa74
James D. Forrester [Thu, 12 Mar 2015 19:12:01 +0000 (12:12 -0700)]
Update OOjs UI to v0.9.1
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.1/History.md
Change-Id: I936ea56e1c99f576f44115a9b2fa075ef1ab14bd
Chad Horohoe [Thu, 12 Mar 2015 18:53:21 +0000 (11:53 -0700)]
Pass if log entry is legacy to ApiQueryLogEvents::addLogParams()
Querying via ApiQueryRecentChanges and ApiQueryWatchlist did not
pass if a particular log entry was a legacy log entry.
Ultimately CheckUser should stop writing legacy style log entries
too but we can at least behave properly when we hit them.
Bug: T91466
Change-Id: I1564ec7e599e2f9d78775e63e06eca84db497a43
jenkins-bot [Thu, 12 Mar 2015 17:17:16 +0000 (17:17 +0000)]
Merge "Mark DoEditSectionLink hook as deprecated"
Kunal Mehta [Thu, 12 Mar 2015 16:51:59 +0000 (09:51 -0700)]
Mark DoEditSectionLink hook as deprecated
Change-Id: I347fe68900c98080bf3070a1b0bf5a005048868a
JuneHyeon Bae [Wed, 18 Jun 2014 02:45:32 +0000 (11:45 +0900)]
Refactor out 'infinity' variants
Refactor out 'infinity' vartiant values which used in blocking and
protecting actions. This patchset adds GlobalFunction wfIsInfinity.
Bug: T68646
Change-Id: I60cc55a5bbd43c72916a1c2ea3807457d4e33765
jenkins-bot [Thu, 12 Mar 2015 14:56:31 +0000 (14:56 +0000)]
Merge "Use underscores in help links"
umherirrender [Tue, 10 Mar 2015 18:26:39 +0000 (19:26 +0100)]
Use underscores in help links
Replace spaces by underscore to build correct links to wiki pages. IE11
will show %20 for spaces. Also use urlencode to make the url safe.
Follow-Up: I2934b1708a0d207dcf3d940264f140613646f203
Change-Id: I5ef08441406e96aa9749476af0a81fc11fa4e4d6
James D. Forrester [Wed, 11 Mar 2015 23:14:46 +0000 (16:14 -0700)]
resources: Move to library version of jquery.client
The jQuery Client library is no longer mastered in MediaWiki, and is
instead a proper, published library, which is now tagged as v1.0.0.
Change-Id: Idd19d738b392a5f742fef6f98c885e8c391a5cbf
Aaron Schulz [Wed, 11 Mar 2015 03:33:52 +0000 (20:33 -0700)]
Avoid excess master queries in getTimestampFromId
Bug: T92357
Change-Id: Id5cf7a5620daeee12abfa778f9be19435f3e5e84
Translation updater bot [Wed, 11 Mar 2015 20:53:36 +0000 (20:53 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 11 Mar 2015 20:50:32 +0000 (21:50 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I384c8214ba8453349d0b7cc90b954580bd571011
Timo Tijhof [Fri, 6 Mar 2015 02:12:49 +0000 (03:12 +0100)]
OutputPage: Condition-wrap the <script> for 'user.groups'
Follows-up
9d390a09cdfb. It already wraps the only=script requests
for 'site' and 'user', but forgot about 'user.groups' which is
not 'scripts' but 'combined' (as regular module requests).
That request responds with mw.loader.implement whih will be absent
if the environment is unsupported.
With normal module requests, this is naturally covered by those
requests not being fired from mw.loader in the first place but
with hardcoded requests like these the condition wrap with
document.write is unfortunately required in the current reality.
Change-Id: Ib3a7378d0c44e601760fbbc5174da09bd7b7f492
Aaron Schulz [Tue, 10 Mar 2015 19:26:24 +0000 (12:26 -0700)]
Mention metrics in IContextSource docs
Change-Id: I9b654a12578758471978ffd1e1ae20476aeeaa0d
jenkins-bot [Wed, 11 Mar 2015 18:36:49 +0000 (18:36 +0000)]
Merge "mediawiki.js: clean-ups"
Ori Livneh [Tue, 10 Mar 2015 06:57:33 +0000 (23:57 -0700)]
mediawiki.js: clean-ups
* Inline canExpandStylesheetWith().
* Make resolve() take an array of module names instead of being flexible
(taking either a string or an array). It's a private method, so it doesn't
need to have a cute API.
* Use simple string concatenation rather than [].join in pad()
* Make allReady() more efficient by having it bail early as soon as any
non-ready module is encountered.
* Add anyFailed(), which is a complement to allReady().
* Remove filter(). In more than one place, it was used to check whether a
module in some specified state existed in a list of modules, which is
inefficient, since filter() continues iterating through the array of modules
after finding a match and because it constructed an array with the matches,
which was not needed.
* Replace some verbose array iteration with $.grep / $.map / $.each.
Change-Id: I22a2f824488ba39d03b546ac8560f551a3198d7f
Aaron Schulz [Wed, 11 Mar 2015 18:12:50 +0000 (11:12 -0700)]
Made JobQueueFederated no longer need "checkDelay" for delaying
This reverts commit
b9fd0f311c292424fd49d7bff550f67e94a62bc4.
Change-Id: Ibff28591c268689d593cb56a58e0b33c22292eba
Aaron Schulz [Wed, 11 Mar 2015 18:10:12 +0000 (11:10 -0700)]
Made JobQueueFederated::supportsDelayedJobs() check all the partition queues
Change-Id: Id451faedd6286a84f993fa183e67e0bf35d21c41
jenkins-bot [Wed, 11 Mar 2015 17:17:33 +0000 (17:17 +0000)]
Merge "Revert "Made JobQueueFederated no longer need "checkDelay" for delaying""
Legoktm [Wed, 11 Mar 2015 17:10:18 +0000 (17:10 +0000)]
Revert "Made JobQueueFederated no longer need "checkDelay" for delaying"
Breaks Cirrus and Wikibase
This reverts commit
c8f96384aad312e52969b81dd8ce6b8d80c3857a.
Change-Id: I15278d52806bf30d6ea6c6b9eb8586160f65c42b
Gergő Tisza [Tue, 3 Feb 2015 22:49:40 +0000 (22:49 +0000)]
mw.loader: Replace log() calls with mw.track events
This allows other consumers (such as an error logging backend) to
subscribe to these errors.
Change-Id: I157e2fb5c6b4d77736fcaf0a87c624e76a833161
jenkins-bot [Wed, 11 Mar 2015 15:20:20 +0000 (15:20 +0000)]
Merge "jsduck: Add 'mediawiki.startUp.js' to eg-iframe"
jenkins-bot [Wed, 11 Mar 2015 15:01:18 +0000 (15:01 +0000)]
Merge "FeedItem: Use full URL with protocol for <id>/<guid> in Atom/RSS feeds"
Timo Tijhof [Wed, 11 Mar 2015 14:44:47 +0000 (15:44 +0100)]
jsduck: Add 'mediawiki.startUp.js' to eg-iframe
Follows-up
2ea420eed86. Without this, the startUp() is never called,
and mw.config remains undefined which caused some of the examples
to no longer work properly.
Also move onerror handler to first <script> (follows-up
a64a07d).
Exceptions from other code (eg. startup or mediawiki modules),
were not being caught.
Also include 'error' in the line being logged from onerror.
Change-Id: I3956da40b0bd862acab6d4552932aa609c17d569
Timo Tijhof [Sun, 8 Mar 2015 17:38:01 +0000 (18:38 +0100)]
jsduck: Refactor example iframe to catch uncaught errors
* Make logging function not depend on 'mw' existing.
* Add window.onerror handler.
* Keep exporting to mw.log because that's what existing examples
use and is what uses should copy for interoperability with the
regular runtime.
Change-Id: I2925532035974343125e34084f9ac7c8dd1fa279
Brian Wolff [Fri, 20 Feb 2015 00:31:31 +0000 (20:31 -0400)]
Allow edit summaries to be up to 767 bytes long
This is just the db part. The changes to UI validation code will
come in a dependent patch later.
This changes the max size of various *_comment, *_description
and *_reason fields to be 767 bytes. This size is chosen to
be consistent with the largest we can get away with while
still having covering indexes.
It also unifies the various data types of these fields to
varbinary. (Note, this was previously done and reverted in
r80547, but I don't think the reason for revert applies to
the edit summary fields)
MyISAM has a much smaller max index size, and this wouldn't
work with that storage engine. However, none of these fields
are used in default indexes (only in WMF indexes), so this
should not be an issue for anyone using MyISAM. Postgress
and sqlite already supported the larger edit summary size.
Note: This patch increases min mysql version to 5.0.3.
Bug: T6715
Change-Id: I8558e80a18e4591f07f2c3e80f792ea4435c4e71
Aaron Schulz [Wed, 11 Mar 2015 03:53:44 +0000 (20:53 -0700)]
Removed newFromConds master fallback logic; obsoleted by $flags
Bug: T86862
Change-Id: I6867a61fff9828fb32b063c1e84872e910c4b273
Brad Jorsch [Tue, 10 Mar 2015 22:26:31 +0000 (18:26 -0400)]
API: Remove explicit profiling
The profileIn/profileOut pair should be covered by the Xhprof profiling
of the method calls it was wrapping.
The profileDBIn/profileDBOut pair are covered by profiling done by the
Database class.
Nothing in extensions in Gerrit is calling anything besides the
profileIn/profileOut pair (and likely those are only to avoid core
formerly throwing exceptions from internal profileDBIn/profileDBOut
calls), and nothing in core or extensions-in-Gerrit is using the methods
for fetching profiling data.
The methods are left as stubs for now to allow for backwards
compatibility in extensions.
Change-Id: I05ba4e2762dc86d5e2bafc183dce701239b43f5c
Aaron Schulz [Tue, 10 Mar 2015 22:13:18 +0000 (15:13 -0700)]
Made JobQueueFederated no longer need "checkDelay" for delaying
* Cleaned up the weird logic for checking if delays are supported
Change-Id: I3a1a78bb48b4950b76f445bf8c27b5868d3dc89c
Translation updater bot [Tue, 10 Mar 2015 21:09:43 +0000 (22:09 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3be2b9a50b5695cd9c247bb9a0a49af82eed6ffd
jenkins-bot [Tue, 10 Mar 2015 18:25:42 +0000 (18:25 +0000)]
Merge "mw.ui: button: Update focus state"
jenkins-bot [Tue, 10 Mar 2015 17:08:14 +0000 (17:08 +0000)]
Merge "Introduce the Restbase Virtual REST Service class"
jenkins-bot [Tue, 10 Mar 2015 13:58:22 +0000 (13:58 +0000)]
Merge "Update the Chinese conversion table for Chinese WikiProjects"
Aaron Schulz [Tue, 10 Mar 2015 06:08:37 +0000 (23:08 -0700)]
Minor doc fixes
Change-Id: I80678e64cafcfd6e2c779452f466d8a630089568
jenkins-bot [Tue, 10 Mar 2015 01:58:51 +0000 (01:58 +0000)]
Merge "mediawiki.jqueryMsg: Fix examples in comments"
jenkins-bot [Tue, 10 Mar 2015 00:26:30 +0000 (00:26 +0000)]
Merge "Add StatsD metric logging"
jenkins-bot [Tue, 10 Mar 2015 00:25:02 +0000 (00:25 +0000)]
Merge "Specify max compatible kss version"
Ori Livneh [Fri, 20 Feb 2015 08:23:18 +0000 (00:23 -0800)]
Add StatsD metric logging
This patch adds a metric data service object to the IContextSource interface,
with full support for StatsD meters, gauges, counters and timing metrics, via
the liuggio/statsd-php-client, which this patch also introduces.
Usage example:
$stats = $context->getStats();
$stats->increment( 'resourceloader.cache.hits' );
$stats->timing( 'resourceloader.cache.rtt', $rtt );
The metrics are flushed to a StatsD server, which may be specified via the
'StatsdServer' configuration key. If no such configuration key exists, the
metrics are discarded.
The StatsD client supplants MediaWiki's StatCounter class. wfIncrStats()
will continue to work, but it will delegate to the StatsD data object.
Change-Id: Ie10db1c154d225971398e189737de7c560bf0f90
Marko Obrovac [Mon, 2 Mar 2015 14:35:21 +0000 (15:35 +0100)]
Introduce the Restbase Virtual REST Service class
Restbase, the REST content API service, is to be queried instead of
Parsoid by current Parsoid users (most importantly VE). This patch
introduces the Restbase virtual REST service class and transparently
maps Parsoid calls into Restbase ones if parsoidCompat is set when
creating the service object.
Additionally, $wgVirtualRestConfig is introduced in DefaultSettings.php. This
is a first step towards global service configuration and management.
Bug: T89066
Change-Id: I4d4043e5052327bbd789331f1c05b607c45fe7cb
Fomafix [Mon, 9 Mar 2015 20:55:47 +0000 (20:55 +0000)]
mediawiki.jqueryMsg: Fix examples in comments
Change-Id: Ia6fcb718e9c0ef073ed472af29c8ca4507f45b5a
Translation updater bot [Mon, 9 Mar 2015 20:44:38 +0000 (21:44 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I361e11d5dbbc13010b24e6dd49ff8153f5163535
jenkins-bot [Mon, 9 Mar 2015 18:54:51 +0000 (18:54 +0000)]
Merge "If no secret key is available, don't try to use cache"
jenkins-bot [Mon, 9 Mar 2015 18:44:14 +0000 (18:44 +0000)]
Merge "Added clarifying comments to IContextSource"
Timo Tijhof [Sun, 8 Mar 2015 17:34:06 +0000 (18:34 +0100)]
Rename JSDuck config to standard 'jsduck'
* Move configuration to /jsduck.json per standard. This way
it can be run as plain '$ jsduck' without needing a maintenance
script or custom Jenkins job. Similar to JSHint, JSCS, Grunt,
and Gem etc.
* Move --processes=0 from maintenace script into config file.
This should've been in the config file all along and serves as
workaround for https://github.com/senchalabs/jsduck/issues/525.
* Use grunt-contrib-copy instead of a symlink for resources.
For local development a symlink works fine, but for publishing
from Jenkins to doc.wikimedia.org the /docs/js/ directory needs
to be standalone. This was previously done with a manual post-build
step that added an additional rsync, but this logic should be
in the repository so that the doc entry point can be simplified
and standardised to 'npm run-script doc' for all projects.
Change-Id: Iaaaac50ee78dd9ff8f24f1ef3a3685ad51cf33b2
rillke [Mon, 9 Mar 2015 12:37:45 +0000 (13:37 +0100)]
Make PHP unit parser tests pass again after translation update
- sr-ec.json updated with
17607cf8965bf332f8c80d7a8e25a8c4e1107696
Change-Id: I7dfc9bcea2be85dd42d344858ce02246432f7fe1
Translation updater bot [Sun, 8 Mar 2015 20:20:44 +0000 (21:20 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ifc570f5a883ef4269e9d85b9e634f09e95716581
Bartosz Dziewoński [Sat, 7 Mar 2015 22:52:44 +0000 (23:52 +0100)]
FeedItem: Use full URL with protocol for <id>/<guid> in Atom/RSS feeds
Bug: T89975
Change-Id: Ib84932b70aa8194b7bdabe7c90d7fdcc66054a1c
Aaron Schulz [Sat, 7 Mar 2015 21:39:07 +0000 (13:39 -0800)]
Added clarifying comments to IContextSource
* Also removed some duplicated comments
Change-Id: I2c967d0f3219f3533378ecd5f9fccc40c8f9b219
Federico Leva [Sat, 7 Mar 2015 17:36:41 +0000 (18:36 +0100)]
Don't require JavaScript for addHelpLink styles
And avoid wfMessage.
Followup to
376c0a13df05f30367b2a89c2cac7bdab22600ed
Bug: T45591
Change-Id: I2f02c2a4db609356ff8be30f260490d19f3226d1
jenkins-bot [Sat, 7 Mar 2015 03:56:12 +0000 (03:56 +0000)]
Merge "mediawiki.special.upload: One event handling function is enough"
Aaron Schulz [Fri, 6 Mar 2015 21:50:17 +0000 (13:50 -0800)]
Push enqueue-on-view jobs to the faster "local" queue
* This only matters for multi-DC setups, otherwise everything is local anyway
Bug: T91819
Change-Id: I0756b59ae1ba27a5d24cf7baef6d068b748e6e30
Translation updater bot [Fri, 6 Mar 2015 21:27:34 +0000 (21:27 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 6 Mar 2015 21:23:26 +0000 (22:23 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I5e91846766f3558874fd179fd7a1a3702901bda4
jenkins-bot [Fri, 6 Mar 2015 21:23:17 +0000 (21:23 +0000)]
Merge "Remove isVolatile/markVolatile logic from LocalFile"
Aaron Schulz [Thu, 5 Mar 2015 21:08:41 +0000 (13:08 -0800)]
Remove isVolatile/markVolatile logic from LocalFile
* This is obsoleted by the "latest" flag
* Follows-up
5085a4b
Bug: T88506
Change-Id: I808c3a6f0edb3466cb600c06c5e742ab030baf14
jenkins-bot [Fri, 6 Mar 2015 20:03:10 +0000 (20:03 +0000)]
Merge "Added EnqueueJob class that handles routing jobs to queues"
Chiefwei [Sun, 11 Jan 2015 11:06:17 +0000 (19:06 +0800)]
Update the Chinese conversion table for Chinese WikiProjects
The Chinese conversion table is substantially updated to fix a lot of
bugs reported in recent years, and the script generating conversion
table (LanguageZh.php) is also modified to facilitate the maintenance.
Zh-sg and zh-my is set to fallback to zh-cn to improve reading
experience, since there is only trivial difference among them, just like
zh-hk and zh-mo. Further optimization for zh-sg and zh-my will be
performed in local conversion table of Chinese WikiProjects.
Bug: T91620
Change-Id: I1bb0315d6d7a2c9653905654d933942e362bcc42
jenkins-bot [Fri, 6 Mar 2015 19:13:50 +0000 (19:13 +0000)]
Merge "Made wfFindFile/wfLocalFile callers use explicit "latest" flags"
jenkins-bot [Fri, 6 Mar 2015 18:19:49 +0000 (18:19 +0000)]
Merge "inputs.less: Change focus state"
Željko Filipin [Fri, 6 Mar 2015 16:06:54 +0000 (17:06 +0100)]
Set up RuboCop configuration according to coding conventions
Updated RuboCop to the latest version.
Renenerated .rubocop_todo.yml file with “bundle exec rubocop
--auto-gen-config”.
See also:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi
guration
Bug: T91485
Change-Id: I926d6ee114ccc01076e8df6ec3f95eb2af78c212
Dan Duvall [Thu, 5 Mar 2015 22:41:11 +0000 (14:41 -0800)]
QA: Refactor for mediawiki_selenium 1.0
Refactored by following steps outlined in UPGRADE.md under the
mediawiki_selenium project.
Change-Id: I52717292df0541eb489b34ec083ec4a957f7546d
Aaron Schulz [Thu, 5 Mar 2015 20:13:28 +0000 (12:13 -0800)]
Made wfFindFile/wfLocalFile callers use explicit "latest" flags
* Callers that should not use caches won't
* Aliased the old "bypassCache" param to "latest"
bug: T89184
Change-Id: I9f79e5942ced4ae13ba4de0b4c62908cc746e777
jenkins-bot [Fri, 6 Mar 2015 03:22:59 +0000 (03:22 +0000)]
Merge "resourceloader: Call setName() in test suite before calling getStyles()"
Kunal Mehta [Fri, 6 Mar 2015 03:18:15 +0000 (03:18 +0000)]
Merge "maintenance: Defer initilization of 'main' Config until after Setup.php runs"
Timo Tijhof [Fri, 6 Mar 2015 02:26:44 +0000 (03:26 +0100)]
resourceloader: Call setName() in test suite before calling getStyles()
This caused a database error due to NULL being inserted as name, which is illegal.
> Function: DatabaseSqlite::replace/single-row
> NOT NULL constraint failed: unittest_module_deps.md_module
> Stack trace:
> #3 includes/resourceloader/ResourceLoaderFileModule.php(420): DatabaseSqlite->replace()
> #4 tests/phpunit/includes/resourceloader/ResourceLoaderTest.php(88): ResourceLoaderFileModule->getStyles()
> #5 (): ResourceLoaderTest->testLessFileCompilation()
This test shouldn't be trigggering database updates, but that's for
a later change to stub out or refactor.
Bug: T91567
Change-Id: Ic451bd41e2ffc188d2efd6b7ce61b03b9de61296
jenkins-bot [Fri, 6 Mar 2015 01:53:20 +0000 (01:53 +0000)]
Merge "mw.Feedback: Terms of use always appended and allows for link"
S Page [Fri, 6 Mar 2015 01:49:07 +0000 (17:49 -0800)]
Specify max compatible kss version
core/docs/kss/styleguide-template/index.html uses {{whenDepth}} and
other functions deprecated in kss 2.0, so set an upper version bound in
package.json
Bug: T91725
Change-Id: I55669f3cc1c34911f717fe5fce3ea6ed00510177
Moriel Schottlender [Fri, 6 Mar 2015 01:42:38 +0000 (17:42 -0800)]
mw.Feedback: Terms of use always appended and allows for link
Bring the terms of use link outside of the general checkbox message
and have it appear regardless of whether the checkbox is shown.
Also make sure it is parsed correctly if/when it has a link.
Change-Id: Ic1072690e33927e472f8ba529b16fa32280a6abc
Timo Tijhof [Fri, 6 Mar 2015 01:06:00 +0000 (02:06 +0100)]
mediawiki.test: Prevent "Error: expected" from going to the real console
Keeps the build logs cleaner and less confusing.
Change-Id: Ibbbf5dd367cab798885df34b9dd73f84229d3c5e
Kevin Israel [Sun, 1 Mar 2015 11:05:25 +0000 (06:05 -0500)]
Remove rel="archives" from HTML output
Follows-up
fab055d6a1.
Introduced in
4299d27956 (r45988)
That link type was removed from HTML5 in 2011. It is not recognized
by the W3C Markup Validator.
https://html5.org/r/5925
https://www.w3.org/Bugs/Public/show_bug.cgi?id=11486
https://html.spec.whatwg.org/multipage/semantics.html#linkTypes
Change-Id: I61ddd7ee3df41bfb62423d0498217d31e7952902
Kunal Mehta [Thu, 5 Mar 2015 22:47:52 +0000 (14:47 -0800)]
Unbreak parser tests
Caused by
f988ef004cd4e6c21649fb30a7d421aadae8f495, which would
have failed tests if l10n-bot hadn't self-merged.
Change-Id: I4674178f51c9b67bc057a84b06b3e4153857860b