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.html http://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 added a comment.
I couldnt quickly find a Momento python library, but there is some link parsing code at https://bitbucket.org/azaroth42/linkheaderparser/src/c2321bf3349b94a12a37ed8...
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 added a comment.
See also https://en.wikipedia.org/wiki/Wikipedia:Requests_for_comment/Memento
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 added a project: Pywikibot-weblinkchecker.py.
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 moved this task to Under discussion on the Pywikibot-weblinkchecker.py workboard.
TASK DETAIL https://phabricator.wikimedia.org/T85001
WORKBOARD https://phabricator.wikimedia.org/project/board/109/
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
pywikipedia-bugs@lists.wikimedia.org