lhc/web/wiklou.git
8 years agoi18n: Provide new "publish" strings for extra translator time
James D. Forrester [Mon, 25 Apr 2016 19:32:17 +0000 (12:32 -0700)]
i18n: Provide new "publish" strings for extra translator time

Bug: T131132
Change-Id: I00f321c903a17d392db7a64927f2980297704acd

8 years agoMerge "Make WAN cache config use $wgEventRelayerConfig"
jenkins-bot [Mon, 25 Apr 2016 20:48:19 +0000 (20:48 +0000)]
Merge "Make WAN cache config use $wgEventRelayerConfig"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 25 Apr 2016 19:53:10 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I8fd94df7ba904dcae764f5d1286af22f87d94cad

8 years agoMake WAN cache config use $wgEventRelayerConfig
Aaron Schulz [Fri, 22 Apr 2016 19:52:06 +0000 (12:52 -0700)]
Make WAN cache config use $wgEventRelayerConfig

This makes the channels more explicit and defined in a less
ad-hoc way. Systems like Kafka would prefer explicit channel
definitions anyway, so the channel prefix just obscures things.

Change-Id: I5631eb1b1382083396a0f08904d9273cc92601e8

8 years agoMerge "mediawiki.special.upload.js: Remove spinner in .always() instead of .done()"
jenkins-bot [Mon, 25 Apr 2016 17:15:16 +0000 (17:15 +0000)]
Merge "mediawiki.special.upload.js: Remove spinner in .always() instead of .done()"

8 years agoMerge "Bidi-isolate the comment in history pages"
jenkins-bot [Mon, 25 Apr 2016 16:30:23 +0000 (16:30 +0000)]
Merge "Bidi-isolate the comment in history pages"

8 years agoMerge "Migration of browsertests* Jenkins jobs to selenium* jobs"
jenkins-bot [Mon, 25 Apr 2016 15:18:07 +0000 (15:18 +0000)]
Merge "Migration of browsertests* Jenkins jobs to selenium* jobs"

8 years agoMigration of browsertests* Jenkins jobs to selenium* jobs
Željko Filipin [Thu, 24 Mar 2016 12:45:36 +0000 (13:45 +0100)]
Migration of browsertests* Jenkins jobs to selenium* jobs

selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: I927b9be4377de2a972a2ea2a1871cd520595f995

8 years agoMerge "Parser: Don't use deprecated Title::setFragment()"
jenkins-bot [Mon, 25 Apr 2016 12:19:21 +0000 (12:19 +0000)]
Merge "Parser: Don't use deprecated Title::setFragment()"

8 years agoMerge "registration: Allow ActionFilteredLogs to be modified by extensions"
jenkins-bot [Mon, 25 Apr 2016 06:28:10 +0000 (06:28 +0000)]
Merge "registration: Allow ActionFilteredLogs to be modified by extensions"

8 years agoregistration: Allow ActionFilteredLogs to be modified by extensions
Glaisher [Tue, 19 Apr 2016 13:12:18 +0000 (18:12 +0500)]
registration: Allow ActionFilteredLogs to be modified by extensions

Needed by Ibe628d9d08352

Change-Id: I7788fedc934b7c93facead796af30c89c335a513

8 years agoMerge "Fix escaping for MSSQL LIKE queries."
jenkins-bot [Mon, 25 Apr 2016 05:01:51 +0000 (05:01 +0000)]
Merge "Fix escaping for MSSQL LIKE queries."

8 years agoFix escaping for MSSQL LIKE queries.
U-REDMOND\emadelw [Tue, 23 Sep 2014 23:23:49 +0000 (16:23 -0700)]
Fix escaping for MSSQL LIKE queries.

MSSQL allows for more operators than standard LIKE queries. In addition,
an ESCAPE clause must be specified in order to backslash-escapes to work.

Bug: T73207
Change-Id: Idadf9d56cadc48cf47d000598d8a3214c684f9d5

