Re: [Wikitech-l] Extending wikilinks syntax

2009-06-28 Thread Steve Bennett
On Sat, Jun 27, 2009 at 12:21 AM, Aryeh Gregor wrote: > On Fri, Jun 26, 2009 at 8:22 AM, Steve Bennett wrote: >> 3) A limited number of admin-controlled special templates can use an >> even wider range of features, including raw HTML. > > Admins are not going to be allowed to insert raw HTML.  At l

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-27 Thread Platonides
Victor Vasiliev wrote: > I suggest to use for external links extended syntax and parametrized > [[]] for internal links so we can easily distinguish them. > --vvv Kalan explained it "s may be used by spammers, by the way." A talk page gets added the text 'This page explains it pretty well http:

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-26 Thread Aryeh Gregor
On Fri, Jun 26, 2009 at 11:46 AM, Andrew Garrett wrote: > They already can, with Javascript, so there's no XSS issue. That ability may be removed in the future, and restricted to a smaller and more select group. Witness the problems we've been having with admins including tracking software.

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-26 Thread Andrew Garrett
On 26/06/2009, at 3:21 PM, Aryeh Gregor wrote: > On Fri, Jun 26, 2009 at 8:22 AM, Steve Bennett > wrote: >> 3) A limited number of admin-controlled special templates can use an >> even wider range of features, including raw HTML. > > Admins are not going to be allowed to insert raw HTML. At le

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-26 Thread Aryeh Gregor
On Fri, Jun 26, 2009 at 8:22 AM, Steve Bennett wrote: > 3) A limited number of admin-controlled special templates can use an > even wider range of features, including raw HTML. Admins are not going to be allowed to insert raw HTML. At least, not ordinary admins. _

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-26 Thread Steve Bennett
On Fri, Jun 26, 2009 at 12:07 PM, Aryeh Gregor wrote: > > From the editor's point of view.  Not from the view of the HTML > source, which is what the original proposal was looking at. I guess. I'm starting to get the initial pangs of an idea that we should have different kinds of syntax: 1) Arti

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Nikola Smolenski
Kalan wrote: > One more fun thing here: the “hreflang” attribute. Google yourself please :) There's no need to extend syntax for this. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Aryeh Gregor
On Thu, Jun 25, 2009 at 9:25 PM, Steve Bennett wrote: > If weird syntax is used in a template and that template is used > everywhere, that's still a one-off. >From the editor's point of view. Not from the view of the HTML source, which is what the original proposal was looking at. __

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Steve Bennett
On Thu, Jun 25, 2009 at 11:59 PM, Aryeh Gregor wrote: > Common this definitely is: it's relevant to the overwhelming majority > of pages on Wikipedia, at least if weighted by views.  It affects all > pages with references and most with infoboxes, for instance.  It's not > a *serious* problem, of co

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Victor Vasiliev
Robert Rohde wrote: > On Thu, Jun 25, 2009 at 2:48 PM, Aryeh > Gregor wrote: > >> On Thu, Jun 25, 2009 at 5:32 PM, Kalan wrote: >> >>> The only way as I see it is making an extension tag >>> >> Why? We'd be doing this in core, not in an extension. We could just >> adjust Parser.ph

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Robert Rohde
On Thu, Jun 25, 2009 at 2:48 PM, Aryeh Gregor wrote: > On Thu, Jun 25, 2009 at 5:32 PM, Kalan wrote: >> The only way as I see it is making an extension tag > > Why?  We'd be doing this in core, not in an extension.  We could just > adjust Parser.php appropriately. > >> Anyway, it’s up to devs (see

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Aryeh Gregor
On Thu, Jun 25, 2009 at 5:32 PM, Kalan wrote: > The only way as I see it is making an extension tag Why? We'd be doing this in core, not in an extension. We could just adjust Parser.php appropriately. > Anyway, it’s up to devs (seemingly Tim in particular) to decide. I am a dev. I've conside

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Kalan
On Fri, Jun 26, 2009 at 05:25, Aryeh Gregor wrote: >> Allowing as other tags is infeasible because every link should be >> indexed in `externallinks` table. > Sure, so would have to be indexed in the externallinks table too. > That's perfectly doable. The only way as I see it is making an extens

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Aryeh Gregor
On Thu, Jun 25, 2009 at 4:18 PM, Kalan wrote: > Allowing as other tags is infeasible because every link should be > indexed in `externallinks` table. Sure, so would have to be indexed in the externallinks table too. That's perfectly doable. > By the way, we can allow some attributes for tags,

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Kalan
On Tue, Jun 23, 2009 at 12:11 AM, Steve Bennett wrote: > Any better examples of why this would be a good thing? The other > example provided, coord strikes me as exactly the kind of weird > special case (it generally displays in the title area!) that deserves > to generate weird special xhtml... S

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Aryeh Gregor
On Thu, Jun 25, 2009 at 5:33 AM, Steve Bennett wrote: > Whatever it's doing atm. If a weird ugly hack using is what's > required for weird uncommon link formatting, so be it. I'd much rather > be discussing solutions for common problems. Common this definitely is: it's relevant to the overwhelmin

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-25 Thread Steve Bennett
On Wed, Jun 24, 2009 at 2:13 AM, Aryeh Gregor wrote: > So what's your proposed alternative?  It's either this or allowing raw > in wikitext, as I see it.  Either one is doable. Whatever it's doing atm. If a weird ugly hack using is what's required for weird uncommon link formatting, so be it. I'

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-23 Thread Aryeh Gregor
On Tue, Jun 23, 2009 at 12:11 AM, Steve Bennett wrote: > Any better examples of why this would be a good thing? The other > example provided, coord strikes me as exactly the kind of weird > special case (it generally displays in the title area!) that deserves > to generate weird special xhtml... S

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-22 Thread Steve Bennett
On Sat, Jun 20, 2009 at 6:12 PM, Kalan wrote: > We don’t allow attributes for wikilinks. ... > That is, [[Special:Userlogout|log > out|id=logoutlink|style=color:red|title=This will log you out]] will > be a wikilink with style, title and id attributes. The current syntax > is a subset of my propos

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-22 Thread Tim Larson
I thought the point of wiki syntax was to make things simpler. By the time you add support for all these HTML features, you might as well just have people write the HTML! I'm not saying that supporting HTML features is bad, mind you. Just an ironic observation. Tim -- Tim Larson ___

Re: [Wikitech-l] Extending wikilinks syntax

2009-06-20 Thread Andrew Dunbar
2009/6/20 Kalan : > Recent studies by Håkon Wium Lie > clearly show that > XHTML markup generated by widespread templates such as {{coord}} is > overcomplexified. This is mostly what we are able to fix, but > sometimes we aren’t due to the limitati

[Wikitech-l] Extending wikilinks syntax

2009-06-20 Thread Kalan
Recent studies by Håkon Wium Lie clearly show that XHTML markup generated by widespread templates such as {{coord}} is overcomplexified. This is mostly what we are able to fix, but sometimes we aren’t due to the limitations we have created for ours