OutputPage: Remove support for non-existent /w/skins/common directory
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 21 May 2018 21:08:02 +0000 (22:08 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 22 May 2018 11:07:42 +0000 (11:07 +0000)
commit747755898052fde5ca24b9153666b8764a6f3dbf
tree8e37fe9ba7002688f3e5d80edf5d8fca0eeca47a
parentf6eed95d98dd5d1d503313fb1fc420f578de217d
OutputPage: Remove support for non-existent /w/skins/common directory

Test Plan:
* Add calls `$this->addScriptFile( 'example.js' )` and
  `$this->addScriptFile( '/example.js' )` to top of OutputPage::output().
* Without this change, two `<script>` are added.
* With this change, only for the latter a script is added,
  and the former triggers a deprecation warning.

Bug: T71277
Bug: T181318
Change-Id: I0576ef09fafa4ba34d52d75f4211fcfa28f4f3b0
includes/OutputPage.php