Hello is there an option to add external link to event added to this calendar?
Extension talk:MsCalendar
I had to do some work on mediawiki and now all the mscalendar entries are gone and I can't manually add anything. How do I troubleshoot this issue? thank you.
I'm using mediawiki 1.39.1, php 8.0, mySQL 5.7 I had an issue with the wiki that made me have to run the update.php. When I did that my problem was fixed but now the entries in mscalendar are not displaying even i can see them in the mySQL database. I have no idea how to fix this. the ms calendar extension version I'm using is 2.4 (3b3352c). Any help would be appreciated.
ok, I finally figured out what to do. I had to ignore what mediawiki release I have installed and download version 3 of the mscalendar extension. Then everything worked as expected.
ohoh! I made a couple small changes to a js file and the entire extension stopped working!! I don't understand why as I have done this many times and a page refresh fixed it. NOT this time! so what do I need to do to fix this?
The only way I could fix this was to reinstall the version 3 master release again. Not sure why but if you edit the jquery.carendario.js file and save your change the extension breaks.
I installed the current release of MsCalendar. The calendar works but my old calendar entries are gone. Can we recover them?
Brad
0.245.185.37 - - [22/Apr/2023:18:53:50 -0400] "GET /index.php?action=ajax&rs=MsCalendar%3A%3AsaveNew&rsargs%5B%5D=1&rsargs%5B%5D=22.04.2023&rsargs%5B%5D=test%20123&rsargs%5B%5D=&rsargs%5B%5D=1&rsar
gs%5B%5D=1 HTTP/1.1" 404 16253
10.245.185.37 - - [22/Apr/2023:19:16:16 -0400] "GET /index.php?action=ajax&rs=MsCalendar%3A%3AsaveNew&rsargs%5B%5D=1&rsargs%5B%5D=22.04.2023&rsargs%5B%5D=test&rsargs%5B%5D=&rsargs%5B%5D=1&rsargs%5B%
5D=1 HTTP/1.1" 404 16247
Hi,
I downloaded the update from:
https://gerrit.wikimedia.org/g/mediawiki/extensions/MsCalendar
using the the update from 5 weeks ago. Everything is now working.
Thank you.
Brad Zoltick
Thanks to user:BeneBane's work you will find a fix here: https://gerrit.wikimedia.org/g/mediawiki/extensions/MsCalendar/%2Blog/master that fixes issues for 1.39. My system is up and running fine now with MScalendar extention.
Please be aware that this extension no longer works with the current version of Mediawiki! It looks like the current owner has no plan to update it to work with mediawiki 1.38+
Well I see updates where made but not sure if it was to fix for 1.38. I'm using 1.39.1 and this extension is not working with php 8.0.28, MySQL 5.7.38 on Centos
Extension is using ajax api which was removed in mediawiki 1.38
no events are displayed nor is it possible to create new ones.
Fixing this requires substantial rewriting which I'm not about to make, so I'm marking this extension as incompatible with MediaWiki 1.38+
This is such a useful extension. It appears that the
- Ajax action that was deprecated in 1.27 now has been removed.
Can't you replace your calls with something using jQuery?
Your calendar is just great and it would be a loss to the community if it is no longer supported.
Hello,
I was playing around with the size of the MsCalendar. I was able to change the days in width, but the Header with the "Today" and Month and Year input always stayed at a 100% of the page.
How can I change that? I would also reduce the size of the input field for the year.
Has someone experience or knows the code? Thanks!
plz tell me T^T
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?
This would be cool, but there is no option yet. Maybe you can code that?
Yes, just change the file jquery.calendario.js inside the js folder.
At line 47:
Instead of
startIn : 1
Write
startIn: 0
P.S.: Click Ctrl+F5 in the browser in order to reload the updated JavaScript
The change of line 47 from startln: 1 to startln: 0 works but... the shading does not move for the days of the week now instead of saturday and sunday shaded it has friday and saturday shaded. How to change the shading to be saturday and sunday once changing the start of the week to sunday?
ok, figured it out:
in the jquery.calendario.js file:
line 47 change startIn: 1, to startIn: 0, //this changes the start day to Sunday
line 263 change if( j <= 6 && j >= 5) //weekend to if( j == 0 || j == 6) //weekend //this will move the shading for the weekend days to be Sunday and Saturday. If you don't make this change the shading for weekend will be Friday and Saturday.