Close

08/06/2019

What code does MediaWiki use?

What code does MediaWiki use?

PHP
PHP – the primary language that MediaWiki was originally written in, and which most new code in MediaWiki uses. JavaScript – language used for many important components of MediaWiki, notably VisualEditor, Parsoid, and all Gadgets, not to mention most code delivered to the browser via ResourceLoader for execution.

How do I indent in MediaWiki?

Indent text causes the line to be indented by three more character positions. so long as no carriage return or line break is used.) Repeat the indentation at any line break. Use an extra colon for each response.

How do I add code to Wikipedia?

When you go into the editing view of a wiki page, on the right hand side you will see a plus sign. Clicking on it will provide a short list of formatting codes as a help. You can edit this and custom design it for your worksite.

What programming language is Wikipedia?

It is programmed in PHP. Wikipedia runs on MediaWiki software, which uses PHP and MySQL (although by now, MediaWiki might support other SQL databases, such as PostgreSQL – you’ll have to check the docs).

What can a tag extension do for MediaWiki?

Tag extensions allow users to create new custom tags that do just that. For example, one might use a tag extension to introduce a simple ‎ tag, which injects a donation form into the page. Extensions, along with parser functions and hooks are the most effective way to change or enhance the functionality of MediaWiki.

What can you do with MediaWiki templates?

And with the addition of templates, parser functions and the like, MediaWiki gains the ability to have almost unlimited customization of the page content. MediaWiki allows some HTML within wiki pages, but for the most part all formatting is done using the wikitext syntax.

What kind of markup language does MediaWiki use?

MediaWiki allows some HTML within wiki pages, but for the most part all formatting is done using the wikitext syntax. Despite its generic name, “wikitext” refers specifically to MediaWiki’s markup language. Let’s go through the elements of wikitext.

Is there a way to ignore a line break in MediaWiki?

MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag ‎ .