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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |[email protected],
                   |                            |[email protected]
          Component|Editing Tools               |Data Model
            Summary|Script Error is shown as    |VisualEditor: Re-use an
                   |existing reference for      |existing reference
                   |“Basic” citation.           |shouldn't require a
                   |                            |reference list to be or
                   |                            |have been on the page to
                   |                            |work
     Ever confirmed|0                           |1
                 OS|Windows XP                  |All

--- Comment #1 from James Forrester <[email protected]> ---
(In reply to Ritu Swain from comment #0)
> Created attachment 15949 [details]
> Script error for each citation
> 
> Test Environment-test2
> Steps to Reproduce-
> 
> Scenario#1-
> 1> Select the ” Cite “ drop down and add a Journal, News, Book,  one of each
> citations.
> 2> Now click on “Insert” and select “Media”. Click on any picture returned
> in the dialog(do not enter any search term)
> 3> In the Media Settings dialog click on “Insert” again and select “Media”
> from the Caption toolbar. Click on any picture returned in the dialog.
> 4> Now close all the dialogs. 
> 5> Repeat again steps #2,3 and 4.
> 6>In the main VE window  click on “Cite”  and select “Basic”. Reference
> dialog opens.
> 5> In the Reference dialog select “Use an existing reference”.
> 6> Script Error is shown as existing reference.

The problem here is the "re-use existing reference" code seems to rely on there
being a reference list on the page (or there having been one at some point in
this edit?) – if there's no reference list yet, it shows the references as
blank or with a Lua script error. Is this something as simple as populating the
internal list as needed?

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