$freelinking['wikinews'] = array(
  'indicator' => '/w(ikinews|\n)/',
  'translate' => array(' ' => '_'),
  'replacement' => 'http://' . variable_get('freelinking_wikipedia_languagecode', language_default('language')) . '.wikinews.org/wiki/%1',
  'tip' => t('Link to a wikinews page.'),
);

look at indicator: \n is break (new line).
maybe this? =>

$freelinking['wikinews'] = array(
  'indicator' => '/w(ikinews|n)/',
  'translate' => array(' ' => '_'),
  'replacement' => 'http://' . variable_get('freelinking_wikipedia_languagecode', language_default('language')) . '.wikinews.org/wiki/%1',
  'tip' => t('Link to a wikinews page.'),
);

Comments

  • gisle committed e22fd4b on 7.x-3.x authored by ijortengab
    #2245197 by m_roji28: Fixed bug of indicator from wikinews plugin.
    
gisle’s picture

Version: 7.x-3.2 » 7.x-3.x-dev
Status: Active » Reviewed & tested by the community

Fixed in the last dev snapshot of the 7.x-3.x branch.

gisle’s picture

Status: Reviewed & tested by the community » Fixed

This should be fixed in version 7.x-3.4.
Please see the release notes.

ijortengab’s picture

Status: Fixed » Closed (fixed)

new release... our hope..