Last modified: 2014-10-12 14:02:04 UTC
It's now possible to create ItemPage redirects. We should implement this functionality in Pywikibot too From https://www.wikidata.org/w/api.php * action=wbcreateredirect * API module for creating Entity redirects. This module requires read rights This module requires write rights This module only accepts POST requests Parameters: from - Entity ID to make a redirect to - Entity ID to point the redirect to token - A 'csrf' token retrieved from action=query&meta=tokens This parameter is required bot - Mark this edit as bot This URL flag will only be respected if the user belongs to the group "bot". Example: Turn Q11 into a redirect to Q12: api.php?action=wbcreateredirect&from=Q11&to=Q12 This should be two parts: Part in site and part in page. In bug 71979 we're tracking Page.makeRedirectPage(self, page)