[ https://jira.ts.wikimedia.org/browse/PYWP-5?page=com.atlassian.jira.plugin.s... ]
Pietrodn updated PYWP-5: -------------------------
Attachment: svn.diff
Here's the patch for the Page.protect() function.
Support for protecting non-existent pages
Key: PYWP-5 URL: https://jira.ts.wikimedia.org/browse/PYWP-5 Project: pywikipedia Issue Type: New Feature Components: Framework Reporter: Pietrodn Attachments: svn.diff
The developer have recently added to MediaWiki a new feature: a sysop can protect a non-existent page. http://bugzilla.wikimedia.org/show_bug.cgi?id=2919 I implemented this in pywikipedia, changing the Page.protect() function to support the "create" protection. The default is "sysop". There is a patch. Regards. Pietrodn