Update
[lhc/web/wiklou.git] / includes / FileRevertForm.php
index 1adde88..55f21ff 100644 (file)
@@ -109,9 +109,10 @@ class FileRevertForm {
         * Set headers, titles and other bits
         */
        private function setHeaders() {
-               global $wgOut;
+               global $wgOut, $wgUser;
                $wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) );
                $wgOut->setRobotPolicy( 'noindex,nofollow' );
+               $wgOut->setSubtitle( wfMsg( 'filerevert-backlink', $wgUser->getSkin()->makeKnownLinkObj( $this->title ) ) );
        }
        
        /**