https://bugzilla.wikimedia.org/show_bug.cgi?id=25294

--- Comment #9 from Aaron Schulz <jschulz_4...@msn.com> 2010-10-21 18:41:52 UTC 
---
A few things I noticed:
i) Code is missing "$form .= Html::closeElement( 'form' );"
ii) Also missing "$form .= Html::hidden( 'target',
$oldRev->getTitle()->getPrefixedDBKey() );"
iii) Also missing "$form .= Html::hidden( 'wpEditToken', $wgUser->editToken()
);"
iv) I assume that $wgUser is just there for the quick version (the class field
"user" might be better, or a User argument)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to