Wikipédia:Jelölt lapváltozatok/konfiguráció
Megjelenés
- Az egyes beállítások magyarázata itt található.
# UI
$wgSimpleFlaggedRevsUI = true;
$wgFlaggedRevTabs = false;
$wgFlaggedRevsLowProfile = false;
$wgFlaggedRevsOverride = true;
$wgFlaggedRevsPrecedence = false;
# workflow
$wgReviewChangesAfterEdit = true;
$wgFlaggedRevsAutoReview = true;
$wgFlaggedRevsAutoReviewNew = true;
# namespaces
$wgFlaggedRevsNamespaces = array( NS_MAIN, NS_IMAGE, NS_TEMPLATE, 100 ); # 100 = Portal
$wgFlaggedRevsPatrolNamespaces = array( );
$wgFeedbackNamespaces = array( NS_MAIN );
# levels
$wgFlaggedRevValues = 2; // none, sighted, featured
$wgFlaggedRevTags = array( 'accuracy'=>2 ); // quality == featured
$wgFlagRestrictions = array(
'accuracy' => array( 'review' => 1 ),
);
$wgFlaggedRevsFeedbackTags = array( 'reliability' => 3, 'completeness' => 2, 'npov' => 2, 'presentation' => 1 );
# reviewers
$wgFlaggedRevsComments = true;
$wgGroupPermissions['editor']['rollback'] = true;
$wgGroupPermissions['sysop']['validate'] = true;
$wgGroupPermissions['sysop']['review'] = true;
$wgGroupPermissions['sysop']['autoreview'] = true;
$wgGroupPermissions['sysop']['stablesettings'] = true;
unset($wgGroupPermissions['reviewer']);
# non-reviewers
$wgFlaggedRevsExceptions = array( 'user' );
$wgGroupPermissions['*']['feedback'] = true;
$wgGroupPermissions['confirmed']['autoreview'] = true;
$wgGroupPermissions['confirmed']['autopatrolother'] = true;
$wgGroupPermissions['autoconfirmed']['movestable'] = true;
# rights management
$wgAddGroups['bureaucrat'][] = 'editor';
$wgRemoveGroups['bureaucrat'][] = 'editor';
$wgAddGroups['bureaucrat'][] = 'confirmed';
$wgRemoveGroups['bureaucrat'][] = 'confirmed';
if (is_array($wgAddGroups['sysop']))
unset($wgAddGroups['sysop'][array_search('editor', $wgAddGroups['sysop'])]);
if (is_array($wgRemoveGroups['sysop']))
unset($wgRemoveGroups['sysop'][array_search('editor', $wgRemoveGroups['sysop'])]);
$wgFlaggedRevsAutopromote = false;