-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Maybe something like {{Special:ExpandTemplates}}.
X!
On Apr 19, 2009, at 2:29 PM [Apr 19, 2009 ], Aryeh Gregor wrote:
On Sun, Apr 19, 2009 at 2:16 PM, William Allen
Simpson
<william.allen.simpson(a)gmail.com> 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
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAknrfWYACgkQJj66ZG7fbByrmACeIoJj8/0DAHKX6hfGwxapq8PG
OjkAn2nL/N9BIu+2r+arofsxLck1TMmG
=sCqA
-----END PGP SIGNATURE-----