Jump to content

Talk:VisualEditor/2021

Add topic
From mediawiki.org
Latest comment: 4 years ago by Whatamidoing (WMF) in topic Descriptions instead of text

Previous discussion was archived at Talk:VisualEditor/Archive 1 on 1 September 2015.

[edit]

Hi,

when I add a Link to PDF-File in VE using "add / pics" (einfügen, Bilder und Medien)

while beeing inside ve its shown nice with icon-thumbnail and I can change the Style (with border or without...):

kasuro.com/pdflinkinve.png


but as soon as I save and leave ve, it is shown as plain text link:

kasuro.com/pdflinkinwiki.png


returning to VE its nice again...


when I search for showing PDF with Icon, i could only find the hint for using Templates...

But I dont understand, why ve shows it correctly and wiki not.

Is there any chance to set it, that wiki displays it like its displayed in ve?


thank you very much 178.7.97.22 (talk) 20:43, 28 January 2021 (UTC)Reply

Do you know how to insert it correctly (the appearance you want) in the old wikitext editor? If so, we could compare the wikitext for what works vs what the visual editor is doing, and figure out how to make them both do the right thing. Whatamidoing (WMF) (talk) 20:09, 19 March 2021 (UTC)Reply

Error contacting the Parsoid/RESTBase server: (curl error: 7) Couldn't connect to server

[edit]

Getting this error when trying to use the visual editor. Can create a new page fine but cannot save them (same error).

MediaWiki 1.35.1
PHP 7.3.25 (apache2handler)
MariaDB 10.3.27-MariaDB
ICU 63.1

Any help is appreciated. Sccotty (talk) 10:47, 5 February 2021 (UTC)Reply

Ich habe das gleiche Problem. 2003:C0:4F1B:CB40:78F1:237A:6989:B7B9 (talk) 11:19, 15 February 2021 (UTC)Reply
This was solved by adding https: to our $wgServer in LocalSettings.php Sccotty (talk) 14:37, 17 February 2021 (UTC)Reply
I have this problem, too, and I have https: in my $wgServer. However, in my case, we host Wikis via an internal and an external URL. The problem shows up only over the external URL. How do I configure this in LocalSettings.php and Apache? Ablum010777 (talk) 12:26, 11 March 2021 (UTC)Reply

Visual Editor tab not displayed in new name space

[edit]

Hello

I created a new namespace, but the visual editor tab is not displayed

please guide me

Thank you


#teb_tab

# 3824

define("NS_TEBTAB", 3824);

define("NS_TEBTAB_TALK", 3825);

// Add namespaces.

$wgExtraNamespaces[NS_TEBTAB] = "teb_tab";

$wgExtraNamespaces[NS_TEBTAB_TALK] = "teb_tab_talk";

// Additional flow for other NameSpaces

$wgNamespaceContentModels[NS_TEBTAB_TALK] = 'flow-board';

// Additional Subpages

$wgNamespacesWithSubpages[NS_TEBTAB] = true;


$wgVisualEditorAvailableNamespaces = [ "Tebtab" => true ]; Sokote zaman (talk) 21:21, 9 June 2021 (UTC)Reply

The $wgVisualEditorAvailableNamespaces array is indexed on the namespace ID, not the string name for it in a particular language. You want $wgVisualEditorAvailableNamespaces = [ NS_TEBTAB => true ]; instead. Jdforrester (WMF) (talk) 17:24, 10 June 2021 (UTC)Reply
Thank you for your response
Thank you it was solved
To add several custom spaces, please provide a sample code
Thanks@Jdforrester (WMF) Sokote zaman (talk) 20:10, 10 June 2021 (UTC)Reply

Descriptions instead of text

[edit]

Hello!

I have a problem. All text fields or buttons in VisualEditor are displayed as descriptions, like "{visualeditor-ca-editsource}" without the text itself.


Please, help me. Thanks 91.135.212.179 (talk) 10:39, 30 December 2021 (UTC)Reply

Do you operate a third-party wiki? What is the language set for your account (in Special:Preferences at your wiki)? Whatamidoing (WMF) (talk) 02:11, 5 January 2022 (UTC)Reply