[Mediawiki-l] Two Newbie Questions

Rowan Collins rowan.collins at gmail.com
Wed Feb 23 14:57:13 UTC 2005


On Wed, 23 Feb 2005 09:47:58 -0400, Bernardo Carvalho
<bcarvalho at gmail.com> wrote:
> I have just installed Mediawiki and finished configuring it, and there
> are two annoying issues I cannot seem to solve. If these questions
> have been answered before, sorry, I could not find the list archives!

NP, but for future ref, the list archives are at
http://mail.wikimedia.org/pipermail/mediawiki-l/ The easiest way to
search them is to add "site:mail.wikimedia.org" to your query in
Google (or some other search engine that supports restricting results
to a domain in this way).
 
> 1) Is there anyway to automatically convert a single linebreak into a
> <br> in the editing box?

There isn't a way built into the software, and there are reasons why
it's not as simple as it seems. A look through the list archives (in
my case cheating and using the fact that they're all in one GMail
"label") turned up a thread from October:
http://mail.wikipedia.org/pipermail/mediawiki-l/2004-October/#1953
 

> 2)  How can I put that little blue wikipedia Icon that indicates that
> a link is external? Cant seem to find that setting anywhere.

Hm, funny - I'd have assumed that was on by default. I remember there
being problems with certain browser/language combinations
(right-to-left scripts, for instance), but... Anyway, it's done
through CSS - I think it's these lines in main.css:

#bodyContent a[href ^="http://"],
#bodyContent a[href ^="gopher://"] {
    background: url(external.png) center right no-repeat;
    padding-right: 13px;
}
[and so on for other protocols, with their different icons]

Are you sure the browser you're testing your site in *does* display
these icons when you look at Wikipedia? If so, I'm stumped, because
this seems to be part of the basic code in both 1.3 and 1.4  - maybe
someone who's spent more time hacking the skins can shed some light on
this. Might be an idea to mention what version you're running, and any
configurations you've changed that you think might affect this.

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list