Extension talk:SectionLinkToTop

Undefined Constant error
Hey, i get the following error - how can it be fixed?

MediaWiki: 1.15.1

PHP: 5.2.12 (cgi-fcgi)

MySQL: 5.0.67-log


 * At the moment, I can only confirm your observation, I see the same error message in my log files. Action: I changed to

NOEDITSECTION problem
Greetings.

Im having sobre problems when using the SectionLinkToTop plus the NOEDITSECTION magic word.

If i define both, the links to the top do not appear. this only happens with H1 headding sections, on all other section levels its shows OK

Im not a big expert on wiki. Can anyone help me?

Palanolho 13:16, 14 March 2011 (UTC)


 * Found the problem.
 * in the SectionLinkToTop.php look for the function parserAfterTidy and instead of
 * $pattern = '#()( )#i';
 * use
 * $pattern = '#()( )#i';
 * (it was rendering only for Heading 2 or more)
 * Palanolho 13:30, 14 March 2011 (UTC)
 * Palanolho 13:30, 14 March 2011 (UTC)
 * Palanolho 13:30, 14 March 2011 (UTC)