Topic on Project:Support desk

[RESOLVED] How to include Keypress in wiki

6
82.71.242.161 (talkcontribs)

I am very new to using Mediawiki and do not understand how to use Template:Keypress in my wiki.

I had understood that copying the contents of keypress and keypress/core from wikipedia.org would give me the functionality, but it does not do so.

What am I doing wrong?

Thank you in advance

AKlapper (WMF) (talkcontribs)

Just to clarify, you also copied Template:Key_press/core ?

82.71.242.161 (talkcontribs)

Yes, I copied keypress and keypress/core. Have also copied keypress/docs to be sure. When I call any keypress in a wiki page I get a lot of random keypress-like text as if it is displaying keypress/core rather than displaying it properly.

82.71.242.161 (talkcontribs)

Also, exporting and importing into my wiki has the same result.

82.71.242.161 (talkcontribs)

This was fixed by adding require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); to LocalSettings.php to enable Parser Functions

Reply to "[RESOLVED] How to include Keypress in wiki"