OutputPage: documentation for (semi-)deprecated methods
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Sat, 31 Oct 2015 15:16:58 +0000 (16:16 +0100)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 1 Nov 2015 00:43:03 +0000 (01:43 +0100)
commitd51d228c55cee6c7fa099cc1c76709b2c412b269
tree32e739a6990e2ad309b64a1b8e1ad03757f3f51c
parent56a9ae8d28256b58f1a6a76d55ede99c473b89aa
OutputPage: documentation for (semi-)deprecated methods

Deprecated: addExtensionStyle, getExtStyle
These had been deprecated unofficially for a while now. ResourceLoader
is preferred.

Internal/Unpreferred: addHeadItem, addScript, addScriptFile,
addInlineScript, addStyle, addInlineStyle.
All should be used as littel as possible, in favor of ResourceLoader
and a few other higher level accessors. They are not truly deprecated,
but should not really be used unless you have a really good reason.

Also added a few missing wfDeprecated calls to methods marked as
deprecated in the phpdoc.

Bug: T89955
Change-Id: I472d906b6de16257fa34a2f9bfe9e4eb284d02b4
includes/OutputPage.php