User "Aaron Schulz" posted a comment on MediaWiki.r90814.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90814#c18778
Commit summary:

(bug 8556) When using $wgRawHtml, don't show scary session_failure/possible 
attack
warning when you try to edit categories.

Categories automatically go to preview on open, but there's no edit token
on the initial open of the edit window, which causes big warning over nothing.

Comment:

Should the <code>$this->textbox1 !== ''</code> check be up there with <code>if 
( $wgRawHtml && !$this->mTokenOk )</code>? What about the code after that check?

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to