Jump to content

Wikipedia:Scripts/Revision ID linker into SVN

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by The Transhumanist (talk | contribs) at 08:35, 16 November 2006 (create scripts subpage). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Revision ID linker into SVN ver 0.1

[edit]
; ----- Linking revision ids: ------
on ^*:HOTLINK:r*:#: { return }
on *:HOTLINK:r*:#: { 
  if ($regex($strip($hotline),.* r([0-9]+) .*)) {
    url $+(http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=,$regml(1))
  }
}