Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-07 Thread Bartosz Dziewoński
On 2020-01-07 08:57, Egbe Eugene wrote: Thanks very much Bartosz, it works just fine with Cite. Just a follow up question. *Is Cite responsible for rendering * *?* Yes. -- Bartosz Dziewoński ___ Wikitech-l mailing list

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-06 Thread Egbe Eugene
Thanks very much Bartosz, it works just fine with Cite. Just a follow up question. *Is Cite responsible for rendering * *?* On Mon, Jan 6, 2020 at 3:03 PM Bartosz Dziewoński wrote: > Sounds like you don’t have Cite installed? > > On Monday, January 6, 2020, Egbe Eugene wrote: > > > Thanks very

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-06 Thread Bartosz Dziewoński
Sounds like you don’t have Cite installed? On Monday, January 6, 2020, Egbe Eugene wrote: > Thanks very much Bartosz, I tried it on my VE sandbox page on en.Wikipedia > and it works really cool. However, I get the following error on my local MW > install > > *jQuery.Deferred exception:

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-05 Thread Egbe Eugene
Thanks very much Bartosz, I tried it on my VE sandbox page on en.Wikipedia and it works really cool. However, I get the following error on my local MW install *jQuery.Deferred exception: ve.dm.MWReferenceModel is not a constructor TypeError: ve.dm.MWReferenceModel is not a constructor* I should

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-04 Thread Bartosz Dziewoński
I am not really sure what you mean… Here's a complete example that inserts, basically, "Hello[1] world[2]" (text with two different references): https://phabricator.wikimedia.org/P10038 Does that help? -- Bartosz Dziewoński ___ Wikitech-l mailing

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-03 Thread Egbe Eugene
Thanks very much for the suggestions. It looks like I did not pose the question very clearly. We desire that the surface displays something like "Hello[1] world[2]" on the VE surface and then have the footer note pick up these [1] and [2] automatically and display them for us at the bottom of

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-02 Thread Egbe Eugene
Thanks for the help Bartosz. However, I have a large data definition of both texts and citations so I was wondering if its possible to insert the texts and citations all in one go when writing to the VE surface. In such cases, we expect the VE surface to identify, the citation where we are

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2019-12-31 Thread Bartosz Dziewoński
{{Cite web}} and similar templates can also be used outside of a tag, e.g. on a page like this: https://en.wikipedia.org/wiki/Review_aggregator#Bibliography (not the greatest example, but the best I could find quickly). If you want it inside of a footnote, it's a bit complicated in visual

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2019-12-31 Thread Eran Rosenthal
Hi Eugene, Assuming it is local installation or wiki other than English wikipedia where citations aren't yet configurated you can follow E.g copy https://en.wikipedia.org/wiki/MediaWiki:Citoid-template-type-map.json and

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2019-12-31 Thread Jaime Crespo
Hi, On Tue, Dec 31, 2019 at 12:42 PM Egbe Eugene wrote: > Hi All, > > I am implementing template https://en.wikipedia.org/wiki/Template:Cite_web > in > VE and after using the template code[1], I get results shown below > Sorry, I may not be understanding what you are trying to accomplish, I am

[Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2019-12-31 Thread Egbe Eugene
Hi All, I am implementing template https://en.wikipedia.org/wiki/Template:Cite_web in VE and after using the template code[1], I get results shown below {{Cite web|url= https://www.w3schools.com/jsref/jsref_replace.asp|title=W3Schools|last=W3Schools|first=W3Schools }} what I desire to get is