Extension:Brainfuck
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
Brainfuck Release status: unmaintained |
|
---|---|
![]() |
|
Implementation | Tag , Parser function |
Description | Embedded Brainfuck Interpreter |
Author(s) | Vladimir Kostyukov (vkostyukovtalk) |
Latest version | 0.3 (May 2012) |
MediaWiki | 1.14 (tested) |
Database changes | No |
License | Apache License 2.0 |
Download | GitHub: Note: |
The Brainfuck extension allows you to interpret Brainfuck code on pages.
Usage[edit]
There are two ways to use this extension: with tags or with parser function. Following examples are rendered as "BF" string (from "BrainFuck").
Tag[edit]
<brainfuck>>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.</brainfuck>
<bf>>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.</bf>
Parser Function[edit]
{{#brainfuck:>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.}}
{{#bf:>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.}}
Installation[edit]
- Download and place the file(s) in a directory called
Brainfuck
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/Brainfuck/Brainfuck.php";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.