1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/README.txt Sun Nov 03 15:00:42 2013 +0100
1.3 @@ -0,0 +1,84 @@
1.4 +Introduction
1.5 +------------
1.6 +
1.7 +SubpageComments is a distribution of extensions permitting the display and
1.8 +contribution of comments on pages, where each comment is stored in a separate
1.9 +subpage of the affected page.
1.10 +
1.11 +Installation
1.12 +------------
1.13 +
1.14 +To install the support library and MoinMoin-related scripts, consider using
1.15 +the moinsetup tool. See the "Recommended Software" section below for more
1.16 +information.
1.17 +
1.18 +With moinsetup and a suitable configuration file, the installation is done as
1.19 +follows with $SCDIR referring to the SubpageComments distribution directory
1.20 +containing this README.txt file:
1.21 +
1.22 +python moinsetup.py -m install_actions $SCDIR/actions
1.23 +python moinsetup.py -m install_macros $SCDIR/macros
1.24 +python moinsetup.py -m install_theme_resources $SCDIR
1.25 +python moinsetup.py -m edit_theme_stylesheet screen.css includecomments.css
1.26 +python moinsetup.py -m edit_theme_stylesheet print.css includecomments.css
1.27 +
1.28 +The first command installs the PostComment action.
1.29 +
1.30 +The second command installs the IncludeComments macro.
1.31 +
1.32 +The third command installs the theme resources in the available theme
1.33 +directories.
1.34 +
1.35 +The remaining commands activate the styles provided by SubpageComments by
1.36 +editing the screen.css and print.css files which are typically provided by
1.37 +themes. These commands add imports of the following form to the theme
1.38 +stylesheets:
1.39 +
1.40 + @import "includecomments.css";
1.41 +
1.42 +Recommended Software
1.43 +--------------------
1.44 +
1.45 +See the "Dependencies" section below for essential software.
1.46 +
1.47 +The moinsetup tool is recommended for installation since it aims to support
1.48 +all versions of MoinMoin that are supported for use with this software.
1.49 +
1.50 +See the following page for information on moinsetup:
1.51 +
1.52 +http://moinmo.in/ScriptMarket/moinsetup
1.53 +
1.54 +Contact, Copyright and Licence Information
1.55 +------------------------------------------
1.56 +
1.57 +See the following Web pages for more information about this work:
1.58 +
1.59 +http://moinmo.in/ActionMarket/SubpageComments
1.60 +
1.61 +The author can be contacted at the following e-mail address:
1.62 +
1.63 +paul@boddie.org.uk
1.64 +
1.65 +Copyright and licence information can be found in the docs directory - see
1.66 +docs/COPYING.txt and docs/LICENCE.txt for more information.
1.67 +
1.68 +Dependencies
1.69 +------------
1.70 +
1.71 +SubpageComments has the following basic dependencies:
1.72 +
1.73 +Packages Release Information
1.74 +-------- -------------------
1.75 +
1.76 +MoinSupport Tested with 0.4.1
1.77 + Source: http://hgweb.boddie.org.uk/MoinSupport
1.78 +
1.79 +Release Procedures
1.80 +------------------
1.81 +
1.82 +Update the __version__ attribute in the action and macro.
1.83 +Change the version number and package filename/directory in the documentation.
1.84 +Update the release notes (see above).
1.85 +Tag, export.
1.86 +Archive, upload.
1.87 +Update the ActionMarket (see above for the URL).
2.1 --- a/actions/PostComment.py Sun Nov 03 14:53:39 2013 +0100
2.2 +++ b/actions/PostComment.py Sun Nov 03 15:00:42 2013 +0100
2.3 @@ -12,6 +12,8 @@
2.4 from MoinMoin.wikiutil import escape
2.5 from MoinSupport import getPagesForSearch, getPagesFromResults, ActionSupport
2.6
2.7 +__version__ = "0.1"
2.8 +
2.9 Dependencies = ['pages']
2.10
2.11 class SpecialPermissions(Permissions):
3.1 --- a/macros/IncludeComments.py Sun Nov 03 14:53:39 2013 +0100
3.2 +++ b/macros/IncludeComments.py Sun Nov 03 15:00:42 2013 +0100
3.3 @@ -24,6 +24,8 @@
3.4 except ImportError:
3.5 from StringIO import StringIO
3.6
3.7 +__version__ = "0.1"
3.8 +
3.9 Dependencies = ['pages']
3.10
3.11 # Macro functions.