Hi, I have seen that the SRF\EventCalendar format ( |format=eventcalendar ) has been used on some public wiki's therefore I'd like to take a chance to give a brief summary about some changes that are planned to be deployed with SMW/SRF 1.9.
The most important enhancement is coming from the ability to reuse data dynamically from and to the SMW back-end without the need the change the wikipage. The SRF\EventCalendar is now able to alter query conditions (e.g. add date selection, increase/decrease the limit on a query, and filter typological content) while the wikipage remains unchanged. ## Internal changes + The SMW/SRF related php, js sources were completely refactored in order to make use of the SMWAPI + Make use of the newly created ext.srf.api modules + Using $widget factory for ui related enhancements ## Visual enhancements + A paneView section which allows to add individual portlets ++ Mini calendar portlet for "quick" calendar navigation which also is used as date range selector ++ Slider portlet to alter the query limit ++ Filter property portlet allowing to filter typological content by its assigned color (e.g. an event inherents a color and a typological entity (such as has type, has location etc.), the portlet will make the connection between the type entity (filter property) and the color assigned to each event as basis for the filtering matrix ) + Growl like notification messages about the update/filter setting status Furthermore, the format introduces two new user preferences, the first one is to enable the SRF\EventCalendar to initiate an auto-update during a browser refresh (using a “normal” F5 browser refresh which is different from a purge refresh that invalidates the parser cache and rebuilds the entire wikipage) and an option to enable the paneView by default. For people already tired of long explanations and emails, here is a preview [1] about the upcoming changes. [1] https://vimeo.com/57123588 The refactored SRF\EventCalendar requires SMW 1.9+ but the changes should not have an impact on existing queries and it is expected that the display act as before but since the devil lies in the detail, deviations are possible and you are encouraged to check carefully. SRF\EventCalendar was tested in a MW 1.21+ environment using C11, FF10+, and IE 9+ (IE 9 is supported after [2] is deployed). The remaining part is for whom it may concern ## General On several occasions it was discussed to have results formats to be more dynamic and responsive for an user input, allowing data to be more interactive and independent from the stored wikipage. The SRF\EventCalendar now makes the first attempt to facilitate the SMWAPI as basis for such interaction from and to the SMW back-end and implements reusable JavaScript components to ensure future extensibility and maintainability. While the implementation is far from optimal it can be useful in assessing how to make other results formats act more independent from the SMWResultPrinter class. Tasks that need attention and related to the SRF\EventCalendar + some text objects have not been translated since that wasn’t a first order priority (marked with // mw.msg) (see [2]) Tasks that need attention and are independent from the SRF\EventCalendar + JS implemented condition string (query string) parser so that <q><q/> constellations etc. can be properly instantiate and accurately changed during an user session (e.g. the current SRF\EventCalendar date selection is aware of its own alteration during a query session but <q><q/> is not supported nor is a primary date selection. Because this would require to parse the condition string in a manner to detect which part of the string resembles the chosen date property and update the string in order to form a proper ajax query request) + dataValue parsing (right now srf.api.results only implements parseDate, getISO8601Date as this was needed for the SRF\EventCalendar event parsing) Please remember SMW/SRF is a free project, anyone can improve printer formats and if you need a specific feature why not give it a try and apply a patch set via gerrit. [2] https://gerrit.wikimedia.org/r/#/c/43774/ Cheers, mwjames ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel