Manual talk:Hooks/ParserAfterTidy
Add topicAppearance
Latest comment: 16 years ago by James Paige in topic can't get this to work
God almighty, what the hell is that dummy text all about? Is there no hook before the content has been retrieved but after $wgTitle has been defined?
can't get this to work
[edit]When I add a function to the ParserAfterTidy hook, the only value I get in my $text variable is "<p>This page has been accessed 34 times.
</p>" where is the rest of the page? Am I doing this wrong? I am using the subversion trunk version of wikimedia. James Paige 18:40, 17 March 2008 (UTC)
Okay, now I understand that the $text does not contain the full body, it only contains the sections that are being newly parsed (which will be the parts that have changed and are not cached yet) James Paige 17:19, 19 March 2008 (UTC)