8 years agoMerge "Add X-Robots-Tag header to Special:Export dumps"
jenkins-bot [Sun, 24 Apr 2016 21:48:22 +0000 (21:48 +0000)]
Merge "Add X-Robots-Tag header to Special:Export dumps"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 24 Apr 2016 20:04:46 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib552061b1052fae52ba0a3c3cba6dfa6a9f20ea0

8 years agoMerge "Align to CSS coding guidelines and fix CSSLint errors & warnings"
jenkins-bot [Sun, 24 Apr 2016 19:19:22 +0000 (19:19 +0000)]
Merge "Align to CSS coding guidelines and fix CSSLint errors & warnings"

8 years agoBidi-isolate the comment in history pages
Amire80 [Sun, 24 Apr 2016 18:20:22 +0000 (21:20 +0300)]
Bidi-isolate the comment in history pages

The comment and the page name are separate pieces of text,
but they can get jumbled in an RTL wiki if the comment has RTL text.

Change-Id: Id49c53ca6a5ec5a7a0b87c297f47e1fbe822d1fc

8 years agoAdd X-Robots-Tag header to Special:Export dumps
Andrew H [Sun, 24 Apr 2016 17:59:27 +0000 (17:59 +0000)]
Add X-Robots-Tag header to Special:Export dumps

Adds "X-Robots-Tag: noindex,nofollow" header to Special:Export
dumps so that dumps are not indexed by search engines.

Bug: T91363
Change-Id: Ia96ec40ff185fdfd024312ee3cfe3c736ba8d806

8 years agoMerge "Namespace LinkTarget under MediaWiki\Linker"
jenkins-bot [Sun, 24 Apr 2016 12:31:13 +0000 (12:31 +0000)]
Merge "Namespace LinkTarget under MediaWiki\Linker"

8 years agoParser: Don't use deprecated Title::setFragment()
Kunal Mehta [Sun, 24 Apr 2016 06:27:00 +0000 (23:27 -0700)]
Parser: Don't use deprecated Title::setFragment()

Change-Id: I2b9ea95af288cfe5abc9a1116884a7701f7c36a0

8 years agochmod 664 SpecialSearch.php
Reedy [Sat, 23 Apr 2016 21:48:30 +0000 (22:48 +0100)]
chmod 664 SpecialSearch.php

Change-Id: I860a4439e34280f19dcd2c7b2a0ce7951503c262

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 23 Apr 2016 19:53:14 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I08afd3e2ef249cd2392012537592f33703cbfe4d

8 years agoMerge "Make HTMLCheckField::loadDataFromRequest always return a boolean"
jenkins-bot [Sat, 23 Apr 2016 17:01:32 +0000 (17:01 +0000)]
Merge "Make HTMLCheckField::loadDataFromRequest always return a boolean"

8 years agoMake HTMLCheckField::loadDataFromRequest always return a boolean
Gergő Tisza [Sat, 23 Apr 2016 16:27:02 +0000 (16:27 +0000)]
Make HTMLCheckField::loadDataFromRequest always return a boolean

Bug: T133163
Change-Id: I4592d9a44c6ca4d3f680a53ecfd628f385a65c09

8 years agoMerge "Format count of files on Special:ListFiles as number"
jenkins-bot [Sat, 23 Apr 2016 16:02:11 +0000 (16:02 +0000)]
Merge "Format count of files on Special:ListFiles as number"

8 years agoregistration: Explain skipFunction more succinctly
James D. Forrester [Sat, 23 Apr 2016 01:54:13 +0000 (18:54 -0700)]
registration: Explain skipFunction more succinctly

Don't use the RL documentation for skipFunction which is wordy and
not helpful, to be in keeping with the rest of this file.

Change-Id: Ic72672be94537176a9aa0a138052137c9715f7cf

8 years agoFormat count of files on Special:ListFiles as number
umherirrender [Fri, 22 Apr 2016 20:28:41 +0000 (22:28 +0200)]
Format count of files on Special:ListFiles as number

