Last modified: 2013-07-04 10:33:38 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 T50970, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48970 - Parsoid: langlinks HTML does not provide sufficient context to edit
Parsoid: langlinks HTML does not provide sufficient context to edit
Status: RESOLVED WONTFIX
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-30 12:19 UTC by James Forrester
Modified: 2013-07-04 10:33 UTC (History)
1 user (show)

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


Attachments

Description James Forrester 2013-05-30 12:19:33 UTC
[This is not an urgent request for pre-July.]

Per https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Language_links the current behaviour is:

  [[en:Foo]]

->

  <link rel="mw:WikiLink/Language" href="http://en.wikipedia.org/wiki/Foo">

Though this is enough to render, we can't determine what the target wiki language is or the title (in this example case, 'en' and 'Foo').
Comment 1 Gabriel Wicke 2013-06-06 17:33:14 UTC
This information is implicit in the href attribute, and can be extracted easily with a map from URL prefix to concepts like language or article. I would consider interwiki prefixes a local syntactical detail which should not be exposed in our DOM.
Comment 2 Andre Klapper 2013-07-04 10:33:38 UTC
[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

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


Navigation
Links