Jump to content

Extension talk:AddPageService

Add topic
From mediawiki.org
Latest comment: 16 years ago by Danaris in topic Questions

Feedback about version 1.0

[edit]

Questions

[edit]

TestAddPage results in a empty page. What can be happening?

[edit]

Maybe you forgot to install PEAR SOAP. --Fernando Correia 19:39, 31 January 2007 (UTC)Reply

Can the service be used to post a page with history?

[edit]

Example: I write a script which grabs pages complete with edit history from a Wikipedia dump or live from the server (responsibly, of course). Script needs to get all revisions into the database. Can your service do this or would be I better off investigating other options such as writing direct to the database? If so, do you know of any script which already does this or give me some pointers on which tables would need to be updated? --Kingboyk 14:14, 4 February 2007 (UTC)Reply

No. This extension uses the normal edit page web form, so it has the same features and behaviors as the page edit form. One alternative would be to look at the export/import feature of MediaWiki. --Fernando Correia 11:21, 5 February 2007 (UTC)Reply

Can the Service be used for user's that are not registered to fill out forms, and then add the form data to a page already existing?

[edit]

Example I write a php page that has a form requesting Name-- Age-- College--

Could i have that form information added to a Wiki page that is already writen.. and that other non registered users have added their information to?


Unable to log in: Error submiting login form. Any recommendations?

[edit]

My configuration is using ssl with self-generated certificate. Figured out dependency for cURL library and requirement to add to server cert to certificate bundle. This eliminated SOAP faults. However, cannot authenticate -- just receive "Error submiting login form". Thought I would look for guidance/suggestions.

Errors from TestAddPage

[edit]

I've been attempting to get this to work for a few days, and I've been getting the same error consistently...I hope it's not too big to post here...

SOAP_Fault Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => HTTP 
[message] => [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => 
/Applications/MAMP/bin/php5/lib/php/SOAP/Fault.php [line] => 63 [function] => PEAR_Error 
[class] => PEAR_Error [type] => -> [args] => Array ( [0] => [1] => HTTP [2] => [3] => [4] => ) 
) [1] => Array ( [file] => /Applications/MAMP/bin/php5/lib/php/SOAP/Base.php [line] => 206 
[function] => SOAP_Fault [class] => SOAP_Fault [type] => -> [args] => Array ( [0] => [1] => 
HTTP [2] => [3] => [4] => [5] => ) ) [2] => Array ( [file] => 
/Applications/MAMP/bin/php5/lib/php/SOAP/Transport/HTTP.php [line] => 396 [function] => 
_raiseSoapFault [class] => SOAP_Base_Object [type] => -> [args] => Array ( [0] => ) ) [3] => 
Array ( [file] => /Applications/MAMP/bin/php5/lib/php/SOAP/Transport/HTTP.php [line] => 519 
[function] => _parseResponse [class] => SOAP_Transport_HTTP [type] => -> [args] => Array ( ) ) 
[4] => Array ( [file] => /Applications/MAMP/bin/php5/lib/php/SOAP/Transport/HTTP.php [line] => 
114 [function] => _sendHTTP [class] => SOAP_Transport_HTTP [type] => -> [args] => Array ( [0] 
=> This is a test page. Testing [http://www.mediawiki.org/wiki/Extension:AddPageService 
AddPageService]. WikiSysop ********* [1] => Array ( [trace] => [input] => parse [result] 
=> parse [parameters] => [timeout] => 300 [style] => rpc ) ) ) [5] => Array ( [file] => 
/Applications/MAMP/bin/php5/lib/php/SOAP/Client.php [line] => 348 [function] => send [class] => 
SOAP_Transport_HTTP [type] => -> [args] => Array ( [0] => This is a test page. Testing 
AddPageService. WikiSysop Eien ni 2 
Mus! [1] => Array ( [trace] => [input] => parse [result] => parse [parameters] => [timeout] => 
300 [style] => rpc ) ) ) [6] => Array ( [file] => 
/Applications/MAMP/htdocs/poppwiki/extensions/TestAddPage.php [line] => 32 [function] => call 
[class] => SOAP_Client [type] => -> [args] => Array ( [0] => addPage [1] => Array ( [title] => 
AddPageService Test Page [text] => This is a test page. Testing 
AddPageService. [user] => WikiSysop 
[password] => ********* ) [2] => Array ( [timeout] => 300 ) ) ) ) [callback] => )


Again, apologies if this is unduly long, but I really don't have any experience reading PHP SOAP errors so as to tell which part or parts are relevant... --Danaris 00:18, 29 November 2007 (UTC)Reply

Feature requests

[edit]

Bugs

[edit]

Contributors

[edit]

Source code contributors:

Version history

[edit]

1.0.1

[edit]

Release date: 2007-01-31

  • Removes restricted characters from page titles.
  • Outputs debug file.

1.0.0

[edit]

Release date: 2007-01-31

  • Initial release.

working example and which external programs?

[edit]

Hi I was wondering if a working example of this extension exists? Also which external programs can be used to create articles more easily? Thanks!