Closed StephenBrown2 closed 11 years ago
screenshot would be useful. but merging for now
No problem:
Without the<br/>
:
With the<br/>
:
Though I personally prefer the look of the msg()
function:
msg(sprintf($this->getLang('redirected_from'), html_wikilink(':'.$page.'?redirect=no',$page)));
and
msg(sprintf($this->getLang('redirected_from'), '<a href="'.wl(':'.$page, Array('redirect' => 'no'), TRUE, '& ').'" class="wikilink1" title="'.$page.'">'.$page.'</a>'));
both appear to do the same thing, the first being more concise and, in my opinion, readable. Why the need for a custom div style at all? Perhaps because of the "This page has moved" notice? But a msg() works fine there too. This may be a separate issue.
dunno. i just imported the code to git so it would be maintainable
Gotcha. I'll do a bit of hacking/cleanup on that over the weekend and see what I come up with.
two opinions why custom implementation:
The notice for the Redirected page is covered by the automatically generated table of contents. Adding a break tag after the div fixes this.