Extension talk:Memento

From mediawiki.org
Latest comment: 10 years ago by Hariharshankar in topic Templates

Open issues[edit]

Related issues[edit]

  • 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)Reply[reply]

Discussion at mailing list[edit]

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


    $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)Reply[reply]

Possible issue with titles with '/'[edit]

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)Reply[reply]

wrong url[edit]

'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)Reply[reply]

Needs to be in a WMF repository to be deployed[edit]

Hi! A little while back, someone expressed interest in deploying this extension on Wikimedia Foundation wikis (see email thread about extension & WMF). We are currently awaiting this author's response to bawolff's criticism before moving forward.

The extension would also need to be hosted in one of our Git repositories in order for us to deploy it. Please feel free to get Developer access and move forward from there (see Writing an extension for deployment).

Thank you for your work in the MediaWiki community.

Best wishes, Sumana Harihareswara, Wikimedia Foundation Volunteer Development Coordinator (talk) 20:57, 11 April 2012 (UTC)Reply[reply]


Have you looked into the BeforeParserFetchTemplateAndtitle hook, introduced in 1.10.1? This allows for returning a different revision ID (or even a different page title entirely) for each transclusion. Anomie (talk) 13:54, 28 November 2012 (UTC)Reply[reply]