[Mediawiki-l] Forcing A Line Break

brian gaia brian.gaia at gmail.com
Wed May 30 18:37:24 UTC 2007


I have had success in using the Poem extension to make this happen, as I
am using the wiki software to manage a collection of song lyrics and
writings. [Sorry, my Wiki is on my local network so I can't let anyone
see it...]
The extension is simple to install, and you wrap the text you want with
line breaks like this:

<poem>
Line 1
Line 2
.
.
.
</poem>

Hope this helps.

  ~ brian
"Always follow your heart, you may not end up where you were headed,
   but you will always end up where you were meant to be."
 
"Dont let nobody tell you your life is over! Be every color that you
are!"
  -- Alyson & Amanda Michalka, "Into the Rush"


-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Sullivan,
James (NIH/CIT) [C]
Sent: Wednesday, May 30, 2007 2:32 pm
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Forcing A Line Break


I use the html line break "<br>".
Works for me.  Just put one at the end of each line you'd like to break.


For example, if you want the following to appear on your page:

line one
line two 

it will appear as follows if you type it that way:
line oneline two

but 

line one<br>
line two

will appear as:

line one
line two

Also note that an empty line (no spaces even) is interpreted as a line
break.  So the following:

line one

line two

will appear as typed.  One can only hope for a wysiwyg editor.

-Jim

-----Original Message-----
From: G. Carter [mailto:gcarter2000 at gmail.com] 
Sent: Wednesday, May 30, 2007 2:22 PM
To: MediaWiki-l at lists.wikimedia.org
Subject: [Mediawiki-l] Forcing A Line Break

Is there a way to force a line break on a page?  The enter key 'ain't
happenin' :-)

Thanks
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list