Changed linking of articles to Linker::link in ChangeList
authorWMDE-Fisch <christoph.fischer@wikimedia.de>
Wed, 17 Feb 2016 17:11:26 +0000 (18:11 +0100)
committerAddshore <addshorewiki@gmail.com>
Wed, 17 Feb 2016 23:54:27 +0000 (23:54 +0000)
When non-existent categories appear in the changelist
they wont get marked reddue to the use of
Linker::linkKnown.

Bug: T126854
Change-Id: I3dc9746c0fe55e81ffd2df1c04ade6950efcc020

includes/changes/ChangesList.php

index 2599cf2..485d523 100644 (file)
@@ -387,7 +387,7 @@ class ChangesList extends ContextSource {
                        $params = [ 'redirect' => 'no' ];
                }
 
-               $articlelink = Linker::linkKnown(
+               $articlelink = Linker::link(
                        $rc->getTitle(),
                        null,
                        [ 'class' => 'mw-changeslist-title' ],