Jump to content

Manual:RedirectStore.php

From mediawiki.org

Template:MW file/noslash

The RedirectStore class provides a service for storing and retrieving page redirect information.

Available since 1.38 and expanded in later versions, it is still considered unstable.

Implements

[edit]

Instantiation

[edit]
$redirectStore = MediaWikiServices::getService()->getRedirectStore();

Public methods

[edit]
  • getRedirectTarget( PageIdentity $page )