On 10/27/06, Timwi timwi@gmx.net wrote:
Except, for some reason that hasn't been specified (or I didn't see it), only half the change was made. Instead of simply placing the edit link after the section header's text, as it is both recommended by the study *and* already implemented by the German Wikipedia, you placed it before the section header's text in the source...
I did specify: "It might be better to have the edit text as de-wiki has it, but that's not a decision I'm willing to commit to by myself; people are bound to object to a perceptible change to the status quo. If someone like Tim or Brion agrees, that would certainly make the solution simpler, but I'm not doing it myself." People are going to complain about not getting consensus, etc.
I'm not certain, but I think what Timwi might be saying is that perhaps instead of this: ============================= <a name="X"></a><h2><span class="editsection">[<a href="/wiki/index.php?title=Main_Page&action=edit&section=2" title="Edit section: X">edit</a>]</span> <span class="mw-headline"> X </span></h2> =============================
The HTML source could perhaps be: ============================= <a name="X"></a><h2><span class="mw-headline"> X </span><span class="editsection">[<a href="/wiki/index.php?title=Main_Page&action=edit&section=2" title="Edit section: X">edit</a>]</span> </h2> ============================= (I.e. the headline span before the editsection span, inside the header tag).
Upside: * When copy-and-pasting the web page into a text editor, instead of getting "[edit] Section Title" (which is what happens at the moment), it would probably give "Section Title [edit]", which corresponds to the rendered output we see. * Related to this, maybe it'd be better for screen-reading software?
Downside: This comment indicates that it was tried and does not work: // Yes, the headline logically goes before the edit section. Why isn't it there // in source? Ask the CSS people. The float gets screwed up if you do that. // This might be moved to before the editsection at some point so that it will // display a bit more prettily without CSS, so please don't rely on the order. $head[$headlineCount] .= ' <span class="mw-headline">'.$headline.'</span></h'.$level.'>';
All the best, Nick.