Moin,
On Wednesday 12 April 2006 13:04, Magnus Manske wrote:
Brion Vibber schrieb:
- It breaks template inclusions.
- It may have effect in places it shouldn't.
Previews, background rendering, display of message chunks inside a special page, etc might run the parser at many times other than a page view. This could lead to inappropriate overwriting of the special page's title information.
An immediate example is that the "Editing XYZ" message gets overwritten entirely when previewing.
I've limited it to "$action == 'view'". That leaves some special pages. I'll write a workaround.
How do you determine whether the parser currently runs for action=view or action=preview etc?
I would like to generate different output depending on whether my extension code is triggered for a preview, or for a save.
Best wishes,
Tels