Displaying 1 result from an estimated 1 matches for "wpsummary".
Did you mean:
psummary
2007 May 12
3
Setting form-values
...'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)''
page = agent.get(''http://en.wikipedia.org/w/index.php?title='' + pagename
+ ''&action=edit'')
form = page.forms.with.name("editform").first
form.wpTextbox1 = content
form.wpSummary = editsummary
page = agent.submit form
end
save(''User:Tim.bounceback/testing'', ''bleh'')
Yields the following error message:
bleh.rb:8:in `save'': undefined method `wpTextbox1='' for nil:NilClass
(NoMethodError)
from bleh.rb:12
Any help...