Consolidate all usage of wiki ID within Meza #100
Labels
code health
best practices
doc
Improvements or additions to documentation
php
PHP Hypertext Preprocessor
python
Python programming
yaml
yaml ain't markup language
In LocalSettings.php (and other PHP code generated by Meza), the wiki identifier variable name is
$wikiId
. In CLI scripts and the shell environment, the variable default name isWIKI
. In YAML files or Ansible commands, the variable name iswiki_id
. Why are there three different names for the same thing? This difference no doubt causes some confusion, while respecting traditional naming conventions in PHP, BASH and YAML. Convention could be ignored to use a consistent variable name e.g.WIKI_ID
orSITE_ID
throughout.$wikiId
WIKI
wiki_id
SITE_ID
The text was updated successfully, but these errors were encountered: