I'm finding it confusing that both "classes that use TWkClassWiki" as well as WkClassWiki seem to be referred to conceptually as Wiki. I was trying to revive TAPWikis index view:
gtPagesFor: aView
<gtView>
<gtClassView>
^ aView list
title: 'Pages' translated;
priority: -9;
items: [ self wiki pageNames collect: [ :pn | self wiki page: pn ] ];
itemText: [ :page | page name ]
because I find it a useful supplement to the wiki browser's main view, but I ran into a situation where sometimes wiki seemed to return my custom wiki class and sometimes to aWkClassWiki, neither of which understood wikiPageNamed: which caused an error.
I'm finding it confusing that both "classes that use
TWkClassWiki
" as well asWkClassWiki
seem to be referred to conceptually asWiki
. I was trying to reviveTAPWiki
s index view:because I find it a useful supplement to the wiki browser's main view, but I ran into a situation where sometimes
wiki
seemed to return my custom wiki class and sometimes to aWkClassWiki, neither of which understoodwikiPageNamed:
which caused an error.