Hi Clayton,

On Thu, Jul 8, 2010 at 1:08 AM, Clayton <[email protected]> wrote:
> On 07/07/2010 02:40 PM, Ivan M wrote:
>>>
>>> Looking good! Maybe (Im not sure about this) it might be an idea to
>>> link to:
>>>
>>>
>>> http://wiki.services.openoffice.org/w/index.php?title=Special%3ACategoryTree&target=MainIndex&mode=categories&dotree=Show+tree
>>>
>>> instead, as it is easier to navigate.
>>
>> You're right, this is easier to navigate (at least the information is
>> not spread over many pages). However, I'm having trouble (in preview
>> mode) inserting that URL as a link (the text inside the
>> Documentation/Note template reverts to {{{1}}}) - Bjorn or Clayton,
>> could you please do this?
>
> Fixed.  The problem you were encountering is caused by the = signs in the
> URL. The details/reasons it broke are:
>
>  - The SpecialPage showing the Category tree cannot be linked via a normal
> Wiki link (ie a [[wiki page name]] link).  It must be linked as an external
> URL.
>
>  - The external URL contains key/value pairs used to generate the Category
> tree each time it's clicked.  The key/value pairs use the = sign to link the
> two together (key1=value1&key2=value2 and so on).
>
>  - MediaWiki Templates use = signs to designate parameter names, so
> everything up to the first = sign in the URL was treated as a parameter
> name.  The result was the Template broke and all you get is {{{1}}} in the
> Wiki page.
>
> The "fix" is actually easy... just wrap the = signs in the custom URL with
> {{ and }}.  So, every = in the URL should actually be {{=}}.  This calls a
> custom MediaWiki template that inserts the = where it needs to be in the URL
> and all is happy with the Template :-)
>
>
>> There's also another small issue: namely, some HTML code (<p><br
>> /></p>) seems to be inserted after the template, resulting in quite a
>> large gap between the copyright notice and the buttons. Trouble is, I
>> can't actually find it inside the Copyrightwarning2 template :(
>
> Fixed.  It was just some extra hard returns lurking around in the Template
> and in the Copyrightwarning2 page.

That's looking great now, thank you Clayton! I really like how quickly
we can do these things!

Regards,
Ivan.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to