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

            Bug ID: 68899
           Summary: Weird behavior of the Cite extension with VisualEditor
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MediaWiki integration
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 16105
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=16105&action=edit
References in MediaWiki view mode (rendering correctly)

This is most likely due to Cite, but the extension works in "view" mode and
fails in VE in my local wiki.

The problem: 

Citations/References work well in view mode but when VE loads, they appear as
their "raw" tags <ref>Something</ref> and <references />. 

More details: From within VE, even when the references appear broken like
above, I can still add a reference, which renders correctly as [1]. When I save
the page the wikitext is correct and the view mode recognizes all references
(both those that were broken and those that were just inserted). Then if I
re-edit the page, the references are broken again.

Details -

Cite extension is installed from the git repository, and this line is in
LocalSettings.php:
require_once "$IP/extensions/Cite/Cite.php";

This happens in Chrome 36.0.1985.125 and Firefox 31.0 under Ubuntu 14.04


Attachments: 

View mode and edit mode of the same page (no change to wikitext)

-- 
You are receiving this mail because:
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