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

--- Comment #3 from Christian Boltz <mediawiki-b...@cboltz.de> 2010-11-08 
01:10:56 UTC ---
This is indeed caused by a change in MediaWiki. You'll need to edit a MediaWiki
core file if you need CategorySelect on upload - see bug 25833 for details.

When done, you have to do a small additional change in
SelectCategoryFunctions.php that is not covered by the patch from comment #2:

--- SelectCategoryFunctions.php (Revision 71464)
+++ SelectCategoryFunctions.php (Arbeitskopie)
@@ -125,6 +125,7 @@
     # If it is an upload we have to call a different method:
     if ( $m_isUpload ) {
       $m_pageObj->mUploadDescription .= $m_text;
+      $m_pageObj->mComment .= $m_text;
       $m_pageObj->textbox1 .= $m_text;
     }

Maybe you can remove the line with mUploadDescription. However I didn't test
that and want to be on the save side (and backward compatible) for now.
Additionally, I requested to revert the name change back to mUploadComment in
bug 25833 ;-)

-- 
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