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

           Summary: wgAjaxWatch.setLinkText doesn't work in Vector if icon
                    mode is not used
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Javascript
        AssignedTo: d...@ucsc.edu
        ReportedBy: gsv...@gmail.com
                CC: tpars...@wikimedia.org


If I use the Vector skin and change (by user JS) the class of the element with
ID "ca-watch" or "ca-unwatch", the text of the Watch/Unwatch link doesn't
change when I click on it.

I think this is because Vector has additional <span> around the link text and
because of this, wgAjaxWatch.setLinkText doesn't work.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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