Extension:NBBC BBCode
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> |
NBBC_BBCode Release status: unmaintained |
|
---|---|
Implementation | Extended syntax |
Description | Adds support for BBCode using the NBBC library. |
Author(s) | Laird Shaw (Laird77talk) |
Latest version | 1.0.0 (2018-02-28) |
Compatibility policy | Master maintains backward compatibility. |
MediaWiki | |
PHP | 5.3.0 |
Database changes | No |
Composer | mediawiki/nbbc-bbcode |
License | GNU General Public License 3.0 or later |
Download | GitHub:
<translate> Note:</translate> |
$NBBC_BBCode_ParseWithinTagOnly |
|
<bbcode> |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Installation
Add the following to the composer.local.json file in your MediaWiki root directory, creating the file if necessary:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/lairdshaw/mediawiki-nbbc-bbcode.git"
}
],
"require": {
"mediawiki/nbbc-bbcode": "~1.0"
}
}
After installing composer if necessary, from the commandline, change directory to your MediaWiki root and run:
composer update --no-dev
Add the following code at the bottom of your LocalSettings.php :
wfLoadExtension( 'NbbcBbcode' );
Configuration
# If false (default), then BBCode will be rendered wherever it is in the content.
# If true, then BBCode will be rendered only where it occurs between <bbcode></bbcode> tags.
$NBBC_BBCode_ParseWithinTagOnly = false;
Usage
Simply edit BBCode into a page of your choice and it will be rendered.
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Extensions without an image
- Extended syntax extensions
- Extensions with master compatibility policy
- Extensions without MediaWiki version
- Extensions supporting Composer
- GPL licensed extensions
- Extensions in GitHub version control
- ParserFirstCallInit extensions
- ParserAfterParse extensions
- All extensions
- Extensions not in ExtensionJson