Jump to content

Topic on Extension talk:ContactPage

SkinTemplateOutputPageBeforeExec removed from v1.37

6
31.48.59.165 (talkcontribs)

The SkinTemplateOutputPageBeforeExec hook has been removed since MediaWiki version 1.37 so the code to add the contact link to footer no longer works. The code needs updating.

Kghbln (talkcontribs)

Hmm, it will be cool to know what to do for newer versions of MediaWiki. @Jdlrobson: since you are the MediaWiki all about skin expert... You will probably know what to do instead of this.

Jdlrobson (talkcontribs)
Kghbln (talkcontribs)

Cool! Thanks for the link! I am not really a programmer but from looking at this it should be the SkinAddFooterLinks hook. The example looks straight forward to me. Once I get hold of a MW 1.37+ instance I will try it and report back.

Jdlrobson (talkcontribs)

Feel free to add me to the Gerrit patch! I'll happily review and help you solve any issues with that.

Kghbln (talkcontribs)

I have no idea how to do this in the code base of the extension via a configuration parameter. However, I have just added an example that system administrators can add to "LocalSettings.php" to get this done again.