Difference between revisions of "Configuration"
From Tweeki
(Created page with "== Default Options == $wgTweekiSkinHideAll = array(); This variable can be used to hide elements from everybody. The <nowiki>{{#tweekihide}}</nowiki> parser function will add...") |
|||
Line 1: | Line 1: | ||
== Default Options == | == Default Options == | ||
− | + | ;$wgTweekiSkinHideAll = array(); | |
− | This variable can be used to hide elements from everybody. The <nowiki>{{#tweekihide}}</nowiki> parser function will add to this array. Only hiding of elements that are also listed in <nowiki>$wgTweekiSkinHideable</nowiki> will actually be put into effect. | + | :This variable can be used to hide elements from everybody. The <nowiki>{{#tweekihide}}</nowiki> parser function will add to this array. Only hiding of elements that are also listed in <nowiki>$wgTweekiSkinHideable</nowiki> will actually be put into effect. |
− | + | ;$wgTweekiSkinHideable = array( 'firstHeading' ); | |
− | In order to prevent abuse, only elements listed in this array are allowed to be hidden by the <nowiki>{{#tweekihide}}</nowiki> parser function. | + | :In order to prevent abuse, only elements listed in this array are allowed to be hidden by the <nowiki>{{#tweekihide}}</nowiki> parser function. |
− | + | ;$wgTweekiSkinHideAnon = array(); | |
− | Elements in this array will be hidden for users who are not logged in. | + | :Elements in this array will be hidden for users who are not logged in. |
− | + | ;$wgTweekiSkinHideNonPoweruser = array( 'TOOLBOX', 'EDIT-EXT-special' ); | |
− | Elements in this array will only be shown to users who have chosen in their preferences to be "powerusers". | + | :Elements in this array will only be shown to users who have chosen in their preferences to be "powerusers". |
− | + | ;$wgTweekiSkinFooterIcons = true; | |
− | If set to false, the icons in the footer will be replaced by text aquivalents. | + | :If set to false, the icons in the footer will be replaced by text aquivalents. |
Revision as of 08:44, 19 May 2013
Default Options
- $wgTweekiSkinHideAll = array();
- This variable can be used to hide elements from everybody. The {{#tweekihide}} parser function will add to this array. Only hiding of elements that are also listed in $wgTweekiSkinHideable will actually be put into effect.
- $wgTweekiSkinHideable = array( 'firstHeading' );
- In order to prevent abuse, only elements listed in this array are allowed to be hidden by the {{#tweekihide}} parser function.
- $wgTweekiSkinHideAnon = array();
- Elements in this array will be hidden for users who are not logged in.
- $wgTweekiSkinHideNonPoweruser = array( 'TOOLBOX', 'EDIT-EXT-special' );
- Elements in this array will only be shown to users who have chosen in their preferences to be "powerusers".
- $wgTweekiSkinFooterIcons = true;
- If set to false, the icons in the footer will be replaced by text aquivalents.