Most of the time, text justification (right and left aligned) does not look good for web pages. This is, because webbrowser do not hyphenate long word. Text justification may work for English text because on average words are not that long. It mostly sucks for languages like German and in situations when text areas are small (captions of pictures within <gallery>).
For an example, see http://commons.wikimedia.org/wiki/Nuremberg#Johannis_Church_Cemetery (first row, third and fourth image).
Brion Vibber brion@pobox.com writes:
Most of the time, text justification (right and left aligned) does not look good for web pages.
So, don't turn on that option.
I recommend to change the default.
Karl Eichwalder ke@gnu.franken.de writes:
Brion Vibber brion@pobox.com writes:
So, don't turn on that option.
I recommend to change the default.
Ignore this. It was a temporary misbehaving (cache problem?), text justification is gone without changing my settings.
Karl Eichwalder ke@gnu.franken.de writes:
Ignore this. It was a temporary misbehaving (cache problem?), text justification is gone without changing my settings.
No, but you can reproduce the bug when previewing an article before saving.
On Dec 11, 2004, at 4:48 AM, Karl Eichwalder wrote:
Karl Eichwalder ke@gnu.franken.de writes:
Ignore this. It was a temporary misbehaving (cache problem?), text justification is gone without changing my settings.
No, but you can reproduce the bug when previewing an article before saving.
Can't reproduce here.
-- brion vibber (brion @ pobox.com)
Brion Vibber brion@pobox.com writes:
Can't reproduce here.
This problem seems to be gone in the meantime...
Brion Vibber wrote:
On Dec 11, 2004, at 4:48 AM, Karl Eichwalder wrote:
Karl Eichwalder ke@gnu.franken.de writes:
Ignore this. It was a temporary misbehaving (cache problem?), text justification is gone without changing my settings.
No, but you can reproduce the bug when previewing an article before saving.
Can't reproduce here.
I think the problem is that the text justification option isn't in the parser cache rendering hash, so the parser cache (especially on de) is polluted with justified pages.
-- Tim Starling
On Dec 11, 2004, at 3:58 PM, Tim Starling wrote:
I think the problem is that the text justification option isn't in the parser cache rendering hash, so the parser cache (especially on de) is polluted with justified pages.
Justification is done through CSS, so shouldn't affect the markup and is thus not used in the settings hash.
Is there some part of the code that's outputting different in-wiki markup depending on this setting? The only thing I can find that uses the setting is a bit like this, for the stylesheet options in Skin.php and SkinPHPTal.php/SkinTemplate.php:
if ( 1 == $wgUser->getOption( 'justify' ) ) { $s .= "#article { text-align: justify; }\n"; }
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
On Dec 11, 2004, at 3:58 PM, Tim Starling wrote:
I think the problem is that the text justification option isn't in the parser cache rendering hash, so the parser cache (especially on de) is polluted with justified pages.
Justification is done through CSS, so shouldn't affect the markup and is thus not used in the settings hash.
To add another datapoint to this, it's happened to me fairly frequently lately (to the point where I thought the default had been changed to justified), but in a uniform manner that doesn't look like it's related to caching specific pages. When it "goes on", *every* page I view is justified. Sometimes it goes back off by itself, after which every page is then unjustified. When it doesn't fix itself in a short amount of time, I can "force" it off by changing my setting (which was at "unjustified") to justified and back again, which fixes it instantly for all pages (until the next recurrence).
-Mark
On Sun, 12 Dec 2004 14:01:52 -0500, Delirium delirium@hackish.org wrote:
Brion Vibber wrote:
Justification is done through CSS, so shouldn't affect the markup and is thus not used in the settings hash.
... in a uniform manner that doesn't look like it's related to caching specific pages. When it "goes on", *every* page I view is justified. Sometimes it goes back off by itself, after which every page is then unjustified. When it doesn't fix itself in a short amount of time, I can "force" it off by changing my setting (which was at "unjustified") to justified and back again, which fixes it instantly for all pages (until the next recurrence).
This sounds to me very much like the wrong version of the *stylesheet* is being cached, and then applying to every page visited on the site. I don't know if this is even possible (at what point is the customisation generated?) or why the browser would decide occasionally but not often to load a new copy (and the "wrong" one, at that), but it does sound like you are occasionally getting stuck with someone else's CSS rules.
Rowan Collins wrote:
On Sun, 12 Dec 2004 14:01:52 -0500, Delirium delirium@hackish.org wrote:
Brion Vibber wrote:
Justification is done through CSS, so shouldn't affect the markup and is thus not used in the settings hash.
... in a uniform manner that doesn't look like it's related to caching specific pages. When it "goes on", *every* page I view is justified. Sometimes it goes back off by itself, after which every page is then unjustified. When it doesn't fix itself in a short amount of time, I can "force" it off by changing my setting (which was at "unjustified") to justified and back again, which fixes it instantly for all pages (until the next recurrence).
This sounds to me very much like the wrong version of the *stylesheet* is being cached, and then applying to every page visited on the site. I don't know if this is even possible (at what point is the customisation generated?) or why the browser would decide occasionally but not often to load a new copy (and the "wrong" one, at that), but it does sound like you are occasionally getting stuck with someone else's CSS rules.
To add to the confusion, on de.wikipedia, I frequently get my links underleined, even though I have chosen to have them not underlined. This persists on all pages I visit, until I "force reload" a page. Strangely, this does *only* happen on the German wikipedia.
Magnus
wikitech-l@lists.wikimedia.org