Skin:Cosmos/ru

Cosmos - тема оформления, разработанная на основе темы оформления Oasis ФЭНДОМа. Предназначены для улучшения их дизайна и обеспечения эффективной темы оформления MediaWiki для участников, не являющихся пользователями ФЭНДОМа, или для пользователей, выходящих из ФЭНДОМа. Если вы хотите узнать, как сделать свой вклад, пожалуйста, прочитайте наше руководство.

Настройка
Эти настройки будут применяться, когда Cosmos является активной темой оформления.


 * Associative arrays

SocialProfile
Эти параметры конфигурации требуют установки SocialProfile для их использования.

PortableInfobox
Эти параметры конфигурации требуют установки PortableInfobox для их использования.

Интерфейс

 * MediaWiki&#58;Cosmos-tagline
 * Modifies the sitename text in the wiki header. Defaults to the value of MediaWiki:Sitename.


 * MediaWiki&#58;Cosmos-navigation
 * Modifies the site navigation for this skin; defaults to MediaWiki:Sidebar, although it is recommended to copy MediaWiki:Sidebar to MediaWiki:Cosmos-navigation and follow the Cosmos navigation format for the best results. This navigation can be up to 3 levels deep, and allows a few variables to be used:

The navigation should be in the format of:
 * (alternatively, )  will display a link to Special:NewVideos only when the Video extension is enabled.
 * (alternatively, ) will display a link to Special:WantedPages only when the Video extension is not enabled.
 * will display a link to Special:WantedPages regardless of if the Video extension is enabled or not.
 * Community
 * mainpage|mainpage-description
 * recentchanges-url|recentchanges
 * portal-url|portal
 * link|Tab title/level one
 * Level 2 tab title
 * Level 3 content 1

{$NEWVIDEOS_CONDITIONAL} {$WANTEDPAGES_CONDITIONAL}
 * cosmos-explore
 * recentchanges-url|recentchanges
 * randompage-url|randompage
 * Special:NewFiles|cosmos-newfiles

and, defaults to:

{$NEWVIDEOS_CONDITIONAL} {$WANTEDPAGES_CONDITIONAL}
 * cosmos-explore
 * recentchanges-url|recentchanges
 * randompage-url|randompage
 * Special:NewFiles|cosmos-newfiles

Parser functions
Cosmos provides a couple parser functions:


 * Description: Allows to add additional body class to particular pages to allow for further per-page customisation with CSS. Available as of version 6.2.0.
 * Usage:
 * Description: provides a magic word to hide the rail on particular pages. Available as of version 6.0.0.
 * Usage: Put  at the top of the page you want to hide the rail on.
 * Description: provides a magic word to hide the rail on particular pages. Available as of version 6.0.0.
 * Usage: Put  at the top of the page you want to hide the rail on.

Примечания

 * On large wikis, it is recommended to set either or  (both available since version 6.2.0), otherwise it can have significant performance impact.
 * As of version 6.2.0, MediaWiki:Cosmos-navigation is cached to provide performance improvements and not fetch this on every page load. This cache is reset when any interface message is updated.
 * As of version 5.0.0 Cosmos has a special page, Special:ThemeDesigner, that allows some theme-related Cosmos configs be modified on-wiki. It also comes with the themdesigner right, which is given to sysops by default and is required in order to enter Special:ThemeDesigner. This is a highly experimental feature.
 * As of version 4.0.0, Cosmos supports MediaWiki 1.36.
 * Cosmos uses the Special:Statistics article count, therefore setting Manual:$wgArticleCountMethod and afterwards running maintenance/UpdateArticleCount.php will make that counter use all content pages.
 * Counter will not display at all if user does not have the  userright.
 * An "Admin Dashboard" icon will appear if the AdminLinks extension is enabled and you have the needed right (adminlinks).
 * Links to Special:AddVideo will appear if the Video extension is enabled and you have the needed right (addvideo).
 * Cosmos uses cookies for the sitenotice by default. If the DismissableSiteNotice extension is enabled, then Cosmos will convert to that extension instead.
 * Cosmos supports Echo notifications. If the Echo extension is enabled and the user is logged in then Cosmos will display notification icons next to the personal tools menu.
 * Cosmos has a create article method to easily create articles through a popup.
 * Will not appear if user does not have both the  and   rights.
 * When Cosmos is installed, there will be a preference that will be available upon the selection of the Cosmos skin, allowing to toggle the mobile responsiveness of Cosmos. Enabled by default.
 * Cosmos протестирован и работает с VisualEditor.
 * Существуют классы body для главной страницы, для того, вошел ли пользователь в систему или нет, и для того, установлена ли тема на светлую или темную (классы   или  ).

Планируемые функции

 * Планируется настройка для изменения ширины области содержимого.