To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

From Wikipedia, the free encyclopedia

BBCode or Bulletin Board Code is a lightweight markup language used to format posts in many message boards. The available tags are usually indicated by square brackets ([ ]) surrounding a keyword, and they are parsed by the message board system before being translated into a markup language that web browsers understand—usually HTML or XHTML.[1]

BBCode was introduced in 1998 by the messageboard software Ultimate Bulletin Board (UBB) implemented in Perl, which has evolved into the PHP package UBB.threads. In 2000 BBCode was used in phpBB—an internet forum system written in PHP and also XMB forum. vBulletin also uses BBCode, as does XMB Forum 2.

Tags

Example in HTML/CSS BBCode Output
<b>bolded text</b>,
<strong>bolded text</strong> or
<span style="font-weight: bold;">bolded text</span>
[b]bolded text[/b] bolded text
<i>italicized text</i>,
<em>italicized text</em> or
<span style="font-style: italic;">italicized text</span>
[i]italicized text[/i] italicized text
<ins>underlined text</ins> or
<span style="text-decoration: underline;">underlined text</span>
[u]underlined text[/u] underlined text
<del>strikethrough text</del> or
<span style="text-decoration: line-through;">strikethrough text</span>
[s]strikethrough text[/s] strikethrough text
<a href="https://en.wikipedia.org">https://en.wikipedia.org</a>
<a href="https://en.wikipedia.org">English Wikipedia</a>
[url]https://en.wikipedia.org[/url]
[url=https://en.wikipedia.org]English Wikipedia[/url]
https://en.wikipedia.org
English Wikipedia
<img src="https://upload.wikimedia.org/wikipedia/commons/9/90/JustAnExample.JPG" alt="JustAnExample.JPG" /> [img]https://upload.wikimedia.org/wikipedia/commons/9/90/JustAnExample.JPG[/img] JustAnExample.JPG
(Link to file for license reasons: File:JustAnExample.JPG.)
<img src="Smileys/Face-smile.svg" alt=":-)"> :) or [:-)]
This would be another way to use the [img]url_img[/img] and must be pre-configured by the forum administrator.
(This and other emoticons, depending on the variant. Most BBCodes do not enclose emoticons in square brackets, leading to frequent accidental usage.)
:-)
(Specific image and size vary.)
<blockquote><p>quoted text</p></blockquote>
(Usually implemented in more advanced ways.)
[quote]quoted text[/quote]
[quote="author"]quoted text[/quote]
(including optional author)
Using a Wikipedia template:

quoted text

quoted text

— author
<pre>monospaced text</pre> [code]monospaced text[/code] monospaced text
<span style="font-size:30px">Large Text</span> or
<span style="font-size:85%">Smaller Text</span>
[style size="30px"]Large Text[/style]
[style size="85"]Smaller Text[/style]
(The unit of measurement varies with each BBCode variant and could represent pixels, points, or relative HTML sizes.)
Large Text
Smaller Text
<span style="color:fuchsia;">Text in fuchsia</span> or
<span style="color:#FF00FF;">Text in fuchsia</span>
[style color="fuchsia"]Text in fuchsia[/style] or
[style color=#FF00FF]Text in fuchsia[/style] or
[color=#FF00FF]Text in fuchsia[/color]
(Both HTML color names and hexadecimal color values are generally supported, although on some boards, you must omit the # from selecting a hexadecimal color.)
Text in fuchsia
<ul>
  <li>Entry A</li>
  <li>Entry B</li>
</ul>

<ol>
  <li>Entry 1</li>
  <li>Entry 2</li>
</ol>
[list]
  [*]Entry A
  [*]Entry B
[/list]

[list=1]
  [*]Entry 1
  [*]Entry 2
[/list]

Some message boards do not need the square brackets around the markers.[2]

(Many variants for li and /li, list types – unordered and ordered, with different bullets or counter formats – etc.)

  • Entry A
  • Entry B
  1. Entry 1
  2. Entry 2
<table>
<tr>
  <td>table cell 1</td>
  <td>table cell 2</td>
</tr>
<tr>
  <td>table cell 3</td>
  <td>table cell 4</td>
</tr>
</table>
[table]
[tr]
  [td]table cell 1[/td]
  [td]table cell 2[/td]
[/tr]
[tr]
  [td]table cell 3[/td]
  [td]table cell 4[/td]
[/tr]
[/table]

(Some variants for thead, rules, etc.)

table cell 1 table cell 2
table cell 3 table cell 4

Implementation

BBCode is typically implemented by applying a series of regular expression string-replace operations upon the input. Because regular expressions are limited in analyzing the structure of text input, this has the artifact that any non-hierarchical BBCode input will be transformed into invalid non-hierarchical HTML without error.

Applying traditional parsing techniques is made difficult by ambiguities in the markup, such as in [quote=[b]text[/b][/quote], where the input can either be interpreted as "text" quoted from someone called [b, or the bolded text "text" surrounded by [quote= and [/quote], i.e. [quote=text[/quote].

See also

References

  1. ^ "Why modern forums are switching from HTML to BBCode". LovelyReality.com. Retrieved 24 May 2015.
  2. ^ e.g. BOINC Project Forums et al.

External links

This page was last edited on 22 July 2020, at 13:42
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.