Talk:Call extension
When installing the extension the special page comes up with a new template.
What do I have to write into that template?
- I don´t understand. Which special page? And please sign messages you leave here . Gero 00:00, 10 September 2007 (CEST)
What I mean is the following:
I copied the extension into the extension directory and added the include statement into the LocalSettings.php.
When done there is a new special page with the name Call. Below that page a (to me) cryptic link to a template page appears. When following that link it brings me to the dedicated template page and that is where I am lost.
Albert Cremer 10 September 2007
- Oh, I see. The Call Special Page does not do anything but call another page which is given to it as an argument. So if you call it directly without an argument you will see nothing but a link to itself (which is not a real hyperlink because mediawiki suppresses self references of pages). I will add a text explaining this to the next release. It is not a defect and should not bother you. The value of the Call extension comes when you use it to invoke an arbitrary page of your wiki. You put the page name (plus its namespace) behind "Call/". And then you can add parameters (as a comma separated list).
The trick is that thus you can create wiki links to a page and pass parameters at the same time.
A link to the current page would normally look like this
This is a link to Talk:Call extension
You could make the same link with
This is a link to Special:Call/Talk:Call extension using the Call mechanism.
The only difference you will notice is that you get a special page instead of a normal page when clicking on the link. But the contents is the same.
Now we assume that our page has some code which acts upon a parameter called What. Let us assume it outputs a text line if "What" is not empty.
If we use a link to this page where we call it with a value for 'What' the page will behave differently. Try and press the following link:
This is a link to Special:Call/Talk:Call extension,What=Something Wonderful using the Call mechanism.
The whole thing is really useful to build pages which have a state concept and implement different views. See the DPL GUI for a useful application of 'Call'. 'Call' supports a design pattern which is as old as typical MainFrame Transaction Monitoring Systems like CICS are.
Thank you very much. This really helps! Albert Cremer 10 September 2007
I have installed your calendar extension. It apparently requires Call, DPL extension. These I have installed.
- It doesn't seem ro work for me.
- There is a blank screen but I can browse other pages on my Wiki.
- I clicked on Call in SpecialPages and got:
"{{%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20|wikEdAutoUpdate=Fri, 28 Sep 2007 06:22:08 GMT|wikidbUserID=1}}" on a special page.
- I read in your Wiki that if I used something like url/wiki/index.php/Special:Call/:Sandbox Hello_world, I should get the same page but it would be in a 'special' page ..
- No matter what I do I still get the "{{%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20|wikEdAutoUpdate=Fri, 28 Sep 2007 06:22:08 GMT|wikidbUserID=1}}" line. (The "WikiEd" is a WYSWYG-text editor and the line suggest that it checked for updates - apparently does this every approximately 20 hours).
- I disabled the WikiEd extension (removed the relevant code but i still get the same results!! (I did refresh)
- I'm using "MediaWiki: 1.11.0"; "PHP: 5.1.2"; "MySQL: 5.0.18-Max"; "Linux SuSe 10.1" ...
Any help would be appreciated ... --Zs6ro 10:41, 28 September 2007 (CEST)
- If you type an URL like
http://server/wiki/Special:Call/Hello,abc
what do you get? And do you get the same with
http://server/wiki/index.php?title=Special:Call/Hello,abc
As you see above there seems to be a problem with MW 1.11 and the Call extension ...
- Gero 11:07, 28 September 2007 (CEST)
OK, thanks for the replies ..
I found that when I started up my PC today (not the server), Call actually worked !!! .. That made me very happy ...
I know I had done a refresh in half a dozen ways on the browser (Firefox) before, but had no luck ...
Tonight I was doing some editing on my Wiki and tried Call - it didn't work - acted up like before ... Earlier it had worked! ...
I killed the browser and brought it up again and Call worked !! ..
I haven't been able to pinpoint the actual problem but its possible that something goes weird when i'm editing a WikiPage ??
My 'other' real problem is the Calendar - I can't get to work ...
-- Zs6ro 23:36, 29 September 2007 (CEST)
I did an upgrade test with a local copy of this dpldemo website to MW 1.11 and there were no problems at all, neither with DPL nor with 'Call'. Maybe you check server caches? I think you should try to restart Apache and MySQL (although the latter will probably not be the cause ..). Gero 23:54, 29 September 2007 (CEST)
As far as I know 'calendar' does not need 'Call'. What´s your problem with 'calendar'?
Gero 23:54, 29 September 2007 (CEST)