Extension talk:MsCalendar

Jump to navigation Jump to search

About this board

Line break goes away with one item in Calendar

T0lk (talkcontribs)
Reply to "Line break goes away with one item in Calendar"

Installation not working...

Summary by Sophivorus

This bug report refers to a very old version and hasn't been reported again. (talkcontribs)

I have installed the extension in the file structure, added this line to the LocalSettings.php file:

require_once "$IP/extensions/MsCalendar/MsCalendar.php";

I have run the required SQL to create the three tables. I have run select statements against the three tables so I know they are there.

I create a page in my wiki and put text in it like this:

<mscalendar>Name of the calendar</mscalendar>

When I click save, I get:

Database error

A database query error has occurred. This may indicate a bug in the software.

The page doesn't save at all.

Can someone help? (talkcontribs)
Summary by Sophivorus

This bug report refers to a very old version and hasn't been reported again. (talkcontribs)


I have a calendar on my wiki site that appears to all be working properly, except that the buttons to go forward and backward though months and years in the top right each appear as the black outline of a square rather than triangles/arrows.

Where do I need to go to add images to these buttons?

Thanks for your help

Multi calendar support

Summary by Sophivorus

Current version now supports multiple calendars.

This feature request is tracked at phab:T241728, please comment there.

Fraifrai (talkcontribs)

Hi, as I noticed in the main article, I submitted a patch for v1.9 which allows more than one calendar per page. Martin Schwindl answered me in january that it works fine and will be integrated in the next releases. I switched a wiki in v2.0 and... had to repatch the JS... Cheers,

SmartK (talkcontribs)

sorry, can you resubmit the patch for v2.0. We did a major change from 1.9 and Martin S. does not work on this project anymore.

Use of capital letters

Summary by Sophivorus

This bug refers to a very old version and is no longer relevant. (talkcontribs)

the folder contained in the zip file contains capital letters. change them to lower capital in order for the pluging to work

SmartK (talkcontribs)

This is strange. The folders in the zip file do not contain capital letters. They work just fine the way they are.

No wiki markup renders after usage line

Summary by Sophivorus

This bug was due to defective documentation which has been fixed now. (talkcontribs)

I have installed this extension on my Mediawiki 1.20 and for whatever reason, wiki markup text fails to load anywhere after I use the calendar usage text. Sections, regular text, even categories do not render if inserted below the calendar line. Kind of frustrating since the calendar works flawlessly otherwise. The markup text does remain, it simply doesn't render. Details on my environment are below, thanks.

Product Version MediaWiki 1.20.3 PHP 5.3.3-7+squeeze19 (apache2handler) MySQL 5.1.66-0+squeeze1

Hardware: VMware Virtual Machine v.7 - Single Processor - 2048MB Memory - 20GB Storage Operating System: Debian Squeeze 6.0.6

Deli68 (talkcontribs)

If you insert wiki markup text above the calendar line, it will render. So I did with categories and a short introduction. Of course regular text will be shown above the calendar - that's probably not so nice if you have a lot of text. Categories will be shown at the bottom of the site as usual.

Sophivorus (talkcontribs)

This bug was almost surely because you copy-pasted the wikitext in the documentation, which said:

<mscalendar name="Name_of_Calendar" sort="abc"></calendar>

If you look closely, the opening tag is "mscalendar", while the closing tag is "calendar", so the "mscalendar" tag never got properly closed, and all wikitext after it was considered part of it. Close the tag properly and the bug is gone. I've fixed the documentation to prevent further confusion.

Summary by Sophivorus

Running maintenance/update.php is required. Documentation has been updated accordingly.

DaMaxForster (talkcontribs)


first of all thanks for this nice extension. But are you sure that no database update is required to use it? I got some database errors while I try to get it started first, but after 'update.php' this was solved and the database errors disappeared (wiki was trying to access database entry mscal_name (or something like that).

Regards, Max

Kghbln (talkcontribs)

Indeed I myself do not use this extension however when looking at the code I can see that this extension uses a custom database table. I have just amended the documentation accordingly. Thanks for noting this! Cheers

Changes on Special:Recent changes page?

Summary by Sophivorus

Logging new events on recent changes is currently not supported.

This feature request is tracked at phab:T241733, please comment there.

Jspeeden (talkcontribs)

It would be useful if the page hosting the calendar could be shown on the Special:Recent changes page if the calendar is modified. As it is, the calendar can be modified and no one really knows that it has been if they are checking Recent changes to see if they need to look at any updates to the wiki. Does anyone know how one could make this happen?

Sophivorus (talkcontribs)
Summary by Sophivorus

Preventing anonymous users with read access from editing the calendar is currently not possible.

This feature request is tracked at phab:T154242, please comment there.

2A02:8420:65AD:BD00:35C4:5845:949A:DA78 (talkcontribs)

is it possible to prevent anonymous users who can read the calendar from adding/modifying/deleting events in it ? (talkcontribs)

I would like to know this too. Have you found something? (talkcontribs)

did anyone found a fix yet? (talkcontribs)

Please, I'm interested in finding a solution to this as well Thank you

Sophivorus (talkcontribs)
Summary by Sophivorus

To set Sunday as the first day of the week, change line 47 of the file jquery.calendario.js in the js directory. Instead of:

startIn : 1


startIn: 0

Then remember to refresh the calendar page to reload the JavaScript.

Setting this from LocalSettings.php is currently not possible.

This feature request is tracked at phab:T241729, please comment there. (talkcontribs)

Is there an option to change the first day of the week e.g. monday to sunday? and is there other attributes to use with this calendar?

SmartK (talkcontribs)

This would be cool, but there is no option yet. Maybe you can code that?

Roips (talkcontribs)

Yes, just change the file jquery.calendario.js inside the js folder.

At line 47:

Instead of

startIn : 1


startIn: 0

P.S.: Click Ctrl+F5 in the browser in order to reload the updated JavaScript