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

       Web browser: ---
             Bug #: 34800
           Summary: Keep classes such as
           Product: MediaWiki
           Version: 1.19
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: History/Diffs
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: mybugs.m...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---


Currently, the content of RSS feeds such as
https://pt.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=rss&action=purge
includes the classes
* diff
* diff-contentalign-left
* diff-marker
* diff-content
* diff-lineno
* diff-empty
* diffchange
* diffchange-inline
On the other hand, the other classes which are present on the wiki pages are
removed from RSS feeds, making it difficult for the users to customize the
styling of these diffs if they want to do so.

The classes
* diff
* diff-otitle
* diff-ntitle
* diff-addedline
* diff-deletedline
* diff-context
* diffchange
shouldn't be removed by function applyDiffStyle from
http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_18/phase3/includes/FeedUtils.php?view=markup#l174
The styles should just be copied to the elements, without removing the classes.

Besides, the regex used to detect the classes doesn't match the "diff" and
"diffchange" classes. I'll open another bug specifically about that.

See also bug 34798.

-- 
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