WikiGroups
Summary
This page contains information about wikigroups in use on ircnow wiki. The wikigroup is the portion before the / or period in a wiki link. This document is in the WikiTips wikigroup. In addition to wikiGroups, pages can belong to one or more categories.
Getting names of groups and pages.
pmWiki has a very simple naming convention for its pages. Its just a bunch of files in the form <wikiGroup.page>.
I generated a list of all the wiki pages from the ircnow pmwiki using this shell command:
ircnow$ ls /var/www/htdocs/wiki.ircnow.org/wiki.d/
Here is a paste of it 1322 Pages
You can filter out the wikiGroups by piping it to uniq like this:
ircnow$ ls /var/www/htdocs/wiki.ircnow.org/wiki.d/ | perl -pe 's/(.*)\..*/$1/g' | uniq
Here is a paste of it 293 wikiGroups
You can pipe each of those lines to wc -l to get a count of pages and wikiGroups. 1322 pages, and 293 wikiGroups.
Think this is a good place to start with reordering the pages in the wiki. We should work on sorting through these pages and groups here before making drastic changes on the wiki. Think we should start by potting them into headings and giving them descriptions. I'll get started and poke through it as time permits, but others should join in.
I propose using underscores to extend the wikiGroup.page format to group-subgroup.page-subpage. There is no reason we couldn't add multiple of each this way, but think it'll get tedious so don't go overboard. For example, I think we should put the courses into a single group with subgroups for each of the courses. we'd have a structure like this:
course-unix100.unix101-page1 course-unix100.unix102-page1 ... course-perl100.perl101-page1 course-perl100.perl102-page2 ...
NOTE: I found that underscores between group and page levels didn't work - they were being removed. Using Hyphen seems to works. I also enabled draft mode which adds a special -draft flag to the end of the page name so keep this in mind. Probably shouldn't use -draft at the end of any page name.
There are other naming conventions in use I've seen in some cookbooks. For example the PowerTools cookbook uses a convention of wikigroup.prefix.page.suffix. I'm not sure this is the right cookbook for us just providing info on it.
Tools to help with renaming pages
I'm still investigating tools to help with adjusting the layout of the wiki. Most concerned about updating links used in the wiki to new locations. I haven't tested this yet, just thought I'd drop the links here for now.
- https://www.pmwiki.org/wiki/Cookbook/RenamePage
- https://www.pmwiki.org/wiki/PmWiki/DeletingPages Info on deleting pages.
Text Colour scheme
I propose the following defines for line colouring this list as we work
No changes
Delete Group
Rename Group -> To Group
New Group
Feel free to change the colours above, as long as you also change them below. So best to do it soon :)
IRCNOW wikiGroups
The following is a list of known groups and what their purpose is within the page organization hierarchy. These will be groups we are keeping as they are
- wikiTips - Documents relating to how pmwiki is being used on this site.
- Civics - Documents relating to philosophy, policy, governments, and organization of ircnow.
- Debait - These are intended to be discussions on ideas/topics. Would be best if they were in a forum type structure.
- Ircnow - Documents related to IRCNOW Services.
- Openbsd - Documents relating to installing things on openbsd
The following groups Should be category tags not groups
- irc - This should be a category tag.
- shell -
- unix101 - This should be a category, but also a page collection under Training/courses/class.