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

           Summary: dummy cells (containing  ) in table.diff lack
                    identifying CSS class
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
               URL: http://i55.tinypic.com/r10xn4.png
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: History/Diffs
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: m8r-cyc...@mailinator.com


screen-shot: http://i55.tinypic.com/r10xn4.png

this is related to bug 25697.

i found when viewing multi-paragraph diffs such as the wall of text seen in the
above screen-shot it may be helpful to select adjacent paragraphs with the
cursor to copy and paste specific excerpts to another medium, if not for all
the
textual formatting junk between each pair of lines.

setting the following css put me about halfway there. looks sweet without all
the +/−:
> .diff-marker { visibility:hidden; }

(note, "display:none;" didn't work so well because these cells have no analogue
in the header rows and having them disappear completely causes awful cell
malignment issues.)

unfortunately there's no easy/reliable way to get rid of the spaces in the
cells
specified by:
> <td colspan="2">&nbsp;</td>

due to the lack of an identifying css class. perhaps we can call this element
another type of .diff-marker, or make up an appropriate name for it.

(actually this would be even more useful when previewing template subst output
in the "show changes" (wpDiff) view, in cases where i'm trying to copy multiple
lines of the previewed output for discussion's sake or to build a related
template, again without all the arithmetic signs, dimension-forcing dummy
chars,
and other non-content junk.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to