https://bugzilla.wikimedia.org/show_bug.cgi?id=56756

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|Flow                        |General
           Assignee|[email protected]. |[email protected]
                   |org                         |
            Product|MediaWiki extensions        |Parsoid
            Summary|Flow: Parsoid doesn't give  |Flow: Parsoid doesn't give
                   |external links              |external links
                   |class="external text" or    |class="external free|text"
                   |rel="nofollow"              |

--- Comment #19 from [email protected] ---
I split 'adding rel="nofollow" to links' into bug 66289.

Parsoid's CSS module in core
(resources/src/mediawiki.skinning/content.parsoid.less) should output similar
CSS to the changes in these abandoned patches, i.e. style
   a[rel="mw:ExtLink"]
appropriately.

Note the Vector skin no longer styles different URL formats (mailto, ftp)
different) and file types (.mp3, .pdf) differently, but other skins like
?useskin=monobook do.

There's another wrinkle to external links.
Parser also outputs CSS class="free" if it's a bare external link in text (e.g.
... http://example.com ...) and outputs CSS class="text" if it's an external
link in wikitext markup (e.g. ... [http://example.com foo] ...).  Parsoid
doesn't output these classes, though the information to distinguish them be in
data-parsoid: {stx:"url"}.

skins/common/commonPrint.css styles .text , and skins/common/shared.css styles
.free.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to