Simple TODO markup
IF you don't want/need to use Trello, there are some PmWiki recipes for TODO lists.
I've tried a few, and none of them are perfect for my needs.
So I thought -- why not create one more imperfect recipe!
add the following to config.php
:
## highlights "TODO:" and "DONE:" entries
## uses bootstrap label markup: Bootstrap/Markup#label
Markup("todo", "inline", '/TODO:/', "%label label-important%TODO:%%"); # red
Markup("done", "inline", '/DONE:/', "%label label-success%DONE:%%"); # green
TODO: actually implement the markup |
TODO: actually implement the markup
|
(:pagelist "TODO:" fmt=extract unit=line phead=link highlight=none:) |
None of this will auto-convert a completed item into DONE, but it does give some easier-to-spot markup on the page, and a builtin (to the kit) aggregation.
DONE: the pagelist is not picking up the items in this page. Which is not the behavior I found elsewhere.
Hrm. About six hours later it did pick up the items in today's post. Some sort of caching issue?
moving the wiki
I moved the wiki from michaelpaulukonis.com/wikikit
to michaelpaulukonis.com/wikimain
- since I am planning on having wikikit
be more of a "pure" wikikit wiki - almost straight up from the repo (if possible).
This wiki will also be from the kit, but with tweaks and experiments -- like SourceBlock (Geshi) which at 6 megs is too big to include in core.
Also, I plan on eliminating the wikimain
portion of the url eventually, as well.
Anyway. Clean URLs is always a pain for me.
This time was no exception.
This was compounded by the inclusion of the Cookbook:FastCache recipe, which is part of Gambhiro's wiki-kit, and I have not removed it, despite not understanding it (yikes!).
It's not configured correctly, that's for sure.
I have poor notes at Xrad:PmWikiDevelopment.CommonSetup
TODO: notes on configuring fastcache
TODO: notes on setting this up
htaccess setup notes
in site.config.php
-> $ScriptUrl = 'http://domain/path';
without a closing slash
in .htaccess
RewriteEngine On
# Define the rewrite base.
RewriteBase /wikimain
## More for Clean URLs
# Send requests without parameters to pmwiki.php.
RewriteRule ^$ pmwiki.php [L]
# Send requests for index.php to pmwiki.php.
RewriteRule ^index\.php$ pmwiki.php [L]
# Send requests to pmwiki.php, appending the query string part.
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ pmwiki.php?n=$1 [QSA,L]
Recent Comments