Jump to content

Topic on Extension talk:ChapTimeline

Can anyone post detailed instructions on how to install this extension?

5
Zzmonty (talkcontribs)

I am using MediaWiki 1.22. I uploaded the extension to the extension directory with the folder name ChapTimeline. I then added the require_once( "$IP/extensions/ChapTimeline/ChapTimeline.php" ); to the LocalSettings.php. But when I add the sample code as follows, it does not work:

{{#ask:Myprop::+ |?Start date |?End date |height=600px |cluster=true |format=chap-timeline |startproperty=Start date |endproperty=End date }}

What am I doing wrong? Zzmonty (talk) 14:22, 2 March 2014 (UTC)

Sabretache (talkcontribs)

Your install/setup and query look OK to me.

FI, My queries below are now void in that I have the extension working fine. I just need some enhancements to be coded by the author (or somebody) before converting fully from the Simile-based ResultFormat.

My only suggestions involve versions. You do need the latest SMW + validator (which I think is now bundled by the Composer install process) Also the latest ChapTimeline code from Git.

Zzmonty (talkcontribs)

I do not know what I am doing wrong. I have a page that has a timeline on it:

http://researchwithconfidence.com/w/index.php?title=From_Colonies_to_Independence:_the_American_Revolution

But the problem is that when an event takes place over only 1 year, you can't see the text of the box. I tried all three options of "none", "box", and "dot", and none of them seem to fix the problem. The example show a dot on the bottom with a line to the box and the whole text of the box being display. But I can't seem to get that to work. The only text that I see is when the even takes place over a number of years. Do you have any idea what I am doing wrong?

Zzmonty (talkcontribs)

This is what i have installed:

  • Semantic Bundle (Version 1.8.0.5.3)
  • Semantic MediaWiki (Version 1.8.0.5)
  • [ ChapTimeline] (Version 0.1)
  • Validator (Version 0.5.1)

The strings don't seem to be reading in correctly for the ChapTimeline.

Sabretache (talkcontribs)

The best I can offer is that I had to u/grade to SMW 1.9 and the latest zip file on the ChapTimeline repository before I got it to work - but it does work now. It is both consistent and reliable, though in need of enhancements and correction of a years/months/days anomaly on the bottom scale.

Reply to "Can anyone post detailed instructions on how to install this extension?"