Last modified: 2013-07-01 10:48:53 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 T52445, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50445 - LanguageConverter::findVariantLink shouldn't convert link fragments
LanguageConverter::findVariantLink shouldn't convert link fragments
Status: NEW
Product: MediaWiki
Classification: Unclassified
Language converter (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-30 06:07 UTC by Liangent
Modified: 2013-07-01 10:48 UTC (History)
2 users (show)

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


Attachments

Description Liangent 2013-06-30 06:07:40 UTC
fragments = section links
Comment 1 Andre Klapper 2013-07-01 09:55:04 UTC
Being slightly more verbose in bug reports or providing a testcase is welcome, otherwise nobody taking a look at this in the future might be able to get a grip or see what went wrong at the time you reported it.
Comment 2 Liangent 2013-07-01 10:48:53 UTC
Given there's a page [[测试50445]] but no [[測試50445]]:

> $text='測試50445#測試';

> $nt=Title::newFromText($text);

> $wgLang->getConverter()->findVariantLink($text,$nt);

> echo $nt->getFullText(); # expected: '测试50445#測試'
测试50445#测试
>

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


Navigation
Links