Extension talk:Memento

From MediaWiki.org
Jump to: navigation, search

Contents

[edit] Open issues

  • How to handle templates
  • How to handle deleted revisions
    partly resolved
  • Special pages and actions (What links here, editing etc. will not work)
    seems to be solved.
  • show correct version of included images and other media files

[edit] Related issues

  • http://mementoproxy.lanl.gov/wiki/timegate/(URI) is exactly such a proxy. Example link: http://mementoproxy.lanl.gov/wiki/timegate/http://en.wikipedia.org/wiki/Clock
  • Issues with by-proxy timegates versus native timegates:
    • Client needs to know where the proxy is, or MediaWiki needs to redirect to the proxy. Offsite redirection would allow for link hijacking by a misbehaving proxy.
    • The proxy will redirect back to the appropriate history page, but that page will not issue the X-Datetime-Validity or X-Archive-Interval headers. This makes it difficult for a client to detect that the page is a Memento.
    • The offsite redirection will take significantly longer to resolve, given the number of HTTP interactions:
      • Proxy: Client to MediaWiki (initial), Client to Proxy (Ask for redirect), Proxy to MediaWiki (discover revisions), Client to MediaWiki (final)
      • Native: Client to MediaWiki (initial), Client to MediaWiki (final) --Azaroth42

The API only returns the raw wiki code - to create HTML, a number of additional pages and settings are needed (which may also be retrieved via the API). I could not get the mementoproxy working - it always returns a 400. -- Nichtich 08:29, 11 November 2009 (UTC)

[edit] Discussion at mailing list

See also the discussion on http://news.gmane.org/gmane.science.linguistics.wikipedia.technical/ -- Nichtich 11:37, 14 November 2009 (UTC)

[edit] russian

   $messages['ru'] = array(
       'timegate' => 'Memento TimeGate',
       'timegate-desc' => 'Это плагин Memento TimeGate.',
   );

Ok, i know that there's very little that needed to be translated... i'm planning to do the Extension page itself. --Beta M 07:28, 24 January 2010 (UTC)

[edit] Possible issue with titles with '/'

Reading through the code i see a possible issue with the titles which contain '/' character. For example in some African languages the character is used to designate the clicking sound, and there are titles like 'Anarchism and sex/love' on english wikipedia. The way this extension seems to obtain a title of the article is to take the URL from the last '/' to the end of the URL, this would be a bug. I've not installed it yet to test it, however. --Beta M 07:36, 24 January 2010 (UTC)

[edit] wrong url

'url' => 'http://www.mediawiki.org/wiki/Extension:TimeGate', should be 'url' => 'http://www.mediawiki.org/wiki/Extension:Memento', And of course all the "My extension" should be changed to something more sensible. --Beta M 07:40, 24 January 2010 (UTC)

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox