Extension:Bootstrap/ar

يقدم امتداد Bootstrap Bootstrap 4‏ (نسخة 4.6.1) وهي بنية وب للواجهة الأمامية في برمجيات ميدياويكي. يمكن تفعيلها مباشرة أو أن تستخدم من السمات أو الامتدادات.

التثبيت
See the installation instructions for information on how to install this extension.

Within a skin
Use  to get the singleton managing the Bootstrap framework.

With the returned object,


 * add Bootstrap modules using,  , and
 * set SCSS variables using  and
 * add style files using
 * add cache trigger files using

Finally to add the Bootstrap styles and javascript to the page use  for styles and   for scripts.

For an example on how to include Bootstrap styles in a skin have a look at the Chameleon skin.

Standalone
To simply enable Bootstrap styles on all pages add the following code to your "LocalSettings.php" file:

Effect on Universal Language Selector
If you have the Universal Language Selector (ULS) extension installed, installing the Bootstrap extension will make the ULS's dropdown-menu look disordered and break its search bar (screenshot on GitHub). However, this can be fixed by adding the following code to MediaWiki:Common.css:



انظر أيضا

 * the Bootstrap framework homepage
 * the SASS/SCSS homepage
 * the Chameleon skin that uses this extension
 * the BootstrapComponents extension that uses this extension and lets editors utilize its potential inside wiki markup