Drop support for old skins that don't use head element
authorDaniel Friesen <daniel@nadir-seen-fire.com>
Sun, 12 May 2013 08:35:42 +0000 (01:35 -0700)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 31 May 2014 13:30:19 +0000 (15:30 +0200)
commit0f6609447e8cbd1d371e40b3fdd919bf71c3f5df
tree43fb61b5d2c7ee6a9ebea5bde09e45ceb4552f4a
parent96c5cd8d9b55e0c80cbd7f8ad07e4b49306c53c3
Drop support for old skins that don't use head element

These skins have been obsolete since 1.16 and aren't supported well at this point.
This deprecates those skins and begins deprecation of the creation of <head> contents
with only chunks of OutputPage stuff. The entire head should be created by OutputPage.

This also deprecates some old methods responsible for returning raw chunks of html for the head:
* getScript
* getHeadItems

Output of HeadItems is also tweaked. Previously there was no newline added
after each item, now there is. Most of the callers of addHeadItem don't use
their own newline and as a result end up on one line.

Change-Id: I13e25cc8d8fc3aa682f23b019a2fda0e809a5f64
RELEASE-NOTES-1.24
includes/OutputPage.php
includes/SkinTemplate.php
skins/MonoBook.php
skins/Vector.php