On Nov 14, 2007 6:31 PM, Anthony DiPierro dipierro@gmail.com wrote:
On Nov 14, 2007 5:48 PM, George Herbert george.herbert@gmail.com wrote:
I am not a Javascript guy, so I apologize in advance if this is a dumb question, but... Is it possible to make {{USERNAME}} some javascript which expands it on the client side, so the server just provides that JS to the browser and lets you figure it out? That would be the same JS code for everyone, so the underlying parsed article would stay in memcached unchanged...
Yes, but:
- that wouldn't work for logical constructs, and
- it wouldn't work for people who don't have javascript enabled.
As it wouldn't work for logical constructs, might as well just make a parse
Hit send prematurely:
As it wouldn't work for logical constructs, might as well just make a single pass substitution of the cached parsed article.
wikitech-l@lists.wikimedia.org