On 5 Aug 2012, at 11:42, Kake wrote:
> I've hacked Wiki::Toolkit::Formatter::UseMod
to remove the square
> brackets from external links, and instead include a class of
> "external", which lets you style it with CSS. [...] I've made a new
> "INDEX_LIST_NO_PREFIX" macro, which suppresses the leading
"Locale"
> or "Category" when listing; see for example:
>
http://croydon.randomness.org.uk/wiki.cgi?Category_Retail_Shops
On Mon 06 Aug 2012, Stephen Jolly <steve(a)jollys.org> wrote:
Approve! [...] Also approve!
OK, I think these should probably go into the Wiki::Toolkit::Formatter::UseMod
and OpenGuides core (respectively). I will make it so, unless someone tells
me not to in the next few hours! In the case of the UseMod formatter, I'll
do it with an extra option to ->new, probably something like
"external_link_class" (which takes a string argument that will be used as the
CSS class for the links - "external" in our case). If this option isn't
provided then the old behaviour will occur.
Me:
> Along-the-street navigation: [...] a set of 5
thumbnails at the
> bottom of each page, showing the two neighbours on either side.
> See e.g.
http://croydon.randomness.org.uk/wiki.cgi?Maplin,_166_North_End
Steve:
Looks useful; may also be an interesting way to
navigate between
search results on non-completist wiki guides?
Unsure about this - it might suggest a sort of ordered connection
between the results that isn't actually present? Oh, though it might
be good when the search is a proximity search rather than a text
string search.
I particularly like the inline node map, which I would
happily see
added to other wiki guides, including RGL. I might personally be
tempted to hide the other map links behind an "other maps" link with
a bit of javascript magic on browsers that support such things, but
this is a question of taste. (Perhaps several questions of taste...)
As bob said, inline node maps are core OpenGuides. I can't remember
now why we decided not to put them on RGL. This decision perhaps
needs revisiting!
bob also mentioned that the map links are hidden with JavaScript on
RGL. Possibly worth pointing out that these extra map links aren't
core OpenGuides - they're done with custom templates on RGL and CGC.
This probably ties into your point below:
I guess there's an interesting larger question
here about how to
choose which maps to offer, and who should do it. I don't like the
Wikipedia solution, which IMO involves too much indirection and too
much choice. Having the wiki operator make a selection that feels
appropriate to them is a reasonable and simple compromise, but it
doesn't feel ideal. It might be optimal, however.
I don't like the Wikipedia solution either; I think it's very confusing.
Kake