jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
weblib.py provides a way to obtain Wayback Machine and WebCite archive urls for Internet resources. It uses a custom and simple API for each service. These weblib methods are only used by scripts/weblinkchecker.py , which prefers Wayback over WebCite.
Wayback has had support for the Momento protocol for many years now. Using Momento for accessing archived versions of Internet resources allow multiple implementations using the same protocol, and the Internet resource can also provide their own Momento support (and MediaWiki has an extension which supports this).
http://ws-dl.blogspot.fr/2013/07/2013-07-15-wayback-machine-upgrades.htmlhttp://mementoweb.org/
Our WebCite code also uses a custom API. I could not find a Momento API for WebCite.
weblib.py should provide plumbling for obtaining an archived version of a internet resource, and attempt to use the original resource or Momento providers like Wayback, and any non-Momento providers (WebCite?). It should have a default algorithm for picking the 'best' archived version, but allow callers to override this with a specific preference.
TASK DETAIL
https://phabricator.wikimedia.org/T85001
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs
jayvdb created this task.
jayvdb added subscribers: pywikipedia-bugs, jayvdb.
jayvdb added projects: pywikibot-core, easy, Pywikibot-tests.
jayvdb changed Security from none to none.
TASK DESCRIPTION
The Category class has only a limited number of unit test cases.
The primary set of tests are in
http://git.wikimedia.org/blob/pywikibot%2Fcore.git/c731cdb7b58adaf0f42c86bb…
However a few other related tests are located in other test modules.
The tests in page_tests should be moved to a new test module category_tests.py , and new basic tests added for at least the methods and attributes
* sortKey
* categoryinfo
* members
* subcategories
* articles
(Methods copyTo and copyAndKeep are likely to be removed in the near future, and are essentially currently unsupported cruft)
TASK DETAIL
https://phabricator.wikimedia.org/T78231
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs
Unicodesnowman closed blocking task T78231: Category methods members, subcategories and articles do not have unit tests as "Resolved".
TASK DETAIL
https://phabricator.wikimedia.org/T60941
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Unicodesnowman
Cc: pywikipedia-bugs, valhallasw, Ricordisamoa, jayvdb, Aklapper