Difference between revisions of "wiki Guidelines"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '= Current Guidelines = = Proposed Guidelines = * Don't enclose each argument in parentheses (why it's like that in References?) * Config options should not have all content…')
 
Line 5: Line 5:
 
* Don't enclose each argument in parentheses (why it's like that in [[References]]?)
 
* Don't enclose each argument in parentheses (why it's like that in [[References]]?)
 
* Config options should not have all contents marked as optional. If option is specified in config and is empty, it indeed set and has content (empty string, which will be interpreted as boolean false or number 0).
 
* Config options should not have all contents marked as optional. If option is specified in config and is empty, it indeed set and has content (empty string, which will be interpreted as boolean false or number 0).
* Boolean config options do not "enable or disable". Generally, option just enables something (when it's set to non-false).
+
* [[References#boolean_flag|Boolean]] config options do not "enable or disable". Generally, option just enables something (when it's set to non-false).
  
 
[[Category:Meta]]
 
[[Category:Meta]]

Revision as of 21:03, 6 July 2019

Current Guidelines

Proposed Guidelines

  • Don't enclose each argument in parentheses (why it's like that in References?)
  • Config options should not have all contents marked as optional. If option is specified in config and is empty, it indeed set and has content (empty string, which will be interpreted as boolean false or number 0).
  • Boolean config options do not "enable or disable". Generally, option just enables something (when it's set to non-false).