Change-Id: I712009a0f58e9ebfea6bbfbf401f5e2284714e31

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 22 Apr 2016 20:08:03 +0000 (20:08 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 22 Apr 2016 20:05:45 +0000 (22:05 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Idcbc72b595213f1c7637525cfe72eaa88053dd80

8 years agoMerge "Fix EventRelayerKafka IDEA errors"
jenkins-bot [Fri, 22 Apr 2016 20:05:24 +0000 (20:05 +0000)]
Merge "Fix EventRelayerKafka IDEA errors"

8 years agoFix EventRelayerKafka IDEA errors
Aaron Schulz [Fri, 22 Apr 2016 19:12:29 +0000 (12:12 -0700)]
Fix EventRelayerKafka IDEA errors

Change-Id: I2808cb3cefb4d97f5ae2650554076c92b0d877d9

8 years agoMerge "HTMLForm: Don't render 'mw-htmlform-submit-buttons' if there aren't any buttons"
jenkins-bot [Fri, 22 Apr 2016 18:50:48 +0000 (18:50 +0000)]
Merge "HTMLForm: Don't render 'mw-htmlform-submit-buttons' if there aren't any buttons"

8 years agoNames.php: Replace remaining tabs and double spaces
Fomafix [Fri, 22 Apr 2016 11:52:12 +0000 (11:52 +0000)]
Names.php: Replace remaining tabs and double spaces

Follow-up to a3552004
Change-Id: I6a76de73fcfc21516fab7415057260e27e924696

8 years agoFix GENDER support in logentry-rights-rights
matejsuchanek [Sun, 10 Apr 2016 18:41:57 +0000 (20:41 +0200)]
Fix GENDER support in logentry-rights-rights

Introduced in 70f0b0e588e40a18ce53c56a59efcc740f2766d2.
Got to core by my +1, sorry

Bug: T52583

Change-Id: I328fadacf7e5e3b7b250b76556ed585eeba424ca

8 years agoMerge "BagOStuff: Optionally log duplicate key lookups"
jenkins-bot [Fri, 22 Apr 2016 16:50:10 +0000 (16:50 +0000)]
Merge "BagOStuff: Optionally log duplicate key lookups"

8 years agoHTMLForm: Don't render 'mw-htmlform-submit-buttons' if there aren't any buttons
Bartosz Dziewoński [Fri, 22 Apr 2016 13:32:53 +0000 (15:32 +0200)]
HTMLForm: Don't render 'mw-htmlform-submit-buttons' if there aren't any buttons

Visually, this only affects OOUIHTMLForm, in other kinds of forms
the element has no height anyway.

Change-Id: I90e73c49fbefec23532368848bb30b2e7b69075c

8 years agoMerge "Have Linker::linkUrl() accept LinkTarget"
jenkins-bot [Fri, 22 Apr 2016 11:46:16 +0000 (11:46 +0000)]
Merge "Have Linker::linkUrl() accept LinkTarget"

8 years agoMerge "Add LinkTarget::createFragmentTarget() function"
jenkins-bot [Fri, 22 Apr 2016 11:46:12 +0000 (11:46 +0000)]
Merge "Add LinkTarget::createFragmentTarget() function"

8 years agoMerge "RELNOTES for Skin::__call unroll & removal"
jenkins-bot [Fri, 22 Apr 2016 06:54:02 +0000 (06:54 +0000)]
Merge "RELNOTES for Skin::__call unroll & removal"

8 years agoMerge "Remove unused Skin -> Linker deprecated methods"
jenkins-bot [Fri, 22 Apr 2016 06:53:58 +0000 (06:53 +0000)]
Merge "Remove unused Skin -> Linker deprecated methods"

8 years agoSet an alias for TrackingCategories page in Czech
Martin Urbanec [Thu, 21 Apr 2016 18:49:46 +0000 (20:49 +0200)]
Set an alias for TrackingCategories page in Czech

Change-Id: I0c97cf6ce6aa342a50b667b06dc2e78175d9fbc1

8 years agoUnify the spaces before the comment in Names.php
Amire80 [Mon, 18 Apr 2016 08:48:26 +0000 (14:18 +0530)]
Unify the spaces before the comment in Names.php

Change everything from a varying number of tabs
to a single space.

The tabs don't really help make it more readable.

Change-Id: Ie84ee675ce4a50f78ec67d3840edc1a19f2c7884

8 years agoBagOStuff: Optionally log duplicate key lookups
Bryan Davis [Wed, 2 Mar 2016 02:25:55 +0000 (19:25 -0700)]
BagOStuff: Optionally log duplicate key lookups

Add new 'reportDupes' parameter to BagOStuff. This parameter enables scheduling
of a callback after the current web request ends. This callback will emit warning
log messages for all keys that were requested more than once.

The default ObjectCache factory for MediaWiki enables this option by default.
Not by default for plain BagOStuff instances, however. E.g. `new HashBagOStuff()`.

It also set 'asyncHandler' for all classes now (not just MultiWriteBagOStuff).

Bug: T128125
Co-Authored-By: Timo Tijhof <krinklemail@gmail.com>
Change-Id: I8a2b06cf54d2acf5950eed71756ecdf50e224be1

8 years agoMerge "Add missing tests for some edge cases in WatchedItem::getNotificationTimestamp"
jenkins-bot [Fri, 22 Apr 2016 01:49:11 +0000 (01:49 +0000)]
Merge "Add missing tests for some edge cases in WatchedItem::getNotificationTimestamp"

8 years agoMerge "Remove unused JobQueueRedis vars"
jenkins-bot [Fri, 22 Apr 2016 01:49:07 +0000 (01:49 +0000)]
Merge "Remove unused JobQueueRedis vars"

8 years agoNamespace LinkTarget under MediaWiki\Linker
Kunal Mehta [Wed, 20 Apr 2016 08:29:21 +0000 (01:29 -0700)]
Namespace LinkTarget under MediaWiki\Linker

And add a GPL file header while we're at it.

Change-Id: I15a6f240124c879b21fb655ade1baaebf4f34ffd

8 years agoHave Linker::linkUrl() accept LinkTarget
Kunal Mehta [Wed, 20 Apr 2016 08:12:28 +0000 (01:12 -0700)]
Have Linker::linkUrl() accept LinkTarget

This is a private function so it doesn't really make much of a
difference, but will allow further refactoring.

Change-Id: Idacad7b1bd4776c04659ed9af64540d6ce4b2f28

8 years agoAdd LinkTarget::createFragmentTarget() function
Kunal Mehta [Wed, 20 Apr 2016 08:09:23 +0000 (01:09 -0700)]
Add LinkTarget::createFragmentTarget() function

The createFragmentTarget function allows for switching the fragment on a
target in an easier way. TitleValue already had a now-renamed
createFragmentTitle function (no uses outside of tests), and an
implementation was added for Title.

This will also help with reducing the amount of public usage of
Title::setFragment(), which is deprecated.

Change-Id: I1e8ba2f85e748b1b4394fb2f2a1ccce69cf6e3c5

8 years agoAlign to CSS coding guidelines and fix CSSLint errors & warnings
Volker E [Thu, 3 Dec 2015 01:32:01 +0000 (17:32 -0800)]
Align to CSS coding guidelines and fix CSSLint errors & warnings

Fixes included are:
- Coding guidelines: align colors
- Coding guidelines: put every selector of combined selectors on
one line
- Coding guidelines: use `border: 0` instead of `border: none`
and put border shortcut structure into same order across selectors
for better gzipping
- Coding guidelines: whitespace in parenthesis
- CSSLint: disable applying `margin` for inline elements
- General: clean-up comments
- General: join pagination and 'Generic HTML elements'' rules
- General: add `word-wrap: break-word` to `pre, .mw-code` selector
to aggressively wrap long words
- General: swap `1px` border values with `1pt`
- General: integrate `word-wrap: break-word` on `.external` links
with possible overlong URLs
- General: do the `list-style` shorthand property right.

Bug: T120154
Change-Id: I29bf055e2b4fc0e26ce84243f6b612b4a6214b02

8 years agoMerge "TableDiffFormatter: Don't repeatedly call array_shift()"
jenkins-bot [Thu, 21 Apr 2016 21:37:40 +0000 (21:37 +0000)]
Merge "TableDiffFormatter: Don't repeatedly call array_shift()"

8 years agoMerge "Improve getErrorsByType() docs"
jenkins-bot [Thu, 21 Apr 2016 21:25:39 +0000 (21:25 +0000)]
Merge "Improve getErrorsByType() docs"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 21 Apr 2016 20:37:42 +0000 (22:37 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If37acfa27b8f6648209998996ebef2e8bbe83622

8 years agoOOjs UI: Correct display of MenuToolGroup checkmarks
James D. Forrester [Thu, 21 Apr 2016 17:36:29 +0000 (10:36 -0700)]
OOjs UI: Correct display of MenuToolGroup checkmarks

Pulling I6b2eeffd forward from next week's release.

Bug: T133227
Change-Id: Ic7adcb78c50ec89071f1efb4e35f42a3809f874b

8 years agoRemove unused JobQueueRedis vars
Aaron Schulz [Tue, 19 Apr 2016 18:31:22 +0000 (11:31 -0700)]
Remove unused JobQueueRedis vars

Change-Id: I953df3daa2ec6b667971a8acd69ff59259d7ab55

8 years agoMerge "mediawiki.api.upload: Unbreak finishing stash uploads"
jenkins-bot [Thu, 21 Apr 2016 15:49:17 +0000 (15:49 +0000)]
Merge "mediawiki.api.upload: Unbreak finishing stash uploads"

8 years agoMerge "Catch JobQueue errors in SiteStats::jobs"
jenkins-bot [Thu, 21 Apr 2016 15:39:07 +0000 (15:39 +0000)]
Merge "Catch JobQueue errors in SiteStats::jobs"

8 years agomediawiki.api.upload: Unbreak finishing stash uploads
Bartosz Dziewoński [Thu, 21 Apr 2016 15:32:05 +0000 (17:32 +0200)]
mediawiki.api.upload: Unbreak finishing stash uploads

The upload would complete successfully, but the upload
dialog would just hang for the user.

Follow-up to 11a2791668260211f1b82ec4954082533ff3adee.

Bug: T133295
Change-Id: I92724c6356d7dbf5c4cb87c05366bb7ed1ec8587

8 years agoMerge "Add getStatsdDataFactory to MediawikiServices"
jenkins-bot [Thu, 21 Apr 2016 14:03:45 +0000 (14:03 +0000)]
Merge "Add getStatsdDataFactory to MediawikiServices"

8 years agoAdd missing tests for some edge cases in WatchedItem::getNotificationTimestamp
Leszek Manicki [Wed, 20 Apr 2016 09:57:02 +0000 (11:57 +0200)]
Add missing tests for some edge cases in WatchedItem::getNotificationTimestamp

Change-Id: I18dd5976cc0f44f9dca8ee420ace226e49ab6288

8 years agoMake MessageCache handle lock timeouts better
Aaron Schulz [Wed, 20 Apr 2016 19:37:00 +0000 (12:37 -0700)]
Make MessageCache handle lock timeouts better

* Timeouts happen when memcached is cleared or on DC-switchover likewise
* Disable the sidebar cache when the MessageCache is disabled
* Also lower any output expiry for CDN and set a custom header
  when the MessageCache is disabled
* Log when this happens to a dedicated "MessageCacheError" channel

Bug: T133069
Bug: T7092
Change-Id: I1b80e250532033c52680246279e1e8f56350ae83

8 years agoMerge "SessionManager: Ignore Session object destruction during global shutdown"
jenkins-bot [Thu, 21 Apr 2016 10:25:43 +0000 (10:25 +0000)]
Merge "SessionManager: Ignore Session object destruction during global shutdown"

8 years agoMerge "Add LinkTarget::hasFragment() helper function"
jenkins-bot [Thu, 21 Apr 2016 08:29:48 +0000 (08:29 +0000)]
Merge "Add LinkTarget::hasFragment() helper function"

8 years agoMerge "Remove unused wfGetDB() in SiteStats::jobs"
jenkins-bot [Thu, 21 Apr 2016 05:31:47 +0000 (05:31 +0000)]
Merge "Remove unused wfGetDB() in SiteStats::jobs"

8 years agoAdd LinkTarget::hasFragment() helper function
Kunal Mehta [Wed, 20 Apr 2016 08:07:58 +0000 (01:07 -0700)]
Add LinkTarget::hasFragment() helper function

LinkTarget::hasFragment() is a helper function which returns a boolean
of whether the target has a fragment. Title already had such a function,
and one was added to TitleValue.

Co-Authored-By: addshore <addshorewiki@gmail.com>
Change-Id: I49e607ae5a58c3aef96d0246297740e7d88ac816

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 20 Apr 2016 20:41:38 +0000 (22:41 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I910ce04ca2372c9b7ac534664464b4edca6f759f

8 years agoMerge "Add missing visualClear on search result page"
jenkins-bot [Wed, 20 Apr 2016 19:18:31 +0000 (19:18 +0000)]
Merge "Add missing visualClear on search result page"

8 years agoMerge "Create Kafka event relayer"
jenkins-bot [Wed, 20 Apr 2016 18:47:17 +0000 (18:47 +0000)]
Merge "Create Kafka event relayer"

8 years agoCreate Kafka event relayer
Stanislav Malyshev [Fri, 15 Apr 2016 21:01:23 +0000 (14:01 -0700)]
Create Kafka event relayer

Bug: T125138
Change-Id: I9d7705cb164bc975c3a0ddf4a33ac54fe7de931c

8 years agoFix ExternalStoreDB IDEA errors
Aaron Schulz [Wed, 20 Apr 2016 16:46:29 +0000 (09:46 -0700)]
Fix ExternalStoreDB IDEA errors

Change-Id: I6200173fd1cba4bdf03b61659a48016107672fad

8 years agoCatch errors in pushLazyJobs() and log them
Aaron Schulz [Wed, 20 Apr 2016 16:55:08 +0000 (09:55 -0700)]
Catch errors in pushLazyJobs() and log them

This happens post-send anyway, so throwing errors is not
very useful and the other post-send updates are independent.

Change-Id: Ife8f9825da9592be1a38cf4c757550213838463b

8 years agoSessionManager: Ignore Session object destruction during global shutdown
Brad Jorsch [Wed, 20 Apr 2016 16:27:26 +0000 (12:27 -0400)]
SessionManager: Ignore Session object destruction during global shutdown

We already save all open SessionBackends when shutdown handlers are run,
which *should* make the Session object destructors that run during
global shutdown not have anything to save. But it can get fooled if the
Session data contains other objects that have already gotten destroyed
during the global shutdown, leading to spurious warnings and errors as
it tries to access partically-destroyed objects.

The solution is to set a flag when we do the shutdown handlers and just
ignore the last gasps from Session::__destruct() that might come after.

Change-Id: Ic3eb0bac2d29a30488c84b6525ad796a7f1c9ce9

8 years agoAvoid ack() race condition in JobQueueRedis
Aaron Schulz [Wed, 20 Apr 2016 15:34:55 +0000 (08:34 -0700)]
Avoid ack() race condition in JobQueueRedis

The race would cause jobs to be be unclaimed but have
no actual job data, causing pop() to return false for
them.

Bug: T133089
Change-Id: Icc60388d4431ab7fa2ca2e46bbb0d212b2b94201

8 years agoMerge "Remove stray variable in processLogin()"
jenkins-bot [Wed, 20 Apr 2016 16:08:57 +0000 (16:08 +0000)]
Merge "Remove stray variable in processLogin()"

8 years agoCatch JobQueue errors in SiteStats::jobs
addshore [Wed, 20 Apr 2016 10:07:40 +0000 (11:07 +0100)]
Catch JobQueue errors in SiteStats::jobs

Bug: T133045
Change-Id: I68a9334a63c04609227f4c4e9ae510633543c3d5

8 years agoMerge "Deprecated 3 methods in DummyLinker"
jenkins-bot [Wed, 20 Apr 2016 08:24:15 +0000 (08:24 +0000)]
Merge "Deprecated 3 methods in DummyLinker"

8 years agoMerge "Unroll DummyLinker::__call"
jenkins-bot [Wed, 20 Apr 2016 08:22:41 +0000 (08:22 +0000)]
Merge "Unroll DummyLinker::__call"

8 years agoDeprecated 3 methods in DummyLinker
addshore [Wed, 20 Apr 2016 08:08:25 +0000 (09:08 +0100)]
Deprecated 3 methods in DummyLinker

These methods are already deprecated in
Linker but they should also warn with the
method in DummyLinker

Change-Id: I41f0ee5b37f8a92711d1396b8b40d5235b643238

8 years agoMerge "Move DummyLinker to own file"
jenkins-bot [Wed, 20 Apr 2016 08:04:34 +0000 (08:04 +0000)]
Merge "Move DummyLinker to own file"

8 years agoUnroll DummyLinker::__call
addshore [Wed, 20 Apr 2016 07:54:42 +0000 (08:54 +0100)]
Unroll DummyLinker::__call

Change-Id: Ie1325c2b8f06f9936e7b7ad10780c4b0cf702d18

8 years agoMove DummyLinker to own file
addshore [Wed, 20 Apr 2016 07:48:48 +0000 (08:48 +0100)]
Move DummyLinker to own file

Change-Id: I1808a6b77af2597b4dd2c9f1e0c8604c2bc8c801

8 years agoRELNOTES for Skin::__call unroll & removal
addshore [Tue, 19 Apr 2016 12:52:01 +0000 (13:52 +0100)]
RELNOTES for Skin::__call unroll & removal

Change-Id: I3d03338cbb48fe00f2beeb0dc7f5a1c2ff25d77d

8 years agoRemove unused Skin -> Linker deprecated methods
addshore [Tue, 19 Apr 2016 12:41:43 +0000 (13:41 +0100)]
Remove unused Skin -> Linker deprecated methods

This also creates full pass through methods for
the remaining methods that are used by extensions
and skins in gerrit still.

Release notes will be added in a followup

Change-Id: I31c3b754cd70b1c60310add0de9d29a76f713cad

8 years agoRe add wfDeprecated calls after Skin::__call unroll
addshore [Wed, 20 Apr 2016 07:33:47 +0000 (08:33 +0100)]
Re add wfDeprecated calls after Skin::__call unroll

Change-Id: I0418d88e0fe355b7efff6e923d3144db3a294cea

8 years agoSpecially handle Title objects in Title::newFromLinkTarget()
Kunal Mehta [Wed, 20 Apr 2016 05:21:09 +0000 (22:21 -0700)]
Specially handle Title objects in Title::newFromLinkTarget()

Every single caller of Title::newFromLinkTarget() already special cases
when the LinkTarget object is already a Title, so move that logic into
one function.

Change-Id: Iba5432ae01c87850e5b34893092427c5b1629188

8 years agoAdd root title class to <body>
Marc A. Pelletier [Sun, 3 Apr 2016 07:46:06 +0000 (10:46 +0300)]
Add root title class to <body>

This adds a class to the body node of output pages in the form:

rootpage-X

Where X is the root title of the page.

This provides for the use cases in the linked tasks, and allows the
numerous existing cases of expensive css selectors using class*='page-X'
that are otherwise needed to apply a style to a page and or its subpages.

Bug: T123156
Bug: T17075
Change-Id: Ib16e380d97bd7bb55c5b5044a084fefbd039d599

8 years agoMerge "RebuildRecentchanges improvements"
jenkins-bot [Wed, 20 Apr 2016 00:02:47 +0000 (00:02 +0000)]
Merge "RebuildRecentchanges improvements"

8 years agoUpdate OOjs UI to v0.16.6
James D. Forrester [Tue, 19 Apr 2016 22:00:12 +0000 (15:00 -0700)]
Update OOjs UI to v0.16.6

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.16.6/History.md

Change-Id: Ib9bb35d87633d06211dd75e237d7b105947f8df1

8 years agoRebuildRecentchanges improvements
Aaron Schulz [Tue, 19 Apr 2016 20:40:38 +0000 (13:40 -0700)]
RebuildRecentchanges improvements

* Always delete entries in the time range
* Batch queries and wait for slaves
* Optimized size-fetching query (pass 2)
* Set with rc_type with the actual constants (pass 2)
* Avoid flagging non-bot accounts as 'bot edits
* Use more modern DB layer coding style

Bug: T133053
Change-Id: I55cc099bf40977fa9e0a365da104c208441eec00

8 years agoMerge "Unroll __call in Skin"
jenkins-bot [Tue, 19 Apr 2016 20:25:53 +0000 (20:25 +0000)]
Merge "Unroll __call in Skin"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 19 Apr 2016 19:59:09 +0000 (21:59 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I945074db5ba068c8e6b49b0cef3990938e766f16

8 years agoMerge "Improve HTMLSubmitField return value"
jenkins-bot [Tue, 19 Apr 2016 19:43:55 +0000 (19:43 +0000)]
Merge "Improve HTMLSubmitField return value"

8 years agoMerge "rebuildrecentchanges: Allow rebuilding specified time range only"
jenkins-bot [Tue, 19 Apr 2016 18:44:10 +0000 (18:44 +0000)]
Merge "rebuildrecentchanges: Allow rebuilding specified time range only"

8 years agorebuildrecentchanges: Allow rebuilding specified time range only
Bartosz Dziewoński [Tue, 19 Apr 2016 17:58:22 +0000 (19:58 +0200)]
rebuildrecentchanges: Allow rebuilding specified time range only

Bug: T133053
Change-Id: I8eef6e72f1105352116248548ab077fef818a8f9

8 years agoAdd missing visualClear on search result page
Florian [Tue, 19 Apr 2016 17:24:04 +0000 (19:24 +0200)]
Add missing visualClear on search result page

I'm not sure, when this was removed or why it broke, but without
the visualClear (clear:both), the text match section is near the
title match section, instead of after it.

Bug: T133071
Change-Id: I68028a8658ba0aa526ce1a6ef6401f9fd79533f8

8 years agoRemove stray variable in processLogin()
Aaron Schulz [Tue, 19 Apr 2016 16:52:27 +0000 (09:52 -0700)]
Remove stray variable in processLogin()

Change-Id: Ife23555755e69d1d40b0c37259f53f3df78468aa

8 years agoRemove unused wfGetDB() in SiteStats::jobs
addshore [Tue, 19 Apr 2016 16:07:50 +0000 (17:07 +0100)]
Remove unused wfGetDB() in SiteStats::jobs

Change-Id: Id818a71a75e4d4cb8397df5b1ff3dfdd3b155ea7

8 years agoMerge "Convert Special:WithoutInterwiki to HTMLForm"
jenkins-bot [Tue, 19 Apr 2016 15:19:43 +0000 (15:19 +0000)]
Merge "Convert Special:WithoutInterwiki to HTMLForm"

8 years agoUnroll __call in Skin
addshore [Tue, 19 Apr 2016 12:37:04 +0000 (13:37 +0100)]
Unroll __call in Skin

Change-Id: Ia07a6099fed42bddcf2d6135de9c06f744b2f309

8 years agoMerge "Fix wrong @return type hints in Language::tsTo… methods"
jenkins-bot [Tue, 19 Apr 2016 12:12:34 +0000 (12:12 +0000)]
Merge "Fix wrong @return type hints in Language::tsTo… methods"

8 years agoAdd getStatsdDataFactory to MediawikiServices
addshore [Mon, 11 Apr 2016 18:28:17 +0000 (19:28 +0100)]
Add getStatsdDataFactory to MediawikiServices

Change-Id: Iaf89d5d7887f766064266874ea7ba73362531ed2