Are there any hooks available planned that are called right before or after article is displayed in HTML? They'd be useful to have around to display HTML before or after the contents of an article.
Travis
On 8/30/06, Travis Derouin travis@wikihow.com wrote:
Are there any hooks available planned that are called right before or after article is displayed in HTML? They'd be useful to have around to display HTML before or after the contents of an article.
Travis
BeforePageDisplay in includes/SkinTemplate.php can be very useful. The only catch is that it isn't called by skins that directly extend Skin instead of SkinTemplate (i.e. Cologne Blue, Nostalgia, and Classic).
Regards, - Dan Li
On 02/09/06, Dan Li dto@dev.java.net wrote:
BeforePageDisplay in includes/SkinTemplate.php can be very useful. The only catch is that it isn't called by skins that directly extend Skin instead of SkinTemplate (i.e. Cologne Blue, Nostalgia, and Classic).
A symptom of a skinning system that now needs to be ripped out and rewritten, so that all skins inherit a basic skin class and behave in the same manner, utilising small differences in the HTML and leaving most of the work to differing CSS files.
Rob Church
wikitech-l@lists.wikimedia.org