/************************************************************************ ||------------|| Edit artist wiki page ||------------------------------|| This page is the page that is displayed when someone feels like editing an artist's wiki page. It is called when $_GET['action'] == 'edit'. $_GET['artistid'] is the ID of the artist, and must be set. ************************************************************************/ $ArtistID = $_GET['artistid']; if (!is_number($ArtistID)) { error(0); } // Get the artist name and the body of the last revision $DB->query(" SELECT Name, Image, Body, VanityHouse FROM artists_group AS a LEFT JOIN wiki_artists ON wiki_artists.RevisionID = a.RevisionID WHERE a.ArtistID = '$ArtistID'"); if ($DB->record_count() < 1) { error("Cannot find an artist with the ID {$ArtistID}: See the site log."); } list($Name, $Image, $Body, $VanityHouse) = $DB->next_record(MYSQLI_NUM, true); // Start printing form View::show_header('Edit artist'); ?>
This redirects artist names as they are written (e.g. when new torrents are uploaded or artists added). All uses of this new alias will be redirected to the alias ID you enter here. Use for common misspellings, inclusion of diacritical marks, etc.