Remove OutputPage::{get,set}OnloadHandler()
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 15 Jan 2010 00:55:51 +0000 (00:55 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 15 Jan 2010 00:55:51 +0000 (00:55 +0000)
commit2f0d048cc69a1edfea1075b00251ed13507967d2
tree446dc8eca4802c03976f6aaf84830ab5d8bcf673
parent6f77ad2c246d51a846562b0ad989aa8b58ca2c31
Remove OutputPage::{get,set}OnloadHandler()

Didn't work at all in Monobook, Modern, Vector, or any derived skin, for
who knows how long.  Only one caller, which was using it to autofocus,
which is a bad idea anyway because it will cause the focus to happen too
late, often after the user has already interacted with the page.  Any
legitimate callers may as well just add the onload in pure JS without
adding an attribute to the body.
includes/EditPage.php
includes/OutputPage.php
includes/Skin.php