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

           Summary: Headings appear twice, instead of edit section links
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: mediawiki-b...@nadir-seen-fire.com
        ReportedBy: thomasble...@gmx.de


Created attachment 7962
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=7962
Screenshot showing the buggy behaviour

Using current phase3 trunk (r79878), headings appear twice, and section edit
links are missing. It worked correctly on r79519. Therefore I suspect the
parser changes made by Daniel Friesen. Attached are two screenshots that show
the buggy and intended behaviour.

I should also add that I use a small Javascript function to move edit section
links, like it is or was used on the german wikipedia. It is included below.

 function moveEditsection() {
   if (typeof oldEditsectionLinks == 'undefined' || oldEditsectionLinks ==
false) {
     var spans = document.getElementsByTagName("span");
     for(var i = 0; i < spans.length; i++) {
       if(spans[i].className == "editsection") {
         spans[i].style.fontSize = "x-small";
         spans[i].style.fontWeight = "normal";
         spans[i].style.cssFloat = "none";
         spans[i].style.marginLeft = "0px";
         spans[i].parentNode.appendChild(document.createTextNode(" "));
         spans[i].parentNode.appendChild(spans[i]);
       }
     }
   }
 }

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