[Mediawiki-l] Re: <pre> tag not working

Chris Earle (CBL) cearle at cbltech.ca
Thu Jan 5 18:17:07 UTC 2006


Ok -- I've been trying to figure this out and I finally realized the
alternative way of doing a 'pre' tag is to use a double-space indent

That works!

For whatever reason, the pre tags don't function the same way as the double
spaces.
Is this because of my version of MW or is it the Cavendish skin??  Clarify
if you know.

Problem is, that I'm trying to cut and paste large portions of help
documents into my wiki and now I've got to go through and take out all the <
pre> tags and put double spaces on every line of the code fragments??

I was trying to get the help content from this page -- which I assume is a
derivative of the original mozilla Cavendish skin, and seems to handle the
pre tags properly....not sure what MW version
http://developer.mozilla.org/en/docs/MDC:Wiki_Markup_Reference

Ideas?

--
Chris Earle
System Solutions Specialist,


----- Original Message ----- 
From: "Chris Earle" <cearle-1t81/0liowCw5LPnMra/2Q at public.gmane.org>
Newsgroups: gmane.org.wikimedia.mediawiki
Sent: Thursday, January 05, 2006 12:29 PM
Subject: <pre> tag not working


> Hi all,
>
> I have been trying to cut and paste some pieces of the Meta Help into some
> basic help files for my wiki but the parts that are in <pre> </pre> tags
are
> totally not working.  The code is there, i.e. wiki code in between the
tags
> .... you've all seen it, the examples for how to use various wiki markup
> etc.
> But when you preview or save the page, it turns into something like this:
>
>  NaodW29-pre7c193d5a7493d86000000001
>
> what happened!?
>
>
> I'm on
>     * MediaWiki: 1.5.1
>     * PHP: 4.4.1 (apache)
>     * MySQL: 5.0.15-log
>
> Using the mozilla cavendish wiki skin.
>
> Funny thing I noticed is that if you search in google for that string
> NaodW29, look how many ppl have the same problem?!
> http://www.google.com/search?hl=en&q=NaodW29-&btnG=Google+Search
>
>
> Any suggestions/direction would be greatly appreciated
>
> Thanks
> --
> Chris Earle
> System Solutions Specialist,


-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.




More information about the MediaWiki-l mailing list