Extension talk:Calendar (Kenyu73)/help
Add topicBug/request[edit]
Sorry, but I'm not prepared to register with google in order to submit bug reports.
- Version: v3.7.7.1 5/6/2009
- Error: undefined object in common.php line 172
- Occurs: When link in page does not point to a valid icon/image.
- Patch: Insert after line 171
if ( !is_object($img))
return null;
Request[edit]
Replace checking the first line in a page with a search for an event tag. This will improve parsing and allow editors to format the page as they please.
Suggest something like:
<event title="Event title as it appears in Calendar" img="link/to/possible/immage" alt="Possible text displayed in event page"/>
where
- title
- Mandatory event caption displayed in the calendar. It is not shown in the event page.
- img
- URL to an image or icon to dispaly in the calendar. It is not shown in the event page.
- alt
- Displayed in the event page, if it exists, otherwise ignored.
Several events may be included on one page, although positioning the event page (URL#id) is problematic. There is also the issue that other extensions may use <event> tag, so there is trade-off between a fail-safe tag entry for editors and uniquely identifying the tag as calendar's. It does, imho, solve the page parsing issue and mandating the first line as calendar's.
Pages without a valid event tag are flagged in calendar as invalid events (with a valid link), so editors can move or repair the page.PeterMG 09:50, 23 June 2009 (UTC)