On 2014-03-06, 7:20 AM, Alastair Sherringham wrote:
> But nothing I add or modify inside the "execute" function makes any
> difference to the page I see e.g. adding anything after :
>
> <div id="mw-page-base" class="noprint"></div>
>
> or anywhere else.
>
> I almost certainly have a fundamental misunderstanding somewhere. No
> doubt coupled with my lack of PHP experience (I know I should really
> learn more about it).
>
> What am I doing wrong and what do I need to do?
You got the method of extending the template itself correct, you just
missed one tiny part.
Add $template = 'ZedDocsTemplate' to the line with $skinname and $stylename.
This will tell your skin implementation to use the template class you
created instead of continuing to inherit the name of the template that
SkinVector gives it.

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to