summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Wikinfo.egg-info/trac_plugin.txt1
-rw-r--r--wikinfo/__init__.py2
-rw-r--r--wikinfo/wikinfo.py (renamed from nlwikinfo.py)6
3 files changed, 6 insertions, 3 deletions
diff --git a/Wikinfo.egg-info/trac_plugin.txt b/Wikinfo.egg-info/trac_plugin.txt
new file mode 100644
index 0000000..034499a
--- /dev/null
+++ b/Wikinfo.egg-info/trac_plugin.txt
@@ -0,0 +1 @@
+wikinfo
diff --git a/wikinfo/__init__.py b/wikinfo/__init__.py
new file mode 100644
index 0000000..ad24a8f
--- /dev/null
+++ b/wikinfo/__init__.py
@@ -0,0 +1,2 @@
+# Wikinfo plugin v2.0
+from wikinfo import *
diff --git a/nlwikinfo.py b/wikinfo/wikinfo.py
index 167f24c..d1efb41 100644
--- a/nlwikinfo.py
+++ b/wikinfo/wikinfo.py
@@ -34,7 +34,7 @@ except ImportError:
from trac.core import *
from trac.wiki.api import IWikiMacroProvider, WikiSystem
-class NLWikinfoMacro(Component):
+class WikinfoMacro(Component):
"""
Output different information by keyword.
@@ -50,10 +50,10 @@ class NLWikinfoMacro(Component):
# IWikiMacroProvider methods
def get_macros(self):
- yield 'NlWikinfo'
+ yield 'Wikinfo'
def get_macro_description(self, name):
- return inspect.getdoc(NLWikinfoMacro)
+ return inspect.getdoc(WikinfoMacro)
def render_macro(self, req, name, content):
if content: