It worked like what I'm saying in UseMod (and phase 2), then upgrade broke it, and restoring old behaviour was requested to make Polish Wikipedia work correctly again.
Ah. Annoying inherited traditions.
You use spaces in first column if you want to have Wiki markup with preformated text.
Oh, yeah. I keep forgettin' about that. *grin*
Well, while I was figurin' all this out, I found a bug. Check out http://test.wikipedia.org/wiki/Sandbox. Edit the page, and insert a space at the beginning of the first line, then save. Now edit the page again, and put the disappearing space back and try to pad the top of the page with a bunch o' blank lines, then save again. Go back into edit, and the blank lines and space have disappeared. It appears Wikipedia doesn't like preformatted text so long as it's at the top of a page or with no text above it.
Derek
_________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus
Derek Moore wrote:
Well, while I was figurin' all this out, I found a bug. Check out http://test.wikipedia.org/wiki/Sandbox. Edit the page, and insert a space at the beginning of the first line, then save. Now edit the page again, and put the disappearing space back and try to pad the top of the page with a bunch o' blank lines, then save again. Go back into edit, and the blank lines and space have disappeared. It appears Wikipedia doesn't like preformatted text so long as it's at the top of a page or with no text above it.
No bug. On saving, it removesblank lines and spaces at the beginning and end of the article.Leading blank lines (and the ones at the end, too) look ugly, and removing them saves disk space ;-)
Magnus
On ĵaŭ, 2003-01-02 at 09:50, Magnus Manske wrote:
Derek Moore wrote:
Edit the page, and insert a space at the beginning of the first line, then save. Now edit the page again, and put the disappearing space back and try to pad the top
No bug. On saving, it removesblank lines and spaces at the beginning and end of the article.Leading blank lines (and the ones at the end, too) look ugly, and removing them saves disk space ;-)
The automatic trimming was added specifically to kill trailing newlines inserted automatically by some web browsers on edit; leading blank spaces at the beginning can be legitimate and eating them is an unintended behavior. If there's no objection I'll change the trim() to rtrim().
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org