Last modified: 2012-11-20 08:53:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41835, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39835 - Remove "»" from link trail in some cases
Remove "»" from link trail in some cases
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://uk.wikipedia.org/wiki/Вікіпеді...
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-31 10:35 UTC by Pustomytnyk
Modified: 2012-11-20 08:53 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Pustomytnyk 2012-08-31 10:35:23 UTC
There was a proposition to remove "»" from link trail symbols. For 5 days nobody opposed, so please update the $linkTrail.
Comment 1 Liangent 2012-08-31 10:40:31 UTC
It seems impossible to do this as a site configuration change. Is it generally a bug in MediaWiki, or is it ukwiki that is using "»" for something different than general Ukrainian use?
Comment 2 Pustomytnyk 2012-09-02 21:23:37 UTC
Sorry, you're right, it's MediaWiki issue. But now I'm not sure can this symbol be safely removed: why «[[ggg]]» is linked as [[ggg|«ggg»]] in Ukrainian Wikimedia projects? Other wikipedias ignore «
Comment 3 Liangent 2012-09-02 22:07:45 UTC
(In reply to comment #2)
> Sorry, you're right, it's MediaWiki issue. But now I'm not sure can this symbol
> be safely removed: why «[[ggg]]» is linked as [[ggg|«ggg»]] in Ukrainian
> Wikimedia projects? Other wikipedias ignore «

Because in MessagesUk.php, there are:

$linkTrail = '/^([a-zабвгґдеєжзиіїйклмнопрстуфхцчшщьєюяёъы“»]+)(.*)$/sDu';

and

$linkPrefixExtension = true;
'linkprefix' => '/^(.*?)(„|«)$/sD',

I guess it could be a better fix to move linkTrail to a message, just like linkprefix, so it can be customized on site.

In either case (move to message or just modify $linkTrail) it requires core change. Moving to MediaWiki product.
Comment 4 Pustomytnyk 2012-09-04 17:46:44 UTC
As far as I can see there is no capability to link «[[ggg]]» -> [[«ggg»]] but omit '»' in «lala [[ggg]]», so current version is most appropriate.
Comment 5 Nemo 2012-09-04 18:10:13 UTC
(In reply to comment #4)
> As far as I can see there is no capability to link «[[ggg]]» -> [[«ggg»]] but
> omit '»' in «lala [[ggg]]», so current version is most appropriate.

Actually both seem to create mistakes, so this is a valid bug. Removing quotes is very easy and sounded reasonable, but I guess some discussion is needed (not here) to decide what error is worse.
Another bug should probably be filed to get linktrail to be as flexible as described above, if that's the desired result.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links