Image not found in Visual Editor MediaWiki - mediawiki

We're using the Visual Editor (version 0.1.0 (c947b49) 9 jul 2015) with MW 1.25.3 and have a problem with the images. Images are shown correctly in read-mode but not when editing a page with the VE.
If I use Inspect Element in the browser with an image I see an incorrect path:
For instance image with src="/wiki/hzportfolio/images/e/e8/SSM_process_v_20151107.jpeg" shows localhost/wiki/hzportfolio/images/e/e8/SSM_process_v_20151107.jpeg which of course cannot be found.
How do I configure imagepaths?

Found it: I had to set $wgServer, now it's working correctly.

Related

Contents from inDesign extension panels not showing up

I tried to follow these guidelines — https://github.com/Adobe-CEP/Getting-Started-guides — to build an extension for Adobe InDesign 2021 (macOS Big Sur). I was able to make my panel (EvoDesigner) show up but no contents appear in it. I also tried to install a sample extension — https://github.com/Adobe-CEP/CEP-Resources/tree/master/CEP_9.x/Samples/CEP_HTML_Test_Extension-9.0 (also tried it with CEP_10) — but it happens to have the same problem. Any thoughts on how to solve this problem?
Thanks a lot!
I solved the problem by activating debug mode for the other vesions of CSXS I had installed (9 and 10). Turns up, at the time, I had only activated debug mode for version 8, just as exemplified in this tutorial.
So, to solve it, in the terminal (Mac) I typed:
defaults write com.adobe.CSXS.8 PlayerDebugMode 1
defaults write com.adobe.CSXS.9 PlayerDebugMode 1
defaults write com.adobe.CSXS.10 PlayerDebugMode 1

Visual Studio 2015 html and css live preview

Is HTML and CSS live preview available in Visual Studio 2015? if so, how to activate it?
if not is there any plugin for Visual Studio 2015 to use this feature?
I found a plugin in the Visual Studio Marketplace. The name of the plugin is Live HTML Previewer. Here is the link
I'm not sure if there is an out-of-the-box feature in Visual Studio to do this (I don't do much web development), but a quick Google search returned these extensions that might help you:
Live HTML Previewer
HTML Preview
Web Essentials - This one I've actually seen before, and know to be quite powerful
You could right-click on your project name and check if it offers an option for 'Page Inspector'.
If it does and you select it, it will open a panel on visual studio that shows your app as it would show in a browser with the html below in a separate section of the panel as well as a separate section for the style, etc.
Similar to what you see when you open developer tools on a browser, but with a preview included.
While you can't change the code in the panel's html section, you can make changes to your actual project files and update the preview by clicking the yellow notification bar indicating that the files have changed.
You can even expand or reduce the preview panel, and if you app is responsive, it will be responsive in the panel as well.

PhpStorm markdown preview window - font way too small

I am using the latest PhpStorm 2016.3 on Windows. While editing a markdown file, I noticed there is a preview window (that I am fairly sure is new, but it has been awhile since I edited markdown). Unfortunately, it looks like this, where the right side preview is unreadable:
I have set up Settings->Editor->Colors and Fonts->Font to be Source Code Pro, size 28 long ago to handle my 4K monitor. And I found Settings->Editor->Colors and Fonts->Markdown where I can change the look of the left side, but not the right. So I have two questions:
Is anyone else seeing this (standard or 4K monitor)?
Is there a setting that I can change?
OK, so I found out that JetBrains has a plugin named "Markdown Support", so it is important to make sure only that plugin is installed by checking Settings->Plugins.
I was using a third-party plugin before and I believe it was turned off automatically during upgrade. When I tried to turn it back on, and restarted PhpStorm, a prompt appeared indicating the two plugins were incompatible and I had to choose one, so I chose the JetBrains plugin.
Then, Settings->Language & Frameworks->Markdown->Preview, change the Preview browser field to JavaFX WebView. And the preview pane is back to the land of readable fonts.

Why does visual studio not run current html file

I am currently designing a website using Visual Studio 2015 Community and, for whatever reason, when I launch the website it will not launch the most current html file. Even though I have saved the newest file it will launch a previously created version of the website. Does anyone know why this might be happening?
Make sure the current html page is inside the project(from solution explorer).
If you make a new file from 'File' menu it will not be saved inside your project.
To create file inside project write click Proj name(in solution explorer) and click add -> file
In solution explorer right click on your project then select properties
after that from left panel select web
from there you can see three radio buttons inside start actions select current page
(or the option that suits you)

netbeans - preview html within IDE , split view?

I have installed the latest version of netbeans and its working.. I have opened an html file but i don't see where i can preview it..
Does it support HTML preview inside the IDE?
Do i need a plugin?
I would like to view in design mode at least so i can design in the ide ...
All i see is pure html ...
any ideas?
thanks
Download NetBeans for PHP, open an HTML file and you will see
I don't believe this feature is in Netbeans as of 6.7 I'm afraid. There is CSS preview, but I assume that falls short of the full preview you require. You can preview it directly in the browser by selecting "view" in the context menu, but that again is nowhere near the full preview which you require.
Searching plugins.netbeans.org also proves fruitless.
"Web Preview" and "Embedded Browser UI - XUL Runner" solution is only working at Windows systems. My solution is using an external HTML WYSIWYG Editor for Mac OS X. There are some nice free/open source HTML interface builders:
http://www.kompozer.net/
http://ckeditor.com/
http://www.w3.org/Amaya/
Alternatively you can use HTML palette + Netbeans HTML Source editor. Click Window + Palette. At the right hand side palette will be opened which contains basic HTML elements. You can drag & drop elements to your source code as visual designers but it only creates code. This function can also help you for some basic tasks.