$smwgShowFactboxEdit
From semantic-mediawiki.org
| Configuration parameter details: | |
| Name | $smwgShowFactboxEdit |
| Description | Sets in which cases the factbox should be shown when editing a page |
| Default setting | See below |
| Software | Semantic MediaWiki |
| Since version | |
| Until version | still available |
| Configuration | Facts display · Interface settings |
| Keyword | factbox |
$smwgShowFactboxEdit is a configuration parameter that sets in which cases the factbox should be shown when editing a page. The configuration parameter was introduced in Semantic MediaWiki 1.0Released on 31 December 2007 and compatible with MW 1.9.x - 1.12.x..
The behaviour switches
__SHOWFACTBOX__ and __HIDEFACTBOX__ can be used to control the display of the factbox on individual pages.
Default setting[edit]
$smwgShowFactboxEdit = SMW_FACTBOX_HIDDEN;
This means that the factbox is never shown.
Available options[edit]
The option enabled by default is highlighted in bold.
SMW_FACTBOX_NONEMPTY– Set that only those factboxes that have some content should be shownSMW_FACTBOX_SPECIAL– Set that only those factboxes that also contain special properties should be shownSMW_FACTBOX_HIDDEN– Sets that factboxes should not be shownSMW_FACTBOX_SHOWN– Sets that factboxes should always be shown
Changing the default setting[edit]
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:
- Enable the factbox to be always shown if it is not empty
$smwgShowFactboxEdit = SMW_FACTBOX_NONEMPTY;
- Enable the factbox to be always shown
$smwgShowFactboxEdit = SMW_FACTBOX_SHOWN;
- Enable the factbox to be always shown if it contains special properties
$smwgShowFactboxEdit = SMW_FACTBOX_SPECIAL;
See also[edit]
- Help page on the factbox
- Help page on configuration parameter
$smwgShowFactboxSets in which cases the factbox should be shown below a page - Help page on configuration parameter
$smwgFactboxFeaturesSets the behaviour of features related to the factbox
... more about "$smwgShowFactboxEdit"
effective +
1.0 +
Semantic MediaWiki +
$smwgShowFactboxEdit +
Sets in which cases the factbox should be shown when editing a page +
factbox +
true +
Has subobject"Has subobject" is a predefined property representing a container construct and is provided by Semantic MediaWiki.