I got this to work, but when I go to the image file list (?title=Special:Imagelist) The Description does not change. It lists the first description. This is also true for the image summary.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Beebe, Mary J Sent: Monday, July 14, 2008 1:32 PM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Saving text with images.
I am using the hook AlternateEdit to provide an edit screen for uploading images. I provide some drop-down lists for the user to put in a description area of the image. I am using: $docLinkArticle = Revision::newFromTitle($m_pageObj->mTitle); $docLinkText = $docLinkArticle->getText(); to get the text. This works fine.
How do I now save the text after modifying it? Because this is uploaded images, things are not saved as usual.
Thank you,
Mary Beebe _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l