Hi,
2009/3/31 Kenneth Porter <shiva(a)sewingwitch.com>:
> I want to pass an argument to a template that contains a leading and
> trailing space. It looks like the template parser is stripping these before
> evaluating the parameter. Is there a way to prevent that?
>
> Here's an example page:
>
> <http://www.wowwiki.com/Guild:M_A_%28Bleeding_Hollow_US%29>
>
> I want to pass " M A " to the Guildbox template's name parameter. It will
> get expanded into a string to render in an off-site URL. Currently it gets
> rendered as "M+A", not "+M+A+", so the URL doesn't connect to the desired
> page.
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
Try using HTML escaped spaces:  
HTH
--
Regards,
Jean-Marc
--
___
@@ // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Hi,
My understanding of the project is , we have to obtain the geo information
of wikipedia article (if it has one) and we have to make a cluster of all
the pages that has same geo information.
Please let me know more details on the project. I am very
excited to work on this project.
Thank you.
I want to pass an argument to a template that contains a leading and
trailing space. It looks like the template parser is stripping these before
evaluating the parameter. Is there a way to prevent that?
Here's an example page:
<http://www.wowwiki.com/Guild:M_A_%28Bleeding_Hollow_US%29>
I want to pass " M A " to the Guildbox template's name parameter. It will
get expanded into a string to render in an off-site URL. Currently it gets
rendered as "M+A", not "+M+A+", so the URL doesn't connect to the desired
page.
I am trying to install version 1.14.0 on lunarpages site, I have
uploaded via scp from a mac running 10.5.6, have unpacked the tarball
and followed the recommended procedure to set up.
I am getting a 500 error in the browser, and the error log shows the
following 2 lines
[Tue Mar 31 09:20:45 2009] [error] [client 80.177.154.53] Premature end
of script headers: /home/mydomain/public_html/wiki/index.php
SoftException in Application.cpp:544: Directory
"/home/silve112/public_html/wiki" is writeable by group
note, I have successfully set this up on a freebsd box to test at home,
can someone please point me to what is wrong here, a permissions
problem? Or is it a corrupted upload?
--
Martin
MediaWiki:Common.js doesn't get "loaded" into the generated HTML from my
wiki (MW 1.14.0).
I've tried making a full refresh (Ctrl + Shift + R in firefox) and
adding $wgUseSiteJs = true; to LocalSettings.php
The user js is loaded though, i.e. I see the following line in the
generated HTML:
<script type="text/javascript" src="/w/index.php?title=User:My-username/monobook.js&action=raw&ctype=text/javascript"></script>
Are there some extra settings needed?
Else, the following lines of code in includes/SkinTemplate.php seem
suspicious to me...
if( $wgUseSiteJs ) {
$jsCache = $this->loggedin ? '&smaxage=0' : '';
$tpl->set( 'jsvarurl',
self::makeUrl('-',
"action=raw$jsCache&gen=js&useskin=" .
urlencode( $this->getSkinName() ) ) );
} else {
$tpl->set('jsvarurl', false);
}
Will they not generate something like
...User:My-username/monobook.js...
rather than
...MediaWiki:Common.js...
in the generated script inclusion tag?
Kind Regards
Samuel lampa
Hi
I use the variable {{PAGESINCATEGORY:category_name}}, but would prefer to
display the total of the number of pages in a category + 1. That is, if the
total number of pages is 6, I'd like 7 to be displayed. Does anyone know a
way to do this?
Best
Derrick
Hi!
Whether somebody has any infos about applying Mediawiki engine and Wiki as
such in practice of customer support centers (ITIL, helpdesk, hotline)? I
will be grateful for any support :-).
Reg., Janusz "Ency" Dorożyński
Hi,
I want to display the p-personal portlet at the bottom of the sidebar.
Getting the portlet from the top-left corner of the screen (I'm using
Monobook) is no problem, but it displays above the navigation and toolbox
portlets, and it can't be moved via 'Mediawiki:Sidebar'. What to do? Thanks
--
Claus Juhl Knudsen
I can't seem to find (or maybe not looking in the right places!) if it is
possible to assign a CSS class to links that point to pages to a specific
namespace, similar to how external links are given the CSS class of
"externa". is it possible via extensions or editing something like
LocalSettings.php?
for example: if I create an interwiki link from the main namespace to lets
say the "community" namespace (wiki: [[Community:Main]]), I want those links
to have a CSS class of "link-ns100"
any pointers would be greatly appreciated. :)
Walter Mazza
Hi Guys,
we are really frustrated as our wiki is showing the wrong time.
Here's the part of our LocalSettings (as seen on
http://www.mediawiki.org/wiki/Manual_talk:Timezone):
#Set Default Timezone
$wgLocaltimezone = "Europe/Berlin";
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");
# Versions before 1.7.0 used $wgLocalTZoffset as hours.
# After 1.7.0 offset as minutes
$wgLocalTZoffset = date("Z") / 60;
#$wgLocalTZoffset = date("Z") / 60 + date("I") * 60;
# putenv("TZ=$oldtz");
Server's and php's time is right:
[root@servlet ~]# php -r 'echo date("r");'
Mon, 30 Mar 2009 15:57:03 +0200
Our Wiki is always 2 hours wrong:
Server time13:59
Local time15:59
Offset 02:00
Kind regards,
Heiner Wulfhorst
Intermoves AG
Technologiepark 19
33100 Paderborn
* Tel. + 49 (0) 52 51 16 13-0
* Fax + 49 (0) 52 51 16 13-99
* mailto:heiner.wulfhorst@intermoves.de
Vorstand: Volker Herold
Aufsichtsratvorsitzender: Prof. Dr. Uwe Kern
Sitz der Gesellschaft: Paderborn
Registergericht: Paderborn, HRB 3592