User:Holygamer

My Versions: MediaWiki: 1.16.5, PHP: 5.2.17, MySQL: 5.1.61

Problems:

Prevent External Links but allow Admins
I have a music wiki but I also have links within the wiki to MP3s on the site (not stored within the wiki). For security reasons I want to block people from adding external links.

With SpamRegex I can block external links like below, however it also blocks admins such as myself. Is there any way via an extension or otherwise that I can allow myself to add external links?

$wgSpamRegex = "/http:\/\//";
 * 1) Block ALL external links

Non-Existant Pages show in Google
I couldn't find an answer about wildcards when searching on Google.

Is this the correct way to disallow crawling of pages which have "Template" at the start of the page name?

Disallow: /Template*

So would the above also prevent pages which have the following at the start of their names from being crawled?

Template: Template_talk:

Also I have a directory in the root of my site called "Game Music" which has subfolders with MP3s in (there are no webpages inside it). Google is showing non-existant pages from that directory in search results when I search for an album name. For example, try searching for the following on Google: Baroque (Saturn) Original Soundtrack

On the 1st results page you'll see 2 links to my site. The 1st link takes you to the actual page I have made. The 2nd link takes you to a non-existant page called: "Game Music/B/Baroque/001. Baroque (Saturn) Original soundtrack"

The 1st page has download links to MP3s in the following location: "Game Music/B/Baroque/001. Baroque (Saturn) Original soundtrack"

Forgetting about the robots file for a second, why is google showing non-existant pages in search results? I use MediaWiki which is the software that Wikipedia uses to build it's website. I don't know if this is the correct term or not, but the pages are virtual paths - the pages are stored in an MySQL database - does this have something to do with the problem?

I tried the following a month ago but the non-existant pages are still showing in search results:

Disallow: /Game Music/

Is there a problem with there being a space in the directory name?

Would this work to block everything in that directory from being indexed?

Disallow: /Game*