Last modified: 2012-05-24 06:19:04 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 T38985, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36985 - linkify "url.author.LibraryThing.com" to LT author url
linkify "url.author.LibraryThing.com" to LT author url
Status: RESOLVED WONTFIX
Product: Utilities
Classification: Unclassified
VIAF (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-20 04:11 UTC by lɛʁi לערי ריינהארט
Modified: 2012-05-24 06:19 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2012-05-20 04:11:50 UTC
short request:
::url.author.LibraryThing.com:WagnerRichard-3:
should generate: http://librarything.com/author/wagnerrichard-3 (without "epo." etc.)

Hi! At LT author urls are a lot of authority control data and useful links for special areas of interest as chess, Yiddish poets and writers and other "collections".

Today these data needs to be transferred manually to WMF projects and other sites. A special ZCZC BEACON messaging is under development which is both human readable and can be parsed with regex by computer programs, tools and bots.

The beacon is a context statement and all sites participating in "VIAF inter project linking" can participate and extract the information they need. The statement indicates a relation normally "identical author". It is not restricted to libraries participating in VIAF and is using domain names as keywords for non VIAF participants.

example:
"LibraryThing.com" is a domain name and "url.author." are descriptors for the list value indicating their meaning and usage

In simple text the relevant "url.author.LibraryThing.com" information is embedded in "::" and the **next** occurence of "::". The first value is whatever is between the COLON after the keyword / keystring "url.author.LibraryThing.com" and the next COLON.

In the future more values can be separated by simple COLONs.

The values for this keyword are character, digits, the MINUS and the trailers "&norefer=2", "/names" and "/issues".

Example 1: "WagnerRichard-1"
Example 2: "1038773026" - this is a numerical author url for authors having most works at an non LATN author url. 
Example 3: "1234567-8" is a constructed but valid author url. LT does not have this author.

testcases:
::url.author.LibraryThing.com:WagnerRichard-1:WagnerRichard-2:WagnerRichard-3::
::url.author.LibraryThing.com:1038773026::
::url.author.LibraryThing.com:1234567-8::

Example 4: Paul Celan (1920–1970)
::url.author.LibraryThing.com:2382197905&norefer=2:CelanPaul/names;CelanPaul/issues::
should generate:
http://librarything.com/author/2382197905&norefer=2#
http://librarything.com/author/celanpaul/names#
http://librarything.com/author/celanpaul/issues#

"::nl-nl::" is used for line breaks. The "::nl-nl::"-string is equivalent to "::".

linkification:

the url is http://librarything.com/author/foobar#

notes:
a1) protocol is http://
a2) no language domain is specified; only "librarything.com"
a3) if no LT parameters are used this will redirect to the author url using the most popular spelling;

b) the link name is "LT author" regardless of the type / trailer
c) the ALT text is "LT author" regardless of the type / trailer

d) safety link trailer generated by the / added by the VIAF bookmarklet is "#"

Please contact me if there are any question.

Best regards Reinhardt
----

Minimal implementation. If it is easier to linkify only the first value, this is a very good start.

a test url: see  http://en.wikipedia.org/wiki/Talk:Martha_Wells#BEACON
Comment 1 lɛʁi לערי ריינהארט 2012-05-20 04:14:50 UTC
I am changing to priority "high" because users would not need to use different syntax to linkify these urls at wikis, LT, etc..
Comment 2 T. Gries 2012-05-20 05:16:52 UTC
pls. give a one line example what you want to detect and what link should be created.

High and highest urgency is for broken functionalities only, not for enhancements like this.
Comment 3 lɛʁi לערי ריינהארט 2012-05-23 09:37:48 UTC
(In reply to comment #2)
> pls. give a one line example what you want to detect and what link should be
> created.
> 
> High and highest urgency is for broken functionalities only, not for
> enhancements like this.

::VIAF:15711453::Name.GND:124697402::url.author.LibraryThing.com:SchonfeldChristine::

should generate http://librarything.com/author/schnofeldchristine

no "www.", no "epo.", etc.
the link redirects to http://librarything.com/author/schnfeldchristine (without "o"); this is intened in order to write ASCII names (with some capital characters) redirecting to CYRL, HEBR etc. urls.

I need to document some hundreds of VIAF number every day.
Comment 4 lɛʁi לערי ריינהארט 2012-05-24 06:13:55 UTC
note: as a workaround I found
Add-ons for Firefox "Linkification"
url; https://addons.mozilla.org/en-US/firefox/addon/linkification/

I tested it yesterday. It is complicated for newbies: one needs to mark "LibraryThing.com:SchonfeldChristine", right click, search google, identify the link etc.
Comment 5 T. Gries 2012-05-24 06:19:04 UTC
closed as wontfix. Lengthy and unclear bug description does not allow a meaningful resolution. Please open new bug if needed.

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


Navigation
Links