Some pages in my wiki are loaded from preexisting files which include indented text. Putting such text in dashed boxes messes up the document. I think I could use <pre> tags but I believe that would prevent the text from reformatting to fit smaller or larger windows, Is there another way to avoid the boxing?
Dick
I'm not very knowledgeable on MediaWiki, but seems to me that's just a CSS attribute. Look in your stylesheet and find lines with "border" or "dashed", like this: border:1px dashed #aaaaaa; They can be deleted, making it a 0 border.
----- Original Message ----- From: "Richard Karpinski" dick@cfcl.com To: mediawiki-l@Wikimedia.org Sent: Saturday, October 30, 2004 1:05 PM Subject: [Mediawiki-l] How to avoid boxing indented text?
Some pages in my wiki are loaded from preexisting files which include indented text. Putting such text in dashed boxes messes up the document. I think I could use <pre> tags but I believe that would prevent the text from reformatting to fit smaller or larger windows, Is there another way to avoid the boxing?
Dick
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Spaces to indent denotes code within MediaWiki. To indent, replace each leading space with a colon (":").
This is code. It was indented with a space.
:This is an indented paragraph. It was indented with a colon.
On Sat, 30 Oct 2004 11:05:07 -0700, Richard Karpinski dick@cfcl.com wrote:
Some pages in my wiki are loaded from preexisting files which include indented text. Putting such text in dashed boxes messes up the document. I think I could use <pre> tags but I believe that would prevent the text from reformatting to fit smaller or larger windows, Is there another way to avoid the boxing?
Dick
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On Sat, 30 Oct 2004 14:58:08 -0400, Jamie Bliss astronouth7303@gmail.com wrote:
Spaces to indent denotes code within MediaWiki. To indent, replace each leading space with a colon (":").
Or, to be precise, they are treated as though the paragraph was wrapped in <pre>...</pre>. The dashed border is the CSS rule applied to "pre" elements.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Richard Karpinski dick@cfcl.com writes:
Some pages in my wiki are loaded from preexisting files which include indented text.
[...]
Is there another way to avoid the boxing?
Indent the first line and let the text box line wrap as usual. When it's rendered as a wiki node, you'll see that every line in that paragraph is indented.
mediawiki-l@lists.wikimedia.org