Maarten Deen wrote:
> Peter Miller wrote:
>>
>> Many of the UK wiki pages with 'place' and 'slippery map' templates
>> are badly formatted, but not all.
>>
>>
>> This one is badly formatted:-
>> http://wiki.openstreetmap.org/wiki/East_Sussex
>>
>> and this one as well:-
>> http://wiki.openstreetmap.org/wiki/County_Durham
>>
>> But this one is fine:-
>> http://wiki.openstreetmap.org/wiki/Cambridgeshire
>
> I changed the "Geohack for OSM" part on Template:place a bit. It looks better
> on the template page, but it appears the template is cached so it might take a
> little time before the pages look better.
> It should say "More maps on Geohack for OSM" in the corrected version.
>
> I suspect the original version had problems with page names that have spaces
> in them. For a quick fix I wasn't able to fix it so that it looked how user
> Kolossos made it originaly.

Well, first fix did not do the trick (same space problem), but I saw the
solution in the same template: use {{urlencode:{{{name}}}}} if the name is to
be used in a URL. It will substitute '+' for space so the wiki does not get
confused.
Pages are still cached from where I see them (could be local cache), but see
http://wiki.openstreetmap.org/wiki/Tyne_and_Wear for proof.

And reverted my layout change to Kolossos' original version.

Regards,
Maarten



_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to