adding in additional logic to create media file titles that meet certain mediawiki criteria; references found in the code itself