Community Central
Community Central
No edit summary
(help page cleanup)
 
Line 1: Line 1:
  +
#REDIRECT [[Help:Contents]]
Wikia's Monaco skin has a robust navigation that can be fully customized. The navigation is broken into two sections: the '''Main Navigation''', which is multi-level, and the two-column '''Link Toolbox'''.
 
* '''For admins''' - you can set the default navigation seen by everyone by editing a few MediaWiki namespace articles.
 
* '''For users''' - you can set a custom navigation for yourself only by editing a few User sub-pages.
 
 
== Menu ==
 
[[File:Monaco_Navigation_Menu.png|right|frame|The menu area]]
 
* '''Admins''' - To customize the main navigation menu just below the search box, edit the '''MediaWiki:Monaco-sidebar''' page. Until you fill in your own values for the Monaco-sidebar article on your own wiki, we will use default values from this page on Messaging: http://messaging.wikia.com/wiki/MediaWiki:Monaco-sidebar (this default page can only be changed by Wikia staff).
 
* '''Users''' - To customize the main navigation menu just below the search box, edit the '''User:&lt;your_user_name_here&gt;/Monaco-sidebar''' page ([[Special:Mypage/Monaco-sidebar]]). For instance, <nowiki>[[User:Username/Monaco-sidebar]]</nowiki> , and create your own main navigation.
 
 
:Each asterisk represents a level in the menu hierarchy. In this example, the three top-level items displayed in the sidebar are "Superheroes Wiki", "Characters" and "Comics".
 
 
:Hovering over the "Characters" item will bring up the second tier of the menu, "Heroes" and "Villains". The articles about Superman, Batman and Spider-Man are nested inside the "Heroes" submenu.
 
 
:The menu items automatically link to their respective articles. You ''can'' use external links here - the software will recognize them and link to them properly. If you'd like to specify different text for the menu item, first use the article name followed by a pipe character (|), followed by the display name. This is also true for external links; unlike the usual space, you will need a pipe instead. You can also use MediaWiki messages (see '''Special:Allmessages''' on your wiki).
 
 
<pre>
 
* mainpage | Superheroes Wiki
 
* #popular# | Editor's pick (see "magic word" section below)
 
* Category:Characters | Characters
 
** Category:Heroes | Heroes
 
*** Superman
 
*** Batman
 
*** Spider-Man
 
** Category:Villians | Villians
 
*** Lex Luthor
 
*** Penguin
 
*** Green Goblin
 
* Category:Comics | Comics
 
** DC Comics
 
** Marvel Comics
 
* #category-minorcharacters# (see "magic words" section below)
 
</pre>
 
 
:'''Main Navigation - Magic Words'''
 
:In addition, we've added a few "magic words" that you can use in the Main Navigation. The new magic words are as follows:
 
 
:* #category1# = Creates a multi-level menu item that displays the name of the category with the most articles, shows the top 7 pages in that category, and has a "see more..." link to the category page.
 
:* #category2# = Same as above but for the category with the 2nd most number of articles.
 
:* #category-&lt;categorynamehere&gt;# = you can specify a particular category name ( #category-superheroes#, for instance).
 
:* #popular# = This is meant to be an "editor's choice" list that the admin of each wiki can populate. You can add articles to the top of this list here: [[MediaWiki:Most popular articles]], formatted in the form of a single page title per line. If there are no entries on that page (or fewer than 7 entries), the rest of the list will automatically be populated with the articles with the highest traffic on that wiki. Edits may take upto 3 hours to show up.
 
:* #visited# = a list of the articles with the most traffic on that wiki.
 
:* #voted# = a list of the highest ranked articles by vote.
 
:* #newlychanged# = articles that have most recently been changed.
 
:* #topusers# = a list of featured users.
 
 
:Note: For the #category1# and #category2# magic words, categories with certain keywords will be excluded from the #category1# and #category2# lists. Here are a list of the keywords that we'll exclude: Image/images, Stub/stubs, Screenshot/screenshots, Screencap/screencaps, Article/articles, Copy edit, Fair use, File/files, Panel/panels, Redirect/redirects, Template/templates, Delete/deletion, TagSynced. We will do our best to filter these words in other languages as well so that this method of automatically choosing relevant categories works as well as possible. If you specifically want a category with one of those keywords on the main nav, then use #category-&lt;categorynamehere&gt;# and replace the "&lt;categorynamehere&gt;" with the category name you want.
 
 
:If you wish to include a category with a space in the name, e.g. "Wikia Widgets", replace the space with an underscore, e.g. #category-Wikia_Widgets#.
 
 
== Toolbox ==
 
[[File:Monaco_Navigation_Toolbox.png|frame|The toolbox area]]
 
*'''Admins''' - To customize the link toolbox, which appears underneath the main navigation, edit the '''MediaWiki:Monaco-toolbox''' page on your own wiki
 
** Do not use comments in this MediaWiki message
 
*'''Users''' - To customize the link toolbox, which appears underneath the main navigation, '''User:&lt;your_user_name_here&gt;/Monaco-toolbox''' page ([[Special:Mypage/Monaco-toolbox]]). For instance, [[User:Username/Monaco-toolbox]] , and create your own link toolbox.
 
** Feel free to use comments in this personal/custom copy
 
 
 
Until you fill in your own values for the Monaco-toolbox article on your own wiki, we will use default values from this page on Messaging: http://messaging.wikia.com/wiki/MediaWiki:Monaco-toolbox (this default page can only be changed by Wikia staff).
 
 
Default list:
 
<pre>
 
* recentchanges-url|recentchanges
 
* randompage-url|randompage
 
* helppage|help
 
* specialpages-url|specialpages
 
</pre>
 
 
The default list uses special URL strings (recentchanges-url, randompage-url, etc) instead of referring directly to the page name or external links desired. This is designed to make translation and localization easier, but can make editing the toolbox menu a little harder. If you wish to edit the URL strings, the actual links are stored in separate MediaWiki messages such as [[MediaWiki:recentchanges-url]]. There is no easily accessible list of these special URL strings.
 
;Note:
 
* These special URL strings don't work if you add white space before the pipe (|) character.
 
* If you wish to add additional links, ''you do not need to create new URL strings'' -- you can simply add them in the same format as for the Main Navigation.
 
** Aside from the two mentioned below, every other special url string in the default list can just as easily be replaced by an equivalent name as found in the list at [[Special:Specialpages]].
 
* The special strings '''whatlinkshere''' and '''permalink''' are unique because they are first parsed to incorporate the name of the current page.
 
** ''These two links now appear in all page footers.''
 
** For various special pages, where such page-focused links have no meaning, their place in the two column toolbox is left blank.
 
* If you want to have more of these page-focused links in the sidebar then consider [[Help:Widgets#Create_a_custom_widget|creating a custom widget]].
 
 
;Two column formatting:
 
The list of links is automatically separated into two columns. The listed links alternate between the left and right columns. The link formatting is the same as the multi-level menu. Internal wiki link or external URL to the left of the pipe and label to the right of the pipe.
 
 
Example list:
 
<pre>
 
* Special:Recentchanges |Recent changes
 
* Forum:Index |Forum
 
* whatlinkshere| What links here <!-- special url string - no space before the pipe -->
 
* w:c:Help:Help:Contents |Wikia help
 
* Special:Search |Adv. search
 
* m:Help |Meta help
 
* Special:MultipleUpload |Multi-upload
 
* Special:Wantedpages |Wanted
 
* Special:Specialpages |Specialpages
 
* Category:Stubs |Stubs
 
</pre>
 
 
You can avoid having a label wrap and consume two lines in this link toolbox if you either:
 
*choose short labels everywhere or
 
*organize all shorter labels in the first column (''odd numbered positions in this list'') and all longer labels in the second column (''even numbered positions in the list'')
 
This second point benefits sysops more than regular readers/contributors because of the 3 user-related links mentioned below. The two longer labels get added to the left-hand column while the shorter label gets added to the right-hand column.
 
 
We automatically add 3 special links to this list for user pages, user talk pages, and user profile pages (this last for wikis that have the social tools added). Those link toolbox labels are:
 
*'''User contributions'''
 
*'''E-mail this user'''
 
*'''Block user'''
 
**Block user will only show up for admins.
 
 
==Internationalisation==
 
Changing the toolbar in this way will only change the view for logged out users, and users with the same language set as that of the wiki. So on an Italian wiki, only users who are viewing in Italian will see the change. Other languages can be set in the same way by editing MediaWiki:Monaco-toolbox/xx (where xx is the language code).
 

Latest revision as of 17:44, 30 September 2010

Redirect to: