Example #1
0
 protected function addAttributes(ChangeText $txt, array $attributes)
 {
     if (array_key_exists('href', $attributes)) {
         $txt->addHtml(' with destination ' . htmlspecialchars($attributes['href']));
         unset($attributes['href']);
     }
     parent::addAttributes($txt, $attributes);
 }
Example #2
0
 protected function addAttributes(ChangeText $txt, array $attributes)
 {
     if (array_key_exists('href', $attributes)) {
         $txt->addHtml(' ' . wfMsgExt('diff-withdestination', 'parseinline', htmlspecialchars($attributes['href'])));
         unset($attributes['href']);
     }
     parent::addAttributes($txt, $attributes);
 }