Jump to content

Topic on Extension talk:JobSchEd

95.131.110.109 (talkcontribs)

Forgive My ignorance but what am I meant to do with "sftJSmsg"? How does it get installed?

Thanks

JO

95.131.110.106 (talkcontribs)

Hi, Any news on this?

95.97.39.29 (talkcontribs)
95.97.39.29 (talkcontribs)

From tha doc: Note that if you don't have sftJSmsg, you can find it in the lib folder.

95.131.110.109 (talkcontribs)

If you create Mediawiki:strJSmsg.js and copy the code into that then add an import statement to Common.js it seems to do something but now I get:

"Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Timestamp: Mon, 12 Sep 2011 10:24:21 UTC

Message: Object expected
Line: 1180
Char: 1
Code: 0
URI: http://<servername>/ict-test-wiki/skins/common/wikibits.js?270

Message: 'this.lang.button label' is null or not an object Line: 182
Char: 2
Code: 0
URI: http://<servername>/ict-test-wiki/extensions/JobSchEd/edit_calend.modules.mini.js?1

Message: 'this.lang.gantt not found' is null or not an object Line: 192
Char: 3
Code: 0
URI: http://<servername>/ict-test-wiki/extensions/JobSchEd/edit_calend.modules.mini.js?1

95.97.39.29 (talkcontribs)

This is my conclusion about sftJSmsg: 1) sftJSmsg is a gadget, see for info: http://www.mediawiki.org/wiki/Extension:Gadgets So Install Extension:Gadgets

2) Create a new wiki page with name: MediaWiki:sftJSmsg Add the text from the file .../mediawiki/extensions/JobSchEd/lib/sftJSmsg.js

3) Add the following text to the page: MediaWiki:Gadgets-definition

  • sftJSmsg|sftJSmsg.js

I did add to a page: <jsgantt autolink='0'></jsgantt> and the edit link like in the JobSchEd manual. Result: I do not see errors, but like the 'Uh' thread, nothing happens. Both jsWikiGantt and Semantic Project Management work ok, I'm running MediaWiki 1.17 with SMW 1.6.1. I'm wondering whether the extension has been tested with mediawiki 1.17 and the new resource loader.

82.2.64.128 (talkcontribs)

Yes step 1 is okay. If you have not loaded the Gadget extension then create or add a line to common.js to import this strJSmsg.js like described on this extension to import the edit_calendar js file.

I then started with the example chart and changed and added tasks manually. The pGroup element seems to screw things up if values other than 1 or 0 is used, (I missunderstood the instructions).

However, I now get "Error parsing code with id NaN (name: undefined). The diagram is is probably not a calendar or is broken.". I don't know where the "Not a Number" applies because all elements have ids and names!!

Reply to "sftJSmsg"