Koozali.org: home of the SME Server

Wiki notebox template

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Wiki notebox template
« on: February 13, 2010, 10:40:40 PM »
This problem appears to have happened since the time the Note Box template was changed quite some time ago, and therefore all Note Boxes are affected. The problem is that Note Boxes that include bug links ie [[Bugzilla:1234]], cause the whole Note Box text contents not to display at all, but instead display the words "Important message here".
The workaround is to enclose the bug link with a second set of double brackets ie [[[[Bugzilla:1234]]]].

This problem is happening system wide in all Note Boxes.
This is not a very satisfactory situation, the solution suggested is really a workaround. The Note Box template code needs either fixing or reverting to what it was previously.
I was unaware of this, next time please raise a bug or add a remark to the talk page of the template. I will have a look at it the coming days and see if I can fix the root cause, so we can ditch the workaround.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Wiki notebox template
« Reply #1 on: February 13, 2010, 11:00:28 PM »
cactus

Quote
I was unaware of this, next time please raise a bug or add a remark to the talk page of the template. I will have a look at it the coming days and see if I can fix the root cause, so we can ditch the workaround.

RayMitchell did place a comment here, which I assume you may have missed seeing:
http://wiki.contribs.org/SME_Server_talk:Documentation:FAQ
which says:
Proxypass Note box issue when bugzilla link included

Cactus just reverted a change which repositioned the Note box ending }} brackets after the bugzilla link. The whole Note box text now does not display at all when viewing the FAQ. Timn played around with this trying to fix it and ended up placing the bug link outside the Note box. Reviewing the history of changes and going back a long way, it is apparent that the Template for the Note box was changed a long time ago, and since then when the bugzilla link is placed within the Note box start and ending brackets {{bugzilla:1612}} , the text no longer displays correctly. It just says "Important message here." I also looked at how to include bugzilla:1612 within the Note box text field so the text would still display, but I could not find any formatting rules or alternative. I did see that doing [[bugzilla:1612]] allowed the bugzilla link to display, but then the extra sets of brackets [[ ]] also displayed as plain text. I'd add that it is good practise to always verify/check any changes or corrections made, by clicking the Show preview button first, before committing those changes. --RayMitchell 10:06, 22 January 2010
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Wiki notebox template
« Reply #2 on: February 13, 2010, 11:11:31 PM »
Mmmm, I missed that indeed. I will have try and have a look at it later this week probably.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)