Hello MediaWiki Team, I think I found a bug in the method userCan() of the Title object. We often use userCan( 'read' ) to ensure that the user is allowed to read the page or that some context is displayed like an extension. If $wgEmailConfirmToEdit is set to true, the behavior of userCan() isn't as expected. Every user, group doesn't matter, who doesn't have a confirmed E-Mail address fails in this check, because in the method checkUserBlock() the error 'confirmedittext' is added to the errors array. The documentation of this method says this check is done to 'Check that the user isn't blocked from editting', but this error is set on every action.
Should I add this bug to the bugtracker? Best regards, Stephan Muggli Social Web Technologien, Softwareentwicklung, Support Hallo Welt! - Medienwerkstatt GmbH ______________________________ Untere Bachgasse 15 93047 Regensburg Tel. +49 (0) 941 - 66 0 80-181 Fax +49 (0) 941 - 66 0 80-189 www.hallowelt.biz [email protected]<mailto:[email protected]> Sitz: Regensburg Amtsgericht: Regensburg Handelsregister: HRB 10467 E.USt.Nr.: DE 253050833 Geschäftsführer: Anja Ebersbach, Markus Glaser, Dr. Richard Heigl, Radovan Kubani, Dr. Michael Scherm _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
