User "Bawolff" posted a comment on MediaWiki.r90814.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90814#c18793
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:

I did it down there to be paranoid. In theory extensions could use the 
EditPageGetPreviewText hook to look at other request variables (like 
MetadataEdit extension). This way the function will still return before that if 
there is no edit token.

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

Reply via email to