nitiwiki: change some visibility to allow extensions
authorJean Privat <jean@pryen.org>
Thu, 10 Sep 2015 02:38:45 +0000 (22:38 -0400)
committerJean Privat <jean@pryen.org>
Thu, 10 Sep 2015 13:37:03 +0000 (09:37 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/nitiwiki/src/wiki_base.nit
contrib/nitiwiki/src/wiki_links.nit

index 5f093a0..70cf35f 100644 (file)
@@ -615,7 +615,7 @@ class WikiConfig
        super ConfigTree
 
        # Returns the config value at `key` or return `default` if no key was found.
-       private fun value_or_default(key: String, default: String): String do
+       protected fun value_or_default(key: String, default: String): String do
                return self[key] or else default
        end
 
index 340ec74..efb9f78 100644 (file)
@@ -214,7 +214,8 @@ class NitiwikiMdProcessor
        end
 end
 
-private class NitiwikiDecorator
+# The decorator associated to `MarkdownProcessor`.
+class NitiwikiDecorator
        super HTMLDecorator
 
        # Wiki used to resolve links.