Brian Wolff [Fri, 29 Jan 2016 09:46:32 +0000 (04:46 -0500)]
Require strip marker names to not have & ' " < or > in them
This is a little far fetched, but meant as a hardening step. No
valid strip marker name should have any of those things in them.
If a malicious user managed to somehow control the strip marker name,
he could make a strip marker that "spanned" different html contexts.
Note: I've checked carefully - its impossible for a user to control
the strip marker name. This is just a hardening step against any
future features.
For example, if someone could make a strip marker using the marker
name "a','b", then they could create an xss by feeding
"\x7UNIQfa+QINU\x7f" to charinsert, which will split on + sign,
and create output like
<a onclick="mw.toolbar.insertTags('\x7FUNIQa','bQIN\X7f...
It just seems safer to not allow any of the special characters in
strip marker names - especially because there is no need to ever
use them, and to my knowledge there is no example of anyone ever
actually using such a special character in the marker name.
and not recognize either part as a strip marker.
Change-Id: I798d31aff4e48b4c6da886530c15867226c953d2
Brian Wolff [Mon, 22 Feb 2016 22:21:52 +0000 (17:21 -0500)]
Add -f as an alias of --force to cli args of updateCollation.php
Because I kept accidentally using -f without realizing it didn't
work.
Change-Id: I71da15c81ca12c630304f594d144c4c7289ec28c
jenkins-bot [Tue, 26 Apr 2016 14:37:17 +0000 (14:37 +0000)]
Merge "Handle null data return in HTMLForm"
jenkins-bot [Tue, 26 Apr 2016 03:22:38 +0000 (03:22 +0000)]
Merge "cleanUp all invalid utf8 in sql for debug toolbar"
jenkins-bot [Tue, 26 Apr 2016 03:14:08 +0000 (03:14 +0000)]
Merge "Update hard refresh instructions for Opera"
jenkins-bot [Tue, 26 Apr 2016 03:14:04 +0000 (03:14 +0000)]
Merge "Add @since docs to SpecialPage::getTitleFor"
jenkins-bot [Tue, 26 Apr 2016 02:56:53 +0000 (02:56 +0000)]
Merge "Convert array() => [] in some comments"
Gergő Tisza [Sat, 23 Apr 2016 16:35:15 +0000 (16:35 +0000)]
Handle null data return in HTMLForm
Fix a test in If4e0dfb : in the unlikely but valid case when
some form field object returns null from loadDataFromRequest,
handle it correctly and do not replace it with the default value.
Bug: T133163
Change-Id: Id8b48cfc6288d11a79a5838e72bb80b14137a7b0
jenkins-bot [Mon, 25 Apr 2016 22:50:47 +0000 (22:50 +0000)]
Merge "mw.ForeignApi: Percent-encode dots in the 'origin' parameter"
Aaron Schulz [Fri, 22 Apr 2016 21:17:26 +0000 (14:17 -0700)]
Convert array() => [] in some comments
Change-Id: Ibdaf92617f2971aaf977d99c8674b4236ffa5a1f
Aaron Schulz [Mon, 25 Apr 2016 19:14:00 +0000 (12:14 -0700)]
Make $wgEventRelayerConfig docs less confusing
Change-Id: I9fc0e9fe5fa52aa5176067b3390f64adc540f2e4
jenkins-bot [Mon, 25 Apr 2016 21:45:20 +0000 (21:45 +0000)]
Merge "Check for global blocks"
Stanislav Malyshev [Sat, 23 Apr 2016 00:09:14 +0000 (17:09 -0700)]
Convert EventRelayerGroup to services infrastructure
Change-Id: If55ddf441de69189c7fcdd3440f899c6b14f690f
jenkins-bot [Mon, 25 Apr 2016 20:48:19 +0000 (20:48 +0000)]
Merge "Make WAN cache config use $wgEventRelayerConfig"
Translation updater bot [Mon, 25 Apr 2016 19:53:10 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I8fd94df7ba904dcae764f5d1286af22f87d94cad
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
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()"
jenkins-bot [Mon, 25 Apr 2016 16:30:23 +0000 (16:30 +0000)]
Merge "Bidi-isolate the comment in history pages"
jenkins-bot [Mon, 25 Apr 2016 15:18:07 +0000 (15:18 +0000)]
Merge "Migration 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
jenkins-bot [Mon, 25 Apr 2016 12:19:21 +0000 (12:19 +0000)]
Merge "Parser: Don't use deprecated Title::setFragment()"
addshore [Mon, 25 Apr 2016 12:18:09 +0000 (13:18 +0100)]
Add @since docs to SpecialPage::getTitleFor
Change-Id: Ia1e75bc50638f9762d03a182fcd146b56f91ae08
jenkins-bot [Mon, 25 Apr 2016 06:28:10 +0000 (06:28 +0000)]
Merge "registration: 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
jenkins-bot [Mon, 25 Apr 2016 05:01:51 +0000 (05:01 +0000)]
Merge "Fix 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
jenkins-bot [Sun, 24 Apr 2016 21:48:22 +0000 (21:48 +0000)]
Merge "Add X-Robots-Tag header to Special:Export dumps"
Translation updater bot [Sun, 24 Apr 2016 20:04:46 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib552061b1052fae52ba0a3c3cba6dfa6a9f20ea0
jenkins-bot [Sun, 24 Apr 2016 19:19:22 +0000 (19:19 +0000)]
Merge "Align to CSS coding guidelines and fix CSSLint errors & warnings"
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
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
jenkins-bot [Sun, 24 Apr 2016 12:31:13 +0000 (12:31 +0000)]
Merge "Namespace LinkTarget under MediaWiki\Linker"
Kunal Mehta [Sun, 24 Apr 2016 06:27:00 +0000 (23:27 -0700)]
Parser: Don't use deprecated Title::setFragment()
Change-Id: I2b9ea95af288cfe5abc9a1116884a7701f7c36a0
Reedy [Sat, 23 Apr 2016 21:48:30 +0000 (22:48 +0100)]
chmod 664 SpecialSearch.php
Change-Id: I860a4439e34280f19dcd2c7b2a0ce7951503c262
Translation updater bot [Sat, 23 Apr 2016 19:53:14 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I08afd3e2ef249cd2392012537592f33703cbfe4d
jenkins-bot [Sat, 23 Apr 2016 17:01:32 +0000 (17:01 +0000)]
Merge "Make 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
jenkins-bot [Sat, 23 Apr 2016 16:02:11 +0000 (16:02 +0000)]
Merge "Format count of files on Special:ListFiles as number"
Amir E. Aharoni [Sat, 23 Apr 2016 05:48:58 +0000 (05:48 +0000)]
Update hard refresh instructions for Opera
Change-Id: I41392c9a8ae7b3c2dc52c82f0d66b7e4da764cac
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
umherirrender [Fri, 22 Apr 2016 20:28:41 +0000 (22:28 +0200)]
Format count of files on Special:ListFiles as number
Change-Id: I712009a0f58e9ebfea6bbfbf401f5e2284714e31
Translation updater bot [Fri, 22 Apr 2016 20:08:03 +0000 (20:08 +0000)]
Merge "Localisation 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
jenkins-bot [Fri, 22 Apr 2016 20:05:24 +0000 (20:05 +0000)]
Merge "Fix EventRelayerKafka IDEA errors"
umherirrender [Fri, 22 Apr 2016 19:50:44 +0000 (21:50 +0200)]
cleanUp all invalid utf8 in sql for debug toolbar
Some sql still contains utf8 which is not replaced by ■, clean up this
bytes by using UtfNormal.
Change-Id: I548ffd783536c65b023b1598a5c57fb9b86c6db2
Aaron Schulz [Fri, 22 Apr 2016 19:12:29 +0000 (12:12 -0700)]
Fix EventRelayerKafka IDEA errors
Change-Id: I2808cb3cefb4d97f5ae2650554076c92b0d877d9
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"
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
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
jenkins-bot [Fri, 22 Apr 2016 16:50:10 +0000 (16:50 +0000)]
Merge "BagOStuff: Optionally log duplicate key lookups"
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
jenkins-bot [Fri, 22 Apr 2016 11:46:16 +0000 (11:46 +0000)]
Merge "Have Linker::linkUrl() accept LinkTarget"
jenkins-bot [Fri, 22 Apr 2016 11:46:12 +0000 (11:46 +0000)]
Merge "Add LinkTarget::createFragmentTarget() function"
jenkins-bot [Fri, 22 Apr 2016 06:54:02 +0000 (06:54 +0000)]
Merge "RELNOTES for Skin::__call unroll & removal"
jenkins-bot [Fri, 22 Apr 2016 06:53:58 +0000 (06:53 +0000)]
Merge "Remove unused Skin -> Linker deprecated methods"
Martin Urbanec [Thu, 21 Apr 2016 18:49:46 +0000 (20:49 +0200)]
Set an alias for TrackingCategories page in Czech
Change-Id: I0c97cf6ce6aa342a50b667b06dc2e78175d9fbc1
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
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
jenkins-bot [Fri, 22 Apr 2016 01:49:11 +0000 (01:49 +0000)]
Merge "Add missing tests for some edge cases in WatchedItem::getNotificationTimestamp"
jenkins-bot [Fri, 22 Apr 2016 01:49:07 +0000 (01:49 +0000)]
Merge "Remove unused JobQueueRedis vars"
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
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
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
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
jenkins-bot [Thu, 21 Apr 2016 21:37:40 +0000 (21:37 +0000)]
Merge "TableDiffFormatter: Don't repeatedly call array_shift()"
jenkins-bot [Thu, 21 Apr 2016 21:25:39 +0000 (21:25 +0000)]
Merge "Improve getErrorsByType() docs"
Translation updater bot [Thu, 21 Apr 2016 20:37:42 +0000 (22:37 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If37acfa27b8f6648209998996ebef2e8bbe83622
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
Aaron Schulz [Tue, 19 Apr 2016 18:31:22 +0000 (11:31 -0700)]
Remove unused JobQueueRedis vars
Change-Id: I953df3daa2ec6b667971a8acd69ff59259d7ab55
jenkins-bot [Thu, 21 Apr 2016 15:49:17 +0000 (15:49 +0000)]
Merge "mediawiki.api.upload: Unbreak finishing stash uploads"
jenkins-bot [Thu, 21 Apr 2016 15:39:07 +0000 (15:39 +0000)]
Merge "Catch JobQueue errors in SiteStats::jobs"
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
jenkins-bot [Thu, 21 Apr 2016 14:03:45 +0000 (14:03 +0000)]
Merge "Add getStatsdDataFactory to MediawikiServices"
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
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
jenkins-bot [Thu, 21 Apr 2016 10:25:43 +0000 (10:25 +0000)]
Merge "SessionManager: Ignore Session object destruction during global shutdown"
jenkins-bot [Thu, 21 Apr 2016 08:29:48 +0000 (08:29 +0000)]
Merge "Add LinkTarget::hasFragment() helper function"
jenkins-bot [Thu, 21 Apr 2016 05:31:47 +0000 (05:31 +0000)]
Merge "Remove unused wfGetDB() in SiteStats::jobs"
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
Translation updater bot [Wed, 20 Apr 2016 20:41:38 +0000 (22:41 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I910ce04ca2372c9b7ac534664464b4edca6f759f
jenkins-bot [Wed, 20 Apr 2016 19:18:31 +0000 (19:18 +0000)]
Merge "Add missing visualClear on search result page"
jenkins-bot [Wed, 20 Apr 2016 18:47:17 +0000 (18:47 +0000)]
Merge "Create 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
Aaron Schulz [Wed, 20 Apr 2016 16:46:29 +0000 (09:46 -0700)]
Fix ExternalStoreDB IDEA errors
Change-Id: I6200173fd1cba4bdf03b61659a48016107672fad
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
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
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
jenkins-bot [Wed, 20 Apr 2016 16:08:57 +0000 (16:08 +0000)]
Merge "Remove stray variable in processLogin()"
addshore [Wed, 20 Apr 2016 10:07:40 +0000 (11:07 +0100)]
Catch JobQueue errors in SiteStats::jobs
Bug: T133045
Change-Id: I68a9334a63c04609227f4c4e9ae510633543c3d5
jenkins-bot [Wed, 20 Apr 2016 08:24:15 +0000 (08:24 +0000)]
Merge "Deprecated 3 methods in DummyLinker"
jenkins-bot [Wed, 20 Apr 2016 08:22:41 +0000 (08:22 +0000)]
Merge "Unroll DummyLinker::__call"
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
jenkins-bot [Wed, 20 Apr 2016 08:04:34 +0000 (08:04 +0000)]
Merge "Move DummyLinker to own file"
addshore [Wed, 20 Apr 2016 07:54:42 +0000 (08:54 +0100)]
Unroll DummyLinker::__call
Change-Id: Ie1325c2b8f06f9936e7b7ad10780c4b0cf702d18
addshore [Wed, 20 Apr 2016 07:48:48 +0000 (08:48 +0100)]
Move DummyLinker to own file
Change-Id: I1808a6b77af2597b4dd2c9f1e0c8604c2bc8c801
addshore [Tue, 19 Apr 2016 12:52:01 +0000 (13:52 +0100)]
RELNOTES for Skin::__call unroll & removal
Change-Id: I3d03338cbb48fe00f2beeb0dc7f5a1c2ff25d77d
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
addshore [Wed, 20 Apr 2016 07:33:47 +0000 (08:33 +0100)]
Re add wfDeprecated calls after Skin::__call unroll
Change-Id: I0418d88e0fe355b7efff6e923d3144db3a294cea
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
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