Manual:$wgScriptPath
Appearance
معرفات المواقع الموحدة للخوادم وكذا مسارات الملفات: $wgScriptPath | |
---|---|
The base URL path. |
|
أضيف في الإصدار: | قبل إصدار 1.1.0 |
حذف من الإصدار: | لا يزال مستخدم |
القيم المسموح بها: | (relative path) |
القيمة الافتراضية: | '/wiki', but automatically overridden by installer to be '/w' |
إعدادات أخرى: أبجدية | حسب الدالة |
التفاصيل
The base path in a URL, used to build URLs to refer to other parts of this wiki. This might be a virtual path, which might be processed using Apache's mod_rewrite (for example), to determine the directory in which MediaWiki assets are found.
A lot of other variables are defined relative to this one. If you redefine this in your
LocalSettings.php
then all dependent variables will need checking and might need redefining too!This will be set to your base directory in LocalSettings.php at installation time. See Manual:Short URL for details.
Example
$wgScriptPath = '/w';