2@
2@
exists or not."
"A wiki is not a carefully crafted site
created by experts and professional
writers and designed for casual
visitors. Instead, it seeks to involve
the typical visitor/user in an
ongoing process of creation and
collaboration that constantly
changes the website landscape."
Editing
Source editing
Some wikis will present users with an edit button or link directly on the page being
viewed. This will open an interface for writing, formatting, and structuring page
content. The interface may be a source editor, which is text-based and employs a
lightweight markup language (also known as wikitext, wiki markup, or wikicode), or a
visual editor. For example, in a source editor, starting lines of text with asterisks could
create a bulleted list
The syntax and features of wiki markup languages for denoting style and structure
can vary greatly among implementations. Some allow the use of HTML and CSS,[12]
while others prevent the use of these to foster uniformity in appearance.
Example of syntax
A short section of Alice's Adventures in Wonderland rendered in wiki markup:
Output shown to
Wiki markup Equivalent in HTML
readers
Visual editing
While wiki engines have traditionally offered source editing to users, in recent years
some implementations have added a rich text editing mode. This is usually
implemented, using JavaScript, as an interface which translates formatting
instructions chosen from a toolbar into the corresponding wiki markup or HTML. This
is generated and submitted to the server transparently, shielding users from the
technical detail of markup editing and making it easier for them to change the content
of pages. An example of such an interface is the VisualEditor in MediaWiki, the wiki
engine used by Wikipedia. WYSIWYG editors may not provide all the features available
in wiki markup, and some users prefer not to use them, so a source editor will often
be available simultaneously.
Version history
Some wiki implementations keep a record of changes made to wiki pages, and may
store every version of the page permanently. This allows authors to revert a page to
an older version to rectify a mistake, or counteract a malicious or inappropriate edit to
its content.[13]
These stores are typically presented for each page in a list, called a "log" or "edit
history", available from the page via a link in the interface. The list displays metadata
for each revision to the page, such as the time and date of when it was stored, and
the name of the person who created it, alongside a link to view that specific revision.
A diff (short for "difference") feature may be available, which highlights the changes
between any two revisions.
Edit summaries
The edit history view in many wiki implementations will include edit summaries
written by users when submitting changes to a page. Similar to the function of a log
message in a revision control system, an edit summary is a short piece of text which
summarizes and perhaps explains the change, for example "Corrected grammar" or
"Fixed table formatting to not extend past page width". It is not inserted into the
article's main text.