bring back Linker::tooltip()
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 13 Dec 2011 09:52:39 +0000 (09:52 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 13 Dec 2011 09:52:39 +0000 (09:52 +0000)
commitbf006dd4f372db0adb8d5b883587ecb6b3b72789
treeeec7b7132f85acdf31ea32dcc93ea05b06df6439
parent5fe824c6bec8baf12030f2f9de5396b1363a8f49
bring back Linker::tooltip()

Was marked deprecated with r42702 although that helper makes code a bit
nicer:

 Linker::tooltip( 'message' );

 Xml::expandAttributes( array(
'title' => Linker::titleAttrib( 'message' )
 ) );

(the later would give you 'title=""' when 'tooltip-message' message does
not exist.
includes/Linker.php