mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +00:00
Fix typo in word compatibility
Change-Id: I499ebc795837a59f4c3f77dfc7e2e7ab60ae4fd6
This commit is contained in:
parent
34e15a1002
commit
748d9888d5
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue