https://bugzilla.wikimedia.org/show_bug.cgi?id=23205
Summary: pre-save transform may occur outside section being
edited
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Page editing
AssignedTo: [email protected]
ReportedBy: [email protected]
I noticed the pre-save transform affects the entire
page, not just the section you are editing. If through
some trickery or foresight you create a page like this:
> ==Section 1==
> {{subst:template which doesn't exist yet}}
> {{subst:#some future parser-func:foo|bar}}
>
> ==Section 2==
> Lorem ipsum
A subsequent edit to Section 2 may cause unexpected
changes to the wiki-text of Section 1 if and when the
requested subst-items exist.
Seems like the least astonishing behavior would be to
prevent this.
--
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