Hi,

I've setup a Mediawiki for internal usage with VisualEditor.

Using the "Edit Source" I can do something like:
[[Media:Traduccio.jpg|test]]

To have a direct link to a file (instead of the page landing page).

Can I achieve the same using VisualEditor?

Even a more important question maybe, if a page had a Media link and
then I use the Visual Editor somewhere in this page it gets changed by:

[//localhost:8080/images/c/ce/Traduccio.jpg test]

(note that this instance has $wgServer = "http://localhost:8080";; ,
but I would like the link to stay as Media:File.jpg or at least to be
like /images/c/ce/Traduccio.jpg without the hostname... but ideally
leaving the Media)

Is it possible using VisualEditor? Some configuration that needs to be
changed?

I downloaded it from here, shoul be this one:
https://extdist.wmflabs.org/dist/extensions/VisualEditor-REL1_31-6854ea0.tar.gz

Thank you very much,

-- 
Carles Pina i Estany
        GPG Key 0x8CD5C157

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to