[Mediawiki-l] Breaking lines in an array

Alexis Moinet alexis.moinet at umons.ac.be
Mon Jul 6 12:57:14 UTC 2009


Hi,

using '\n' shouldn't work.

you should edit the page "Mediawiki:Copyright" of your wiki and add <br/> if you want it on a new line

or as suggested, you can replace spaces with &nbsp; in that page

(or any other html/css trick that puts everything on a single line)


Ekompute .info wrote :
> Hi, I wanted to break the footer so that the copyright message is in its own
> line rather than flowing over 2 lines. I did the following but it didn't
> work:
> 
> $footerlinks = array(
>             'lastmod', 'viewcount', 'numberofwatchingusers', 'credits',
>             'privacy', 'disclaimer', 'about', 'tagline', '\n', 'copyright',
>         );
> 
> Has anyone tried that?
> 
> PM Poon



More information about the MediaWiki-l mailing list