Okay, I'm scratching my head over this one; hope one of you can help out.
So, this weekend, I upgraded my wiki and moved it up one directory level in my domain. The new wiki works perfectly, and I placed a 301 redirect to route any requests to the old wiki directory (/wiki/) to the base level of the domain. This works fine except when redirecting page titles with accents.
So, for example, I have the link: http://thelouvertureproject.org/index.php?title=Sanite_B%C3%A9lair ... which works fine. (This page is also redirected from a page title without accents. That page title without accents redirects properly.)
Google still has the old link: http://www.thelouvertureproject.org/wiki/index.php?title=Sanite_B%C3%A9lair ... when clicked, that link is transformed to: http://thelouvertureproject.org/index.php?title=Sanite_B%25C3%25A9lair ... and I get a "Bad Title" error page. (Which you can also see if you paste the link above into your browser.)
I'm out of my depth here and my searches for help aren't turning up anything, which tells me I don't even know what I'm looking for to fix. Can anyone help me figure this out? Or, as this wiki doesn't have a ton of Google juice, am I better off waiting for the links to be re-indexed?
Stuart Maxwell theNewBig.com TheLouvertureProject.org
You need to write an Apache redirect for all odd characters. The problem with this is that you need to have a finite amount of characters that are in use, or you need to list all "odd" characters.
In my wiki I had pages with parenthesis, so I used the following:
********** RewriteEngine on RewriteRule ^/wiki/(index.php.*) /w/$1 [R] RewriteRule (.*)%2528(.*)%2529(.*) $1($2)$3 [R] **********
I hope that this helps, Kasimir Gabert
On 9/4/06, Stuart Maxwell stumaxis@gmail.com wrote:
Okay, I'm scratching my head over this one; hope one of you can help out.
So, this weekend, I upgraded my wiki and moved it up one directory level in my domain. The new wiki works perfectly, and I placed a 301 redirect to route any requests to the old wiki directory (/wiki/) to the base level of the domain. This works fine except when redirecting page titles with accents.
So, for example, I have the link: http://thelouvertureproject.org/index.php?title=Sanite_B%C3%A9lair ... which works fine. (This page is also redirected from a page title without accents. That page title without accents redirects properly.)
Google still has the old link: http://www.thelouvertureproject.org/wiki/index.php?title=Sanite_B%C3%A9lair ... when clicked, that link is transformed to: http://thelouvertureproject.org/index.php?title=Sanite_B%25C3%25A9lair ... and I get a "Bad Title" error page. (Which you can also see if you paste the link above into your browser.)
I'm out of my depth here and my searches for help aren't turning up anything, which tells me I don't even know what I'm looking for to fix. Can anyone help me figure this out? Or, as this wiki doesn't have a ton of Google juice, am I better off waiting for the links to be re-indexed?
Stuart Maxwell theNewBig.com TheLouvertureProject.org _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I want to create 2 pages with the same name but in separate name-spaces simultaneously with an inputbox but not sure if it's possible or if there's a better way?
I'm creating documentation pages and have it split so the basic user stuff is in the main namespace but the advanced stuff is in a separate one. This lets the users search results display info relevant to them rather than, for example, how to install the software on the server, which is more appropriate for the sysadmins.
I'm displaying it in the pseudo-tabbed pages (http://en.wikipedia.org/wiki/User:Jossi) and can create one of the pages from a template but not the second. If I try preloading the template thru a URL on the template for the tabs, the ampersands are escaped so it doesn't work.
One page points to something like /wiki/Documentation and the other to /wiki/Advanced:Documentation My tabbed pages look a bit like this:
_________ _____________ | Basic | | Advanced | __| |___|_____________|____
Enabling php on the pages is not possible due to site security.
Any other ideas?
Thanx,
Russell Smithies
Bioinformatics Software Developer Invermay Research Centre Puddle Alley, Mosgiel, New Zealand www.agresearch.co.nz ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. =======================================================================
mediawiki-l@lists.wikimedia.org