Ограничения HTML

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page HTML restriction and the translation is 27% complete.
Other languages:
English • ‎Türkçe • ‎dansk • ‎čeština • ‎русский • ‎العربية • ‎中文 • ‎日本語

По умолчанию, МедиаВики ограничает использование HTML. Допускаются только некоторые HTML-элементы и аттрибуты. Raw-HTML sections, surrounded by the "html" tag, can be enabled with the option $wgRawHtml . Код доступен в includes/parser/Sanitizer.php.

The Wikimedia Foundation's internal website allows full use of HTML. Their other websites (see complete list here) do not. A request to allow full use of HTML was rejected in 2005.

There are several extensions that allow for the inclusion of raw HTML. Here are the extensions that appear to be safe: