Centralizing (1a)

Michael Allan mike at zelea.com
Fri Apr 2 10:23:35 EDT 2010


> I like it very much! It's beautiful!

OK - then I'm happy, too.  :-) I was just staring at it for too long,
that's all.

> > (a) Simplify the titling.  The poll's title should be the default for
> >     an untitled position, such as this one:
> >     http://u.zelea.com/wiki/User:Fredgohlke-VerizonNet/p/grfin
> >
> > (b) Fix the links (they're hard to click on).  At least another day's
> >     effort for that.
> 
> Both seem to work already!?

(a) We spoke already, but the pretty titling wasn't there by default.
I was hardcoding it.  Now it's there for all polls.  We do it without
redirection now, so the URLs stay nice and short:
http://u.zelea.com/wiki/Special:PrefixIndex/P/

Positions now automatically inherit the poll title:
http://u.zelea.com/wiki/User:Fredgohlke-VerizonNet/p/grfin
Unless you override it with title=MY-TITLE, as I did here:
http://u.zelea.com/wiki/User:Mike-ZeleaCom/p/grfin

(b) The square cells in the nav-thingy (td) need JavaScript handlers
(onclick) to match the contained links (a).  MediaWiki filters away
the 'onclick' attributes (security thing).  So we have to add the
'onclick' attributes (or otherwise handle the click events) using
JavaScript itself:

  http://u.zelea.com/wiki/MediaWiki:Common.js

Anyone want to code that?  As a public service.  :-)

> Ok, I understand the url-names for Cities. Dresden will be
> http://u.zelea.com/wiki/DD (every city in Germany has such an
> official abbreviation (B-Berlin, HH-Hamburg, M-Munich, ...). But
> what should the urls be for Germany itself or Saxony e.g.?

Maybe DE and Sax (cool name).

-- 
Michael Allan

Toronto, +1 647-436-4521
http://zelea.com/



More information about the Votorola mailing list