Author Topic: MediaWiki Designers' Helpdesk  (Read 14302 times)

Offline skizzerz

  • StrategyWiki Staff
  • ***
  • Posts: 12
  • Gender: Male
    • View Profile
    • StrategyWiki
Re: MediaWiki Designers' Helpdesk
« Reply #40 on: November 08, 2010, 10:43:33 PM »
All of the templates on SmashWiki that use Template:Navbox are currently generating a redlink in the top-left corner because the link is being made without the Template: namespace prefix.

For example, Template:SSBMStages has a useless redlink to "SSBMStages" where there should be a link to "Template:SSBMStages".

However, after trying to figure out what in Template:Navbox was causing the issue, I was stumped.  Anybody know how to fix this?

You don't have StringFunctions installed, which is messing up {{Tnavbar}} (the thing that generates the view, discuss, edit links). Since that isn't installed, {{#pos}} doesn't work and just posts as plain wikitext, so {{#if:{{#pos:{{{1}}}|:}}||Template:}} is always true, so it never returns the Template: part.

Offline Miles of SmashWiki

  • Sinister Trivia Villain
  • SmashWiki Staff
  • ***
  • Posts: 333
  • Gender: Male
  • "Trying to seem mysterious is my hobby."
    • View Profile
    • AllisBrawl profile
Re: MediaWiki Designers' Helpdesk
« Reply #41 on: November 09, 2010, 12:02:12 AM »
Dantman fixed the issue.  Many thanks.

Srsbsns is always lurking (?_?)

Offline Member#36

  • Striving For A Perfect NIWA Unit
  • Retired Staff
  • *
  • Posts: 681
  • Gender: Male
  • Kirby, My Favorite Flavor
    • View Profile
Re: MediaWiki Designers' Helpdesk
« Reply #42 on: February 24, 2011, 11:25:00 PM »
If you have a question, please make a thread for it.