Fix typo in word compatibility

Change-Id: I499ebc795837a59f4c3f77dfc7e2e7ab60ae4fd6
This commit is contained in:
Umherirrender 2018-03-09 22:22:43 +01:00
parent 34e15a1002
commit 748d9888d5

View file

@ -91,7 +91,7 @@ class EchoPageLinkedPresentationModel extends EchoEventPresentationModel {
if ( isset( $extra['link-from-page-id'] ) ) { if ( isset( $extra['link-from-page-id'] ) ) {
return $extra['link-from-page-id']; return $extra['link-from-page-id'];
} }
// Backwards compatiblity for events from before https://gerrit.wikimedia.org/r/#/c/63076 // Backwards compatibility for events from before https://gerrit.wikimedia.org/r/#/c/63076
if ( isset( $extra['link-from-namespace'] ) && isset( $extra['link-from-title'] ) ) { if ( isset( $extra['link-from-namespace'] ) && isset( $extra['link-from-title'] ) ) {
$title = Title::makeTitleSafe( $extra['link-from-namespace'], $extra['link-from-title'] ); $title = Title::makeTitleSafe( $extra['link-from-namespace'], $extra['link-from-title'] );
if ( $title ) { if ( $title ) {