Manual:$wgArticlePath

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgArticlePath and the translation is 30% complete.

Other languages:
العربية • ‎català • ‎dansk • ‎Deutsch • ‎English • ‎español • ‎فارسی • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎മലയാളം • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Paths: $wgArticlePath
The base URL used to create article links.
Introduzida na versão: pre 1.1.0
Removida na versão: still in use
Valores permitidos: relative or absolute URL, with '$1' to represent page title.

If you use a relative URL, it must start with a slash (/).

Valor por omissão: {$wgScriptManual:$wgScript}?title=$1, or {$wgScript}/$1 depending on value of $wgUsePathInfoManual:$wgUsePathInfo
(Note: The default value of this variable depends on other variables, such as the values set in Setup.phpManual:Setup.php, after LocalSettings.phpManual:LocalSettings.php is executed)

Outras configurações: Lista Alfabética | Lista por Função

Detalhes

This is the base URL that will be used to construct all internal links within MediaWiki. The default value points it to the main index.php script using a relative URL, but if you are using .htaccess for pretty URLs, this can be altered as required.

Example

$wgArticlePath = '/wiki/$1';

Ver também