Difference between revisions of "MediaWiki:Sidebar"

From Open Food Facts wiki
Jump to navigation Jump to search
(Add Open Food Facts website + "wiki")
(+ Wiki_Icons|Icons in the wiki)
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
* navigation
 
* navigation
* → [https://world.openfoodfacts.org Open Food Facts website]
+
* Open Food Facts galaxy
 +
** Where_am_I|Where am I?
 +
** {{#ifeq:{{NAMESPACE}}|FR|FR:Où je suis{{!}}Où je suis}}
 +
** https://world.openfoodfacts.org|Open Food Facts website
 +
** {{#ifeq:{{NAMESPACE}}|FR|https://world.openfoodfacts.org{{!}}Le site d'Open Food Facts}}
 
* Open Food Facts wiki
 
* Open Food Facts wiki
 
** mainpage|mainpage-description
 
** mainpage|mainpage-description
** recentchanges-url|recentchanges
+
** {{#ifeq:{{NAMESPACE}}|FR|FR:Accueil{{!}}Accueil}}
 +
** {{#switch: {{NAMESPACE}}|FR = https://wiki.openfoodfacts.org/Special:RecentChanges?hidebots=1&namespace=600%3B601&limit=500&days=90&enhanced=1&urlversion=2{{!}}Changements récents|recentchanges-url{{!}}recentchanges}}
 
** randompage-url|randompage
 
** randompage-url|randompage
 
* Open Beauty Facts wiki
 
* Open Beauty Facts wiki
 
** OBF:Main_Page|Main page
 
** OBF:Main_Page|Main page
 +
** {{#ifeq:{{NAMESPACE}}|FR|OBF:Main_Page{{!}}Page principale}}
 
* Whole wiki
 
* Whole wiki
 
** helppage|help-mediawiki
 
** helppage|help-mediawiki
 +
** Wiki_Icons|Icons in the wiki
 
* SEARCH
 
* SEARCH
 
* TOOLBOX
 
* TOOLBOX
Line 16: Line 23:
 
** MediaWiki:Vector.css|Styling
 
** MediaWiki:Vector.css|Styling
 
** Special:ReplaceText|Replace text
 
** Special:ReplaceText|Replace text
 +
** Special:SpecialPages|Special Pages
 +
<noinclude>
 +
Every link has to be in the format: Page|name
 +
https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
 +
To personalize namespaces, see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Parser_functions_in_sidebar
 +
Example 1: ** {{#ifeq:{{NAMESPACE}}|User|Page-to-link-to{{!}}text-to-show-on-user-page}}
 +
Example 2: ** {{#switch: {{NAMESPACE}}|FR = FR:Accueil{{!}}Accueil|Default{{!}}Text to show}}
 +
</noinclude>

Revision as of 13:37, 8 July 2022

  • navigation
  • Open Food Facts galaxy
  • Open Food Facts wiki
    • mainpage|mainpage-description
    • recentchanges-url|recentchanges
    • randompage-url|randompage
  • Open Beauty Facts wiki
    • OBF:Main_Page|Main page
  • Whole wiki
    • helppage|help-mediawiki
    • Wiki_Icons|Icons in the wiki
  • SEARCH
  • TOOLBOX
  • LANGUAGES
  • Admins
    • MediaWiki:Sidebar|Edit sidebar
    • MediaWiki:Vector.css|Styling
    • Special:ReplaceText|Replace text
    • Special:SpecialPages|Special Pages

Every link has to be in the format: Page|name https://www.mediawiki.org/wiki/Manual:Interface/Sidebar To personalize namespaces, see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Parser_functions_in_sidebar Example 1: ** Example 2: ** Default|Text to show