On Sun, Apr 19, 2009 at 2:16 PM, William Allen Simpson
<[email protected]> wrote:
> It's hard to document ("subst" doesn't seem to translate well or mean
> anything to many folks), harder to remember, and hardest to type:
>
>   {{subst:TEMPLATE|P1|P2|subst=subst:}}
>
> I'm often forgetting that final parameter, and conscientiously have to edit
> again.  Others don't bother subst'ing at all!
>
> Is there a solution proposed anywhere already?

https://bugzilla.wikimedia.org/show_bug.cgi?id=2777

It seems like this exists in an extension.  I don't know whether the
extension is good enough to enable on Wikimedia and/or just add to
core; I haven't looked at it.

> If not, here's my rough idea:
>
> Leading {{:: -- easy to type (already holding the shift key) -- same as
> {{subst: -- only happens in edit parsing, no change to database.
>
> Leading {{## -- easy to type (already holding the shift key) -- obviously
> must be different than {{:: -- used inside templates, tells the edit
> parsing to "subst:" only subst'ing, otherwise ignored and treated as
> concatenation.  Same as C pre-processing operator.

I think an actual keyword like "substall" is better.  It's possible to
Google the term to find documentation.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to