Jump to content

Topic on Extension talk:JSWikiGantt

Problems with Mediawiki 1.18.3 and Milestones

5
195.124.137.166 (talkcontribs)

Hi. I have problems with Mediawiki 1.18.3 and JSWikiGannt. Using Milestones is messing up the layout. Or am i using them wrongly ? Example:

 <jsgantt>
   <task><pID>010</pID><pStart>2012-03-01</pStart><pEnd>2012-04-19</pEnd><pColor>ff0000</pColor><pName>Do some stuff</pName><pDepend></pDepend></task>
   <task><pID>020</pID><pStart>2012-04-20</pStart><pEnd>2012-04-20</pEnd><pColor>00ff00</pColor><pMile>1</pMile><pName>Stuff done</pName><pDepend>10</pDepend></task>
   <task><pID>030</pID><pStart>2012-04-21</pStart><pEnd>2012-05-10</pEnd><pColor>00ffff</pColor><pName>Do more stuff</pName><pDepend></pDepend></task>
 </jsgantt>

Result is that the line with the milestone is getting something like an extra "Linefeed" after the description in the first column.

Thanks for help.

Nux (talkcontribs)

I haven't really used stones, but it should work now in 0.5.5.

I also have 0.6 which is a bit more cleaned up version, but I haven't had time to really finish it. Maybe in summer...

195.124.137.166 (talkcontribs)

Hi Nux,

thanks for the quick reply. Milestones are working much better now ... but ... ;-) Could you maybe have a look at the dependencies for milestones. This does not seem to work as expected (see example)

 <jsgantt>
   <task><pID>010</pID><pStart>2012-03-01</pStart><pEnd>2012-04-19</pEnd><pColor>ff0000</pColor><pName>Do some stuff</pName><pDepend></pDepend></task>
   <task><pID>020</pID><pStart>2012-04-20</pStart><pEnd>2012-04-20</pEnd><pColor>00ff00</pColor><pName>Stuff done</pName><pDepend>10</pDepend><pMile>1</pMile></task>
   <task><pID>030</pID><pStart>2012-04-21</pStart><pEnd>2012-05-10</pEnd><pColor>00ffff</pColor><pName>Do more stuff</pName><pDepend>20</pDepend></task>
 </jsgantt>

Regards, Michael

Nux (talkcontribs)

I've replaced 0.5.5 with another fix. It seems that the original author of jsGantt never really used milestones too ;-).

Reply to "Problems with Mediawiki 1.18.3 and Milestones"