add function that splits the wiki by section