scripts/wiki/macro/Pad.py
2015-02-18 16:39:15 +01:00

10 lines
271 B
Python

# -*- encoding: utf-8 -*-
def execute(macro, args):
name = macro.request.page.page_name
name = name.split('/')[-1]
url = "http://pad.crans.org/p/" + name
return macro.formatter.rawHTML("""Lien vers l'<a href="%s">etherpad associ&eacute;</a>""" % url)