Hello

I'm trying to add a link in the footer by adding the example in [1] to my LocalSettings.php. Unfortunately it doesn't work and I have no clue how to work with the information given in [1] nor in the error messages.

The errors are:
PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting end of file in /etc/mediawiki/LocalSettings.php on line 186 PHP Fatal error: Uncaught Error: Class 'WebRequest' not found in /usr/share/mediawiki/includes/HeaderCallback.php:63\nStack trace:\n#0 [internal function]: MediaWiki\\HeaderCallback::callback()\n#1 {main}\n thrown in /usr/share/mediawiki/includes/HeaderCallback.php on line 63

I'm very new to Mediawiki and the information in the documentation feels quite overwhelming. Although there is much written in great detail I'm having a hard time putting it into perspective. I don't know what to learn first to make this work.

It would be encouraging if you could give me a tip or two on how to approach this problem. And maybe, if you feel generous, outline the process of adding the example link.

Mediawiki 1.35, Vector

Kind regards
Noob

[1] https://www.mediawiki.org/wiki/Manual:Hooks/SkinAddFooterLinks

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to