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

--- Comment #11 from Conrad Irwin <[email protected]> 2010-06-10 12:11:54 
UTC ---
Created an attachment (id=7454)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7454)
Patch for rendering

This patch adds short-circuits to ParserOptions::mTemplateCallback during the
parse() phase of preview, save, and parserTests (bug 8158), which includes the
current text of the page instead of the previous revision from the database.

This means that it won't change the behaviour of {{subst:, which continues to
use the previous page's revision, and any extensions that deal with the current
version of the current article will not be able to see the pending revision (as
who knows what they might do).

Is this approach the right way to do things, and, if so, is this patch
sufficient?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

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

Reply via email to