There is a simple answer on the question: Look at the definition of attributes for the a-element in XHTML Strict, you won't find the target-element there.
XHTML (which MediaWiki is supposed to deliver i think) is designed to be platform-indepentend, this means it can be displayed at any media, be it a console or a three dimensional hologram (if that was possible). As there are no windows in some of these medias, target has no reason to exist, just like the <font>-tag etc. That's also why CSS exists.
On the question of wether it is overidable or not.. Firefox (and therefore most gecko-browser) do have a configuration-option which forces to open ANY link in the same windows (or tab in the context of tabbed browsing). MIddle-Clicking will always open it in a new tab.
But that is now possible in any browser. For example in Internet Explorer it is really annoying when pages popup in a new window... on the other hand it is not as easy as in firefox to open a page in a new window in MSIE. I guess there are at least 2 clicks needed to perform that.
regards, Warhog
Simetrical schrieb:
On 8/8/06, Steve Bennett stevage@gmail.com wrote:
Just because I'm controversial I'll disagree. Gmail, for example, always opens *every* external link in a new window. It works extremely well - you never have to worry about "losing your gmail window". It wouldn't be a bad thing if MediaWiki did similar - you're unlikely to really want to navigate away from Wikipedia, for instance, when you follow a link - most likely you'll read it then want to come back.
The user's browser can override any behaviour, but that's not to say that providing good default behaviour isn't necessary.
Gmail is a special case because it makes such heavy use of Ajax, which isn't typically stored in the browser history in case you want to go back. But as for the general rule, it would be true that providing good defaults is a must, except that browsers tend not to provide as effortless a way to stay in the same window as to open a new one.
For instance, in Firefox I can middle-click on a link to open it in a new tab, regardless of where it would normally go, but if I want to stay in the same window when clicking a target="_blank" I have to 1) realize that it will open a new window beforehand and 2) select "Open in this tab" from the context menu, which is only even possible due to an extension. It's annoying. The Web would be a better place if there were no default-target specifications: I know what I want to open in a new window, you don't.
See also: http://bugs.wikimedia.org/show_bug.cgi?id=3213 _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l