John Erling Blad has submitted this change and it was merged.

Change subject: (bug 44108) Honor $wgSend404Code for missing entities.
......................................................................


(bug 44108) Honor $wgSend404Code for missing entities.

A request for an entity page that does not exist will now return a 404
if $wgSend404Code is true.

This change also adds the deletion log excerpt that is shown when visiting
a deleted wiki page.

Change-Id: I14be91ead06e746da7ef7ac2d99df21252f26469
---
M repo/Wikibase.hooks.php
M repo/includes/actions/ViewEntityAction.php
A repo/tests/phpunit/includes/actions/ViewEntityActionTest.php
3 files changed, 131 insertions(+), 1 deletion(-)

Approvals:
  John Erling Blad: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/44640
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I14be91ead06e746da7ef7ac2d99df21252f26469
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Werner <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Denny Vrandecic <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: John Erling Blad <[email protected]>
Gerrit-Reviewer: MZMcBride <[email protected]>

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

Reply via email to