mediawiki-extensions / mwcalendar Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/mwcalendar
Automatically exported from code.google.com/p/mwcalendar
Hi,
The calendar comes up fine and looks great but I cannot switch between months,
it says 'Internet explorer cannot display the webpage', but if you refresh that
page it does take you to the selected month. Any ideas?
Also I am unable to add any events, the buttons are there but once clicked on
they dont appear to do anything. I have been checking the access rights on the
DB accounts but have no idea.
Am I missing something obvious?
We did have the old version of your calendar and the events worked fine, it was
just the flicking between months which did the same thing, so we upgraded our
WIKI so we could use mwcalendar and now neither functionality works!
Any help would be much appreciated!
Original issue reported on code.google.com by [email protected]
on 2 Nov 2010 at 1:46
Anything special to do to have the calendar cells to be displayed like on your
sample calendar? CSS to move in another folder? Or all needs to be configured
manually? If manual, which file(s) to modify?
Also, if possible, how to translate the different labels, buttons and
months+days names? Which file(s) to modify?
I'd like to have a wiki used in our IT department, and this calendar would be a
good incentive, because we currently can't use a shared calendar via Outlook...
Original issue reported on code.google.com by [email protected]
on 13 Oct 2010 at 11:39
Attachments:
What steps will reproduce the problem?
1. Has to be installed on Windows XP
2. Click on navigation buttons will produce error 500.
3. Click on "+" to add an event, nothing happens.
What is the expected output? What do you see instead?
Well, I would like it if it ctually worked.
What version of the product are you using? On what operating system?
I am using the latest version that can be downloaded from the site. I am using
this on Windows XP, SP3.
Please provide any additional information below.
So, I guess my big question is does this work on Windows XP under IIS 5.2? I
have the calendar displaying on my wiki, and it looks pretty, nice layout, but
it does nothing. I click on the navigation buttons and I get error 500, I
click on "+" to add an event and nothing happens except a screen flicker. I am
trying to figure out what is wrong, and am pulling my hair out. Any help would
be greatly appreciated.
Original issue reported on code.google.com by [email protected]
on 25 Jan 2011 at 3:43
When saving a new event German Umlaute like äöü will not display, but garble.
Changed the charset description in email.php from
charset=iso-8859-1 into
charset=utf-8.
Now Umlaute will display correctly when I
save and email an event.
But once I open an event, Umlaute will garble again and also save incorrectly.
Is there another place where to change the charset?
Original issue reported on code.google.com by [email protected]
on 28 Jul 2011 at 1:15
You can use document.body instead of document.documentElement.
/* x = event.clientX + document.documentElement.scrollLeft +15;\r
y = event.clientY + document.documentElement.scrollTop; */\r
\r
- x = _posX + document.documentElement.scrollLeft +15;\r
- y = _posY + document.documentElement.scrollTop; \r
+ x = _posX + document.body.scrollLeft +15;\r
+ y = _posY + document.body.scrollTop; \r
\r
if (!document.getElementById(summaryDivID)) {\r
var newNode = document.createElement("div");\r
Original issue reported on code.google.com by [email protected]
on 29 Jun 2012 at 1:54
To use this extension to manage usage of machines, it is neccesary to only have
one user at the same time.
Original issue reported on code.google.com by [email protected]
on 15 Mar 2011 at 10:03
What steps will reproduce the problem?
1. Open Calender
2. Click on button "next month" or "previous month"
What is the expected output? What do you see instead?
* I expect to see the dates of next month listed.
* Instead I see a blank page. Just the page name is shown, no calender at all,
at all.
* Even if I reload the page, it does not re-display the calender.
* I have to delete the cookie for my wiki site, this is the only way I found to
be able to have the calender displayed again (until I click next month again)
What version of the product are you using? On what operating system?
* mwCalendar (Version 0.3.3 (beta))
* MediaWiki 1.15.3
* PHP 5.2.12-nmm2 (apache2handler)
* MySQL 5.1.43-nmm4-log
Please provide any additional information below.
* The error suddenly started some days ago. Never had such problems before in
the months I was using the calender. Maybe some new date entry broke the
system?! I am thankful for any and all advice.
Original issue reported on code.google.com by [email protected]
on 25 Nov 2011 at 10:25
What steps will reproduce the problem?
1. Log out of a wiki that restricts creation access to users.
2. Go to a page with a calendar
3. Create an event and save it.
What is the expected output? What do you see instead?
At some point as early as possible, the user should be told they may not add
information. Instead, information is allowed.
What version of the product are you using? On what operating system?
v.0.3.3 (beta), Windows XP, Chrome / IE 8
Original issue reported on code.google.com by [email protected]
on 4 Jun 2011 at 1:43
What steps will reproduce the problem?
1. Great calendar and works well just a small display issue
Events in the events list are truncated. For example, a listed event i would
expect to be
(9.30am) Event name
but actually displays as
(9.30am) Event na...
Functionlly it still work but I would like to have the full event title listed
in the events list. In the calendar the truncated version is fine.
Original issue reported on code.google.com by [email protected]
on 19 Aug 2011 at 6:59
What steps will reproduce the problem?
1. When I click the forward to next month or year
What is the expected output? What do you see instead?
Goto next Month or year
What version of the product are you using? On what operating system?
v0.3.3 (editing on iMac Snow Leopard) Hosted on 4UHosting.co.uk Linux I believe
Please provide any additional information below.
Forbidden
You don't have permission to access /w/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
Original issue reported on code.google.com by [email protected]
on 9 Sep 2010 at 10:26
//german
$messages["de"] = array(
"mwc_default_name" => "Öffentliche",
"mwc_today" => "Heute",
"mwc_delete_title" => "Nur der Ersteller oder ein Admin kann diese Veranstaltung löschen.",
"mwc_event" => "Veranstaltung",
"mwc_batch" => "Batch",
"mwc_created_by" => "erzeugt von",
"mwc_last_edited_by" => "herausgegeben von",
"mwc_new" => "(+)",
"mwc_event_subject" => "Betreff",
"mwc_event_location" => "Standort",
"mwc_event_notify" => "benachrichtigen",
"mwc_event_start" => "Start",
"mwc_event_end" => "Ende",
"mwc_event_delete" => "löschen",
"mwc_event_save" => "sichern",
"mwc_event_close" => "schließen",
"mwc_event_allday" => "den ganzen Tag",
"mwc_event_add" => "hinzufügen",
"" => ""
);
Original issue reported on code.google.com by [email protected]
on 8 Sep 2010 at 6:51
In most european countries, week starts on monday.
Would be great to have this option in i18n settings.
Original issue reported on code.google.com by Ignasi.Artigas
on 22 Mar 2010 at 9:46
What steps will reproduce the problem?
1. I get this error when install mwcalendar in my mediawiki
2.
3.
What is the expected output? What do you see instead?
get_event_array() ); */ /** * This is the iCal-class * @param {string} filename
The name of the file which should be parsed * @constructor */
error_reporting(E_ALL); class ical { /* How many ToDos are in this ical? */
public /** @type {int} */ $todo_count = 0; /* How many events are in this ical?
*/ public /** @type {int} */ $event_count = 0; /* The parsed calendar */ public
/** @type {Array} */ $cal; /* Which keyword has been added to cal at last? */
private /** @type {string} */ $last_keyword; public function
__construct($filename) { $lines = file($filename, FILE_IGNORE_NEW_LINES |
FILE_SKIP_EMPTY_LINES); if (stristr($lines[0],'BEGIN:VCALENDAR') === false){
return false; } else { foreach ($lines as $line) { $line = trim($line); $add =
$this->split_key_value($line); if($add === false){ $this->add_to_array($type,
false, $line); continue; } list($keyword, $value) = $add; switch ($line) { //
http://www.kanzaki.com/docs/ical/vtodo.html case "BEGIN:VTODO":
$this->todo_count++; $type = "VTODO"; break; //
http://www.kanzaki.com/docs/ical/vevent.html case "BEGIN:VEVENT": #echo "vevent
gematcht"; $this->event_count++; $type = "VEVENT"; break; //all other special
strings case "BEGIN:VCALENDAR": case "BEGIN:DAYLIGHT": //
http://www.kanzaki.com/docs/ical/vtimezone.html case "BEGIN:VTIMEZONE": case
"BEGIN:STANDARD": $type = $value; break; case "END:VTODO": // end special text
- goto VCALENDAR key case "END:VEVENT": case "END:VCALENDAR": case
"END:DAYLIGHT": case "END:VTIMEZONE": case "END:STANDARD": $type = "VCALENDAR";
break; default: $this->add_to_array($type, $keyword, $value); break; } } return
$this->cal; } } /** * Add to $this->ical array one value and key. * * @param
{string} $type This could be VTODO, VEVENT, VCALENDAR, ... * @param {string}
$keyword * @param {string} $value */ function add_to_array($type, $keyword,
$value) { if ($keyword == false) { $keyword = $this->last_keyword; switch
($type) { case 'VEVENT': $value = $this->cal[$type][$this->event_count -
1][$keyword].$value; break; case 'VTODO' : $value =
$this->cal[$type][$this->todo_count - 1][$keyword].$value; break; } } if
(stristr($keyword,"DTSTART") or stristr($keyword,"DTEND")) { $keyword =
explode(";", $keyword); $keyword = $keyword[0]; } switch ($type) { case
"VTODO": $this->cal[$type][$this->todo_count - 1][$keyword] = $value;
#$this->cal[$type][$this->todo_count]['Unix'] = $unixtime; break; case
"VEVENT": $this->cal[$type][$this->event_count - 1][$keyword] = $value; break;
default: $this->cal[$type][$keyword] = $value; break; } $this->last_keyword =
$keyword; } /** * @param {string} $text which is like "VCALENDAR:Begin" or
"LOCATION:" * @return {Array} array("VCALENDAR", "Begin") */ function
split_key_value($text) { preg_match("/([^:]+)[:]([\w\W]*)/", $text, $matches);
if(count($matches) == 0){return false;} $matches = array_splice($matches, 1,
2); return $matches; } /** * Return Unix timestamp from ical date time format *
* @param {string} $ical_date A Date in the format YYYYMMDD[T]HHMMSS[Z] or *
YYYYMMDD[T]HHMMSS * @return {int} */ function
ical_date_to_unix_timestamp($ical_date) { $ical_date = str_replace('T', '',
$ical_date); $ical_date = str_replace('Z', '', $ical_date); $pattern =
'/([0-9]{4})'; # 1: YYYY $pattern.= '([0-9]{2})'; # 2: MM $pattern.=
'([0-9]{2})'; # 3: DD $pattern.= '([0-9]{0,2})'; # 4: HH $pattern.=
'([0-9]{0,2})'; # 5: MM $pattern.= '([0-9]{0,2})/'; # 6: SS
preg_match($pattern, $ical_date, $date); // Unix timestamp can't represent
dates before 1970 if ($date[1] <= 1970) { return false; } $timestamp = mktime(
(int)$date[4], (int)$date[5], (int)$date[6], (int)$date[2], (int)$date[3],
(int)$date[1] ); return $timestamp; } /** * Returns an array of arrays with all
events. Every event is an associative * array and each property is an element
it. * @return {array} */ function get_event_array() { $array = $this->cal;
return $array['VEVENT']; } } ?>
What version of the product are you using? On what operating system?
i using
mediawiki : 1.13.5
php : 5.4.5 (apache2handler
mysql : 5.5.27-log
Please provide any additional information below.
i also get this error if i enable mwcalendar in LocalSetting.php, but if i
disable mwcalendar i can't access mwcalendar extensions
please give me suggestion and feedback what must i do?
Thank you
Original issue reported on code.google.com by [email protected]
on 22 Oct 2012 at 8:58
What steps will reproduce the problem?
1. Using MW Calendar and TinyMCE
2. Click the "+" sign to add a new event
3. Complete the subject
What is the expected output? What do you see instead?
* Need to be able to change the font color of the 'subject' field since this is what will be reflected in the calendar view. Being able to color code entries will make scheduling activities much easier to coordinate. (See attachment for visual)
* You can change the font color for the 'comments' portion (mouseover), but this isn't nearly as important as the subject.
What version of the product are you using? On what operating system?
mwCalendar Version 0.3.3 (beta) on Microsoft Windows XP Professional, SP3.
Please provide any additional information below.
* Please see the attachment for a 'wish list'. Much appreciated.
I LOVE THIS EXTENSION. Font color customization would make it perfect for my
organization's needs.
Original issue reported on code.google.com by [email protected]
on 6 Jul 2011 at 8:30
Attachments:
This is an enhancement:
Eropean normaly use:
Dateformat Day.Month.Year ( 15.03.2011)
or Year/month/day (2011/03/15)
But never the american format 3/15/2011
And usually the clock is in 24h format: 16:34 not 4:34 PM
Original issue reported on code.google.com by [email protected]
on 15 Mar 2011 at 10:01
What steps will reproduce the problem?
1. Be on a French (or other language except english) system
2. Add a new calendar assignment
3. Read the eventlist, the date is still in english even if you set the locale
to fr_CA
What is the expected output? What do you see instead?
Have the date in french.
What version of the product are you using? On what operating system?
v0.3.3
Please provide any additional information below.
To correct the problem change the date function to the strftime function in
includes/main.php at line 502 see:
//$date = "<tr><td class='eventlist_header'>". date( 'l, M j',
mktime(0,0,0,$month, $day, $year)) . "</td>$add</tr>";
setlocale(LC_ALL, 'fr_CA.utf8');
$date = "<tr><td class='eventlist_header'>". strftime( '%A %d %B',
mktime(0,0,0,$month, $day, $year)) . "</td>$add</tr>";
Original issue reported on code.google.com by [email protected]
on 8 Feb 2011 at 8:59
What steps will reproduce the problem?
1. Set end date to some date.
2. Set start date with the dropbox.
Result:
--> End date is been resetted
Expected result:
-->Should stay as selected, as long as it is a valid day after start date)
Original issue reported on code.google.com by [email protected]
on 17 Mar 2010 at 8:16
Should have a standard method to close it
(e.g clicking the title bar of the dropbox)
MW 1.15
Original issue reported on code.google.com by [email protected]
on 17 Mar 2010 at 8:21
What steps will reproduce the problem?
1. Install extension mwCalendar
2. Install extension headertabs
3. Create a page with the calendar in the second tab
4. Add an event
What is the expected output? What do you see instead?
I'd expect the event form to open in place. Instead, the page refreshes and
goes back to the first tab. Clicking the second tab shows the event form.
What version of the product are you using? On what operating system?
v.0.3.3 (beta), Windows 7, Chrome / IE.
Please provide any additional information below.
I'm not sure this can be fixed, but wanted to make you aware of it anyway.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2011 at 1:40
What steps will reproduce the problem?
1.Create a meeting in mwcalendar and invite a few people
2.Accept save the ics file attached to the meeting notification
3.Delete the meeting in mwcalendar
What is the expected output? What do you see instead?
Would expect a meeting cancellation be sent with the updated notification, but
it is another meeting notice. If the meeting notice is saved, this means
rather than no meeting scheduled in my Outlook there are two.
What version of the product are you using? On what operating system?
MediaWiki 1.15.3
mwCalendar (Version 0.3.3 (beta))
Thank you.
Rick
Original issue reported on code.google.com by [email protected]
on 29 Jun 2010 at 5:57
What steps will reproduce the problem?
1.Add a new event
2.Add a notification
3.
What is the expected output? What do you see instead?
The expected output is an email notification sent to the person defined.
Instead no notification is received.
What version of the product are you using? On what operating system?
v.0.3.3 (beta) on Ubuntu kernel version 2.6.24-28-server
Please provide any additional information below.
Special:EmailUser works correctly
Original issue reported on code.google.com by [email protected]
on 4 Nov 2010 at 3:02
What steps will reproduce the problem?
1.going to wiki page with calendar and adding event
What is the expected output? What do you see instead?
I suppose I expected the '+' sign to be missing when accessing the page
without loggin in to the wiki
What version of the product are you using? On what operating system?
mwcalendar 0.3.3, mediawiki 1.15.3,PHP 5.1.6, MySQL 5.0.82
Please provide any additional information below.
I have the wiki set up with :
$wgGroupPermissions['*']['edit'] = false;
And are unable to edit anything else.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 10:45
Anything special to do to have the calendar cells to be displayed like on your
sample calendar? CSS to move in another folder? Or all needs to be configured
manually? If manual, which file(s) to modify?
Also, if possible, how to translate the different labels, buttons and
months+days names? Which file(s) to modify?
I'd like to have a wiki used in our IT department, and this calendar would be a
good incentive, because we currently can't use a shared calendar via Outlook...
Original issue reported on code.google.com by [email protected]
on 13 Oct 2010 at 11:37
Attachments:
Hi,
this is really a great extension.
I got a little problem. It seems I cant link to an article in my wiki.
How to reproduce:
1. Create an event
2. Adding a MediaWiki link to details (e.g. [[SomeArticle]])
Result:
It will remove this link from event detail
Is there a way to get this work?
BTW. Heres is an optimized german translation:
//german
$messages["de"] = array(
"mwc_default_name" => "Eintrag",
"mwc_today" => "Heute",
"mwc_delete_title" => "Nur der Ersteller oder ein Admin kann diesen Eintrag
löschen",
"mwc_event" => "Ereignis",
"mwc_batch" => "Batch",
"mwc_created_by" => "Erstellt von",
"mwc_last_edited_by" => "Bearbeitet von",
"mwc_new" => "(+)",
"mwc_event_subject" => "Betreff",
"mwc_event_location" => "Standort",
"mwc_event_notify" => "Benachrichtigen",
"mwc_event_start" => "Start",
"mwc_event_end" => "Ende",
"mwc_event_delete" => "Löschen",
"mwc_event_save" => "Speichern",
"mwc_event_close" => "Schließen",
"mwc_event_allday" => "Ganztägig",
"mwc_event_add" => "Hinzufügen",
"" => ""
);
I'm not really sure when "mwc_default_name" is used in your extension. So I
used "Eintrag" which means something like entry.
Hope this helps
Osik
Original issue reported on code.google.com by [email protected]
on 10 May 2010 at 7:58
What steps will reproduce the problem?
- Try to add any event in cyrillic (I tried russian/ukrainian) and, after, view
it by mouse clicking.
What is the expected output? What do you see instead?
- It seems like the output of two these fields is recoded twice: UTF8 and KOI8.
But the text is showed by Ajax procedure correctly - as it is saved in MySQL
database.
What version of the product are you using? On what operating system?
MediaWiki 1.18, Ubuntu Linux v. 12.04.1 LTS, 3.2.0-26 kernel
Please provide any additional information below.
- The "text" field is OK.
- Seems like wrong font encode/decode procedure in java scripts.
Original issue reported on code.google.com by [email protected]
on 8 Oct 2012 at 9:47
I'Ve had this 2-3 times already and other users report the same weird behavior,
but not always only sometimes.
What steps will reproduce the problem?
1. Open calendar
2. See current month
3. Click button for next month
4. Wait for page to load
5. Still see current month
6. Click button again
7. Sometimes it works, sometimes still the current month is shown.
I expect to see the next month after I click the button for it. Unfortunately,
sometimes (and only very seldom) the current (as in: before-selected) month
stays visible, not the newly selected one. This is also true if I select a new
month from the drop-down-box, or try to change the year, or use any of those
control buttons above the calendar.
I use Calendar v.0.3.3 (beta) on Mediawiki 1.15.3, PHP 5.2.12. Browser is (at
least) Firefox 3.6.12
Any idea on how to report a more detailed bug, any logs or sth like that, would
be very helpful here.
Original issue reported on code.google.com by [email protected]
on 6 Dec 2010 at 12:58
What steps will reproduce the problem?
1. Add a new event
2. Set end date one day after start date.
3. Deactivate "whole day"-checkbox
4. Save date
--> Date is not displayed
MW 1.15
Original issue reported on code.google.com by [email protected]
on 17 Mar 2010 at 8:11
Why not using a function to change all dangerous html tag?
replace iframe by "iframe"
script by "script"
would it be enough?
Original issue reported on code.google.com by [email protected]
on 6 Jan 2012 at 5:00
Hi! After editing "i18n.php": adding [ru] section for Russian language in
UTF-8, but on page i see bad codepage. In other extensions all good. Thanks.
Original issue reported on code.google.com by [email protected]
on 9 Sep 2011 at 11:21
What steps will reproduce the problem?
1. Open day selection dropdown to select a day.
2. Click "today" button.
3. Click "close" button.
Result:
--> Date remains at the previous value.
Expected result:
--> Date changes to today.
MW 1.15
Original issue reported on code.google.com by [email protected]
on 17 Mar 2010 at 8:18
Hi Eric,
first of all I'd like to say that I love your calender extension. It was
my choice when I decided to setup a calendar for one of my mediawikis, and
I never regretted this choice.
I now see that you will change to direct database access, about which I'm
enthusiastic. I think that's a very good decision, and I say thank you for
your efforts and your contribution in advance.
I'd really like to try out the beta on one of my wikis. Is that possible
already? When I install the extension, the calender looks great, but when
I try to add an event or even try to change the month, the page just
reloads with no changes and teh current month displayed.
Could you please tell my if that must be a problem with my configuration
or it the calender is not functional at all at the moment. If it's a local
problem with me, would you be so kind and give me a hint where to look for
the error? Could it be that is doesn't work with the 1.15 mediawiki
release that I'm using?
Thanks a lot,
--JohannesPonader 17:35, 15 March 2010 (UTC)
Original issue reported on code.google.com by kenyu73
on 16 Mar 2010 at 1:34
What steps will reproduce the problem?
1. Create a page with two calendars:
<mwcalendar name="Quelle" /> <mwcalendar name="Quelle" eventlist="30" />
2. Create new event in upper calendar (+)
--> Two add event forms appear
3. Create an event in the upper box
--> Event displays twice
MW 1.15
Original issue reported on code.google.com by [email protected]
on 18 Mar 2010 at 7:30
What steps will reproduce the problem?
1.When I try to add an event or look at an existing event I cannot see anything
but a blank page
2.
3.
What is the expected output? What do you see instead?
I should see the details of the event or the edit screen for a new event,
instead I see a blank page.
What version of the product are you using? On what operating system?
I have recently upgraded to mediawiki 1.17.2 on an Ubuntu 10.04 operating system
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 10 Apr 2012 at 2:37
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.