Extension:LastFm

=Last.fm Button= It will only get better with feedback setHook( "lastfm", "renderLastFm" ); } function renderLastFm( $input, $argv ) { # $argv is an array containing any arguments passed to the extension like .. $output = ""; $output = ""; $output .= "";
 * 1) The callback function for converting the input text to HTML output

return $output; } ?>

Installation
Now you can use the extension with  Last.fm-Username  in the wiki
 * 1) Copy the code into a file (e.g. LastFm.php)
 * 2) Save the file in the extensions directory of your mediawiki folder
 * 3) Add the line   to the end of your LocalSettings.php file