Topic on Forum:Tech Wishlist And Bug Reports

Line 5: Line 5:
Since MediaWiki allows for certain parts of a page to be scripted or run as blocks of code, the spacing defaults depending on whether the text is meant as code block or raw text.
Since MediaWiki allows for certain parts of a page to be scripted or run as blocks of code, the spacing defaults depending on whether the text is meant as code block or raw text.


On certain MediaWiki namespace pages, it adds a space before all lines text is displayed, since it assumes all text is a code block if the page end with JS or CSS and automatically formats the text to 80 column print to prevent code block text from escaping the text area (since the normal auto spacing is disabled on code block sections). On main pages or pages where it usually expects normally autospaced text, it tries to default to autospacing, but when it sees bullet points and 80 column text, it gets confused and doesn't know whether you are trying to execute code on that page or if you are trying to write something, so it tries to guess what you want and usually looks like crap.
On certain MediaWiki namespace pages, it adds a space before all lines of text are displayed, since it assumes all text is a code block if the page ends with JS or CSS and automatically formats the text to 80 column print to prevent code block text from escaping the text area (since the normal auto spacing is disabled on code block sections). On main pages or pages where it usually expects normally autospaced text, it tries to default to autospacing, but when it sees bullet points and 80 column text, it gets confused and doesn't know whether you are trying to execute code on that page or if you are trying to write something, so it tries to guess what you want and usually looks like crap.


BTW, I'll fix the pages in question to correct the errors, but I hope this explains things.
BTW, I'll fix the pages in question to correct the errors, but I hope this explains things.