the main purpose of having wikitext in wikis instead of html is because html is more complicated and not many people know how to use it. therefore, it is easier to use wikitext rather than html and thus makes editors contributing to a wiki easier to create content.