Extension talk:StructuredInput

This extension seems to be broken on MW 1.10. Any work being done on it?--198.70.22.217 20:17, 29 May 2007 (UTC)

I also have problems with MW: 1.7.1. The displaying of the example page fails. --Zeno Gantner 14:24, 31 July 2007 (UTC)

PHP Notice: Undefined index:
I keep getting PHP Notices about undefined indexes in my transformations/foo.php file. and my structuredInput/special/SpecialFoo.php file.

Also I see this error:

[Wed Oct 03 17:15:31 2007] [error] [client xxx.xxx.xxx.xxx] PHP Warning: array_key_exists [function.array-key-exists]: The second argument should be either an array or an object in /path/extensions/structuredInput/structuredInput.php on line 24, referer: http://domain/path/index.php/Special:Foo

How can I fix this?

THanks, Pete.

Add to file structuredInput in extensions after line 24: global $wgAllMessagesEn; the line: $wgAllMessagesEn=array;

But upon "save" on the page "Addactivity" it breaks again.

function editForm return value
my installation is complaining about the function "editForm" not returning a value. it breaks every time i try to edit a page. i added a "return true;" and it seems to stop the error.

anyone else see this problem?

Edit without the form?
Is there a way to set up Structured Input so that it does not override the default edit form once the page has been created? I tried removing the  code from an individual article, but that didn't work.

Edit-link breaks in 1.17
$wgServerName is depreciated, so the link to edit leaves out the domain name.

To fix:

Edit extensions/stucturedInput.php

Change: header('Location: http://'.$wgServerName.$wgScriptPath.'/index.php?title=Special:'.$inputType.'&id='.$_GET['title']); die; to header('Location: '.$wgServer.$wgScriptPath.'/index.php?title=Special:'.$inputType.'&id='.$_GET['title']); die; This works by using the $wgServer instead of the string literal 'http://' and $wgServerName (which doesn't exist anymore).