"^demon" posted a comment on MediaWiki.r110001.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/110001#c30064

Commit summary for MediaWiki.r110001:

bug 33646 Badtitle error page now emits a 400 HTTP status.

Sending a 200 OK status on bad title, prevents mobile browsers to
actually now the page is an error page.

Tested using:
 curl -I http://localhost/wiki/\]\]
 curl -I http://localhost/wiki/Special:BadTitle

^demon's comment:

How about passing the context to BadTitleError so you don't have to use $wgOut?

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

Reply via email to