wikimedia api page creation (single pages)helper function to do the actual api requests for page and category-page creation
helper function to do the actual api requests for page and category-page creation
create_page(url, p_title, p_text, category, token)
url
: a URL bodyp_title
: page title string of new pagep_text
: page content string of new pagecategory
: switch to decide, if the page should be created as category-pagetoken
: action token to perform the requestTRUE