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*

Search Doesn't Work Properly
When searching for a word the search results don't return the most relevant results instead the relevance is in order of the page creation date. Is this normal behaviour? Is there any way I can fix it?

Some examples:

Searching for "Puzzle Bobble" doesn't show "Puzzle Bobble" at the top. Searching for "Mission" doesn't show "Mission Impossible" at the top. Searching for "Last Battle" doesn't show "Last Battle" at the top. It only appears on the 2nd page of the search results.

Mission Impossible is not at the top Searching for last battle doesn't show this page: Last Battle Soundtrack, The (SNES) The Last Battle Game Music. Searching for Last story doesn’t show Last Story at the top Searching for Lagoon doesn't show Lagoon at the top. It's in order of page creation Searching for like life isn't at top of the page megami tensei nine = at bottom of page puzzle bobble = at bottom of page

Extension:MWSearch is that Wikipedia uses but that relies on Extension:Lucene-search which is too difficult to install.

Google Checkout
I already have an add to cart button with a drop-down menu where you can select "UK" or "Rest of the World". I've included the shipping cost in the price of the item. I haven't added shipping html to my button. Here's the code I use:

European Union: £52 Rest of the World: £58 

I would like to make it so that my cart will add a shipping price based on the total weight of all the items in the cart. How can I do that?