Closed GoogleCodeExporter closed 8 years ago
Its not currently supported. I'll play around with it and see what it would
take to
get that option in
Original comment by kenyu73
on 21 Apr 2009 at 2:53
OK, I have some code I'm testing... looks promising so far/
Original comment by kenyu73
on 1 May 2009 at 2:49
Fixed in 3.7.3
Original comment by kenyu73
on 1 May 2009 at 2:40
[deleted comment]
I had just installed and tested. Seems to be working as i request, but ...
This release seems not to show the boxes in month view, they had dissapeared.
I was tinking about the images being shown inside those boxes, instead of
missing them.
Maybe is not possible to have both things.
Original comment by kafreAd...@gmail.com
on 3 May 2009 at 9:32
if you look at the html source, what path does the styleshooet have for
"./Calendar/templates/default.css"?
You should see somethign like this:
<link rel="stylesheet" href="/mediawiki/extensions/Calendar/templates/default.css"
type="text/css" media="screen" />
I just changed it from "included CSS" to stylesheets and I may need to work on
the
path logic more.
Original comment by kenyu73
on 4 May 2009 at 1:12
[deleted comment]
Wha I see is (with both previous and new Calendar.php):
<link type="text/css"
href="/wiki/skins//wiki/extensions/Calendar/templates/default.css?164"
rel="stylesheet">
which is wrong
If I modify it to be the proper path
"/wiki/extensions/Calendar/templates/default.css"
then I see the boxes.
I will use it hardcode from now on until you provide a fix.
Regards
Original comment by caralar...@gmail.com
on 4 May 2009 at 7:58
if I manage, as I though it was just tweaking the line:
$wgOut->addStyle( $cssPath . "/templates/default.css", 'screen');
in Calendar.php but seems is not that easy, so waiting for your fix then
Original comment by caralar...@gmail.com
on 4 May 2009 at 9:23
I opened a new ticket about this, so Im closing this one out.
I'm not sure what it is that causes what your seeing, so I'm going to have to
do some
digging around.
Thanks for the info!
Eric
Original comment by kenyu73
on 4 May 2009 at 12:14
Have you used the newer release? Does it work?
Original comment by kenyu73
on 7 May 2009 at 1:22
Sorry, I didn't realized about it until now.
Just deployed it there and still the same, I have the folowing head in the page:
<link type="text/css"
href="/wiki/skins//wiki/extensions/Calendar/templates/default.css?164"
rel="stylesheet">
If using firebug I modify it to be :
<link type="text/css" href="/wiki/extensions/Calendar/templates/default.css?164"
rel="stylesheet">
works
.
Maybe I am doing something wrong?
by the way my Mediawiki version is: 1.13.3 and I am using also
SyntaxHighlight_GeSHi
and LdapAuthentication extensions
Original comment by caralar...@gmail.com
on 7 May 2009 at 3:06
I use those same extensions too, so those should be fine.
Do you override your $wgScriptPath in LocalSettings?
I have noticed that the wiki function "$wgOut->addStyle()" will add the default
skin
path if it doesn't like the path passed into it.
around line 1263 in Calendar.php you should see this:
//return $calendar->getURLRelativePath();
If you can uncomment that and refresh your calendar page, it should return what
its
attempting to use.
Thanks for helping with this!
- Eric
Original comment by kenyu73
on 7 May 2009 at 3:41
my $wgScriptPath is set to /wiki:
$wgScriptPath = "/wiki";
If I uncomment the line I get:/wiki/extensions/Calendar
Ok I will post you the 2 head nodes I get from different versions:
With the latest, the css are not properly loaded, I get:
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="MediaWiki 1.13.3" name="generator"/>
<meta content="Calendarios:Eventos" name="keywords"/>
<link type="text/css"
href="/wiki/skins//wiki/extensions/Calendar/templates/default.css?164"
rel="stylesheet">
</link>
<link href="/favicon.ico" rel="shortcut icon"/>
<link title="TyvenWiki (es)" href="/wiki/opensearch_desc.php"
type="application/opensearchdescription+xml" rel="search"/>
<link
href="http://intranet.tyven/wiki/index.php?title=Especial:RecentChanges&feed=rss
"
title="TyvenWiki RSS feed" type="application/rss+xml" rel="alternate"/>
<link
href="http://intranet.tyven/wiki/index.php?title=Especial:RecentChanges&feed=ato
m"
title="TyvenWiki Atom feed" type="application/atom+xml" rel="alternate"/>
<title>Calendarios:Eventos - TyvenWiki</title>
<style media="screen, projection" type="text/css">
</style>
<link href="/wiki/skins/common/commonPrint.css?164" media="print"
type="text/css"
rel="stylesheet">
</link>
<script type="text/javascript">
</script>
<script src="/wiki/skins/common/wikibits.js?164" type="text/javascript">
</script>
<script src="/wiki/skins/common/ajax.js?164" type="text/javascript">
</script>
<script src="/wiki/skins/common/ajaxwatch.js?164" type="text/javascript">
</script>
<script
src="/wiki/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook"
type="text/javascript">
</script>
<style type="text/css">
The wrong entry is the link entry.
With calendar v3.7.1, I get the proper view (with no images feauture):
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="MediaWiki 1.13.3" name="generator"/>
<meta content="Calendarios:Eventos" name="keywords"/>
<link href="/favicon.ico" rel="shortcut icon"/>
<link title="TyvenWiki (es)" href="/wiki/opensearch_desc.php"
type="application/opensearchdescription+xml" rel="search"/>
<link
href="http://intranet.tyven/wiki/index.php?title=Especial:RecentChanges&feed=rss
"
title="TyvenWiki RSS feed" type="application/rss+xml" rel="alternate"/>
<link
href="http://intranet.tyven/wiki/index.php?title=Especial:RecentChanges&feed=ato
m"
title="TyvenWiki Atom feed" type="application/atom+xml" rel="alternate"/>
<title>Calendarios:Eventos - TyvenWiki</title>
<style media="screen, projection" type="text/css">
</style>
<link href="/wiki/skins/common/commonPrint.css?164" media="print"
type="text/css"
rel="stylesheet">
</link>
<script type="text/javascript">
</script>
<script src="/wiki/skins/common/wikibits.js?164" type="text/javascript">
</script>
<script src="/wiki/skins/common/ajax.js?164" type="text/javascript">
</script>
<script src="/wiki/skins/common/ajaxwatch.js?164" type="text/javascript">
</script>
<script
src="/wiki/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook"
type="text/javascript">
</script>
<style type="text/css">
</style>
</head>
hope it would help you.
No problem about helping you, is just pure selfishness. If you make it works I
will
used it. :D
But I cann't do more testing today ...
Original comment by caralar...@gmail.com
on 7 May 2009 at 4:05
I meant the first link entry
Original comment by caralar...@gmail.com
on 7 May 2009 at 4:12
UGH.. found the issue. 1.13 doesn't support extensions using "addStyle()". It
always
expects the CSS file to be in /skins.
In 1.14 it checks to see of the style has http or a "/" in front of it then
uses the
path passed into the addStyle() function.
So for users < 1.14, you must add 'default.css' to the skins path.. but I need
to
make a version check before including the path.
I'll have the fixed in the next release for sure.
Thanks again for the help.
Original comment by kenyu73
on 7 May 2009 at 5:13
Try the newest when you get a chance (v3.7.7.1), I think it may work for you
now.
You dont need to copy anything into skins either. I'm simply loading the css
data
using "addHTML()" instead of using "addStyle()"
Original comment by kenyu73
on 7 May 2009 at 5:41
Hi! Thank you for a great extension and for your time!
I am currently playing around with the calendar, and images work. the only
problem is
that if i try to scale images, i.e. [[image:example.jpg|80px]], the "wiki
article"
displays it correctly, but the calendar shows "wikitext", or code. Is it
possible to
make scaling work here? or even better, "auto scale" to fit table? I have
customized
"calendar.php" and "main.css" so that the calendar is a bit smaller, and I had
to
install the extension without namespace, since I want it on the main page.
Thanks!
Best regards,
Alex
Original comment by telio.se...@gmail.com
on 15 Jan 2010 at 2:20
Please ignore the above post.
Hi! Thank you for a great extension and for your time!
I am currently playing around with the calendar, and images work. the only
problem is
that if i try to scale images, i.e. [[image:example.jpg|80px]], the "wiki
article"
displays it correctly, but the calendar shows "wikitext", or code. Is it
possible to
make scaling work here? or even better, "auto scale" to fit table? I have
customized
"calendar.php" and "default.css" so that the calendar is a bit smaller, and I
had to
install the extension without namespace, since I want it on the main page.
p.s. please ignore my previous post (from telio.selgere). For some reason I was
logged into a company mail account that I actually should not have access to
when
posting.
Attached are "calendar.php", and "default.css".
Thanks!
Best regards,
Alex
Original comment by alexsigg...@gmail.com
on 15 Jan 2010 at 2:30
Attachments:
Original issue reported on code.google.com by
caralar...@gmail.com
on 21 Apr 2009 at 12:59