I am trying to do
[[test:/blah/My Page | My page]]
Where test is a interwiki link like http://test
Wiki renders this as a link like
Note how it makes the space an underscore. I can't find a way for the space to remain a space since on my server the file is actually called "My Page".
Thanks Chris McIntosh
Chris McIntosh wrote:
I am trying to do
[[test:/blah/My Page | My page]]
Where test is a interwiki link like http://test
Wiki renders this as a link like
Note how it makes the space an underscore. I can't find a way for the space to remain a space since on my server the file is actually called "My Page".
Thanks Chris McIntosh _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Try [[test:/blah/My%20Page | My Page]]...
=G=
On 4/17/06, Galen Johnson gjohnson@trantor.org wrote:
Try [[test:/blah/My%20Page | My Page]]...
Aah, maybe this is an answer to
[[Google:Two words]]
I should do it like:
[[Google:Two%20words]]
?
Thanks Galen, but the wiki still parses it as
http://test/blah/My_Page (which still has an underscores in it)
Anyone else have any ideas?
-- Chris McIntosh
On 4/18/06, Sy Ali sy1234@gmail.com wrote:
On 4/18/06, Sy Ali sy1234@gmail.com wrote:
[[Google:Two%20words]]
No, that wasn't the answer. =/ _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Moin,
On Tuesday 18 April 2006 19:21, Chris McIntosh wrote:
Thanks Galen, but the wiki still parses it as
http://test/blah/My_Page (which still has an underscores in it)
Anyone else have any ideas?
Underscore and space are an synonym in wiki pages, meaning you cannot have "Page 1" and "Page_1" at the same time. Thus the software always converts spcaes to underscores because in URLs "_" can be left as it is, while " " needs to be either "%20" or "+".
I don't think without patching the source you will get that to work.
(The advise of the day is: you should not put spaces in filenames. Especially not when they can be accessed over the web.)
Best wishes,
Tels
Chris McIntosh wrote:
Thanks Galen, but the wiki still parses it as
http://test/blah/My_Page (which still has an underscores in it)
Anyone else have any ideas?
If that http://test/blah/My_Page isn't a wiki, then maybe you shouln't use inter*wiki* links. I know they can be used for non-wiki sites, but if it doesn't work, just do it like any external link. If you want the feel of interwiki links (i.e. you want to avoid that image that puts itself when an external link is formed) then wrap the link with <span class="plainlinks"> ... </span>
Filip
mediawiki-l@lists.wikimedia.org