You can easily do this using templates (e.g. [2]) and icon extension [3], for example [1]
[1] http://tw.rpi.edu/wiki/People [2] http://tw.rpi.edu/wiki.tw/index.php?title=Template:ResearcherBox2&action=edit [3] http://www.mediawiki.org/wiki/Extension:Icon Jie ----- Jie Bao Tetherless World Constellation Rensselaer Polytechnic Institute bao...@cs.rpi.edu http://www.cs.rpi.edu/~baojie On Fri, Dec 10, 2010 at 11:06, Ian Stokes-Rees <ijsto...@alumni.uwaterloo.ca> wrote: > Hello, > > I am using SMW to manage a museum collection that is being put online > (about 100k objects, each with its own page). > > http://www.spmetric.com/projects/haffenwiki/61-342 > uname/passwd = guest/wiki > > I would like to augment all search results to automatically include an > associated image, if one exists. > > The results currently list the WikiText equivalent of (in php-wikitext > pseudocode): > > [[`$page->getTitle()`]] > > Instead, I'd like them to list: > > [[File:`$page->getTitle()`.jpg|thumb|link=$page->getTitle()]][[`$page->getTitle()`]] > > To do this, it looks like I need to modify some combination of: > > SMW_PropertyPage.php:subjectOjectList() > SMW_DV_WikiPage.php:getLongHTMLText() > > but I am at a loss of how to achieve this. Advice would be kindly welcomed. > > Ian > > PS - More generally, I'd love to find a nice way to extend SMW to have a > built-in concept of all pages having an associated image, date, and > location so that *all* SMW searches/lists can return timelines, maps, > and gallery views of result pages. Suggestions on this front would be > very welcome. > > ------------------------------------------------------------------------------ > Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, > new data types, scalar functions, improved concurrency, built-in packages, > OCI, SQL*Plus, data movement tools, best practices and more. > http://p.sf.net/sfu/oracle-sfdev2dev > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel