I just installed mediawiki 1.35 every time I edit with the visual editor, when I save changes, I get error 415 and I don't know what happens, what can I do?
Topic on Project:Support desk
Appearance
Check your access log and tell us what lines you see there for rest.php.
i can't obtain access of the logs of the visualeditor, my wiki is alojed in host shared
i check yhis mistake of the file rest.php
{"messageTranslations":{"es":"La ruta relativa solicitada () no coincide con ningún controlador conocido","en":"The requested relative path () did not match any known handler"},"httpCode":404,"httpReason":"Not Found"}
How was that generated? And, it looks like VE is not set up correctly. How did you install it?
that was installed with the mediawiki installation
Can you add the following to your LocalSettings.php:
$logDir = "$IP/cache"; $wgDebugLogGroups['rest'] = "$logDir/rest.php";
(Change $logDir to something the webserver can write to, if needed.) And apply the following diff:
diff --git a/includes/Rest/EntryPoint.php b/includes/Rest/EntryPoint.php
index 84704e67bb..e9031619a7 100644
--- a/includes/Rest/EntryPoint.php
+++ b/includes/Rest/EntryPoint.php
@@ -130,14 +130,23 @@ class EntryPoint {
public function execute() {
ob_start();
+
+ wfDebugLog( "rest", __METHOD__ . " got router: " . get_class( $this->router ) );
$response = $this->router->execute( $this->request );
+ $proto = $response->getProtocolVersion();
+ $req = $this->request->getUri();
+ $code = $response->getStatusCode();
+ $reason = $response->getReasonPhrase();
+ wfDebugLog( "rest", "Got $code:$reason in response to $req" );
- $this->webResponse->header(
- 'HTTP/' . $response->getProtocolVersion() . ' ' .
- $response->getStatusCode() . ' ' .
- $response->getReasonPhrase() );
+ $this->webResponse->header( "HTTP/$proto $code $reason" );
- foreach ( $response->getRawHeaderLines() as $line ) {
+ wfDebugLog( "rest", "body: " . $this->request->getBody() );
+ foreach ( $this->request->getHeaders() as $headerType => $line ) {
+ wfDebugLog( "rest", "< $headerType: " . implode( "/", $line ) );
+ }
+ foreach ( $response->getRawHeaderLines() as $lineNo => $line ) {
+ wfDebugLog( "rest", "> $lineNo: $line" );
$this->webResponse->header( $line );
}
diff --git a/includes/Rest/Router.php b/includes/Rest/Router.php
index b6e674ea3c..1cb1b4f41f 100644
--- a/includes/Rest/Router.php
+++ b/includes/Rest/Router.php
@@ -362,8 +362,10 @@ class Router {
}
// Run the main part of the handler
+ wfDebugLog( "rest", "About to execute: " . get_class( $handler ) );
$response = $handler->execute();
if ( !( $response instanceof ResponseInterface ) ) {
+ wfDebugLog( "rest", "Response: $response" );
$response = $this->responseFactory->createFromReturnValue( $response );
}
(If you don't know what I mean by "apply the following diff", let me know and I'll try to guide you through it.)
After that, you should get messages in your rest.log file (the one you will have told MediaWiki to log requests to with your LocalSettings.php modifications) which should begin to give us an idea of what is happening.
ok, i add the lines a localsentigs.php i don't undernstand "aplic the next diference " the file rest.log where to consult?
Nevermind the diff. Just put replace includes/Rest/EntryPoint.php
in your mediawiki installation with this file. After that, try to use the VE. A log file should show up under cache/rest.log
on your shared hosing site.
this is what the register marks |
---|
2020-10-20 18:49:02 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: body: 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < Connection: close 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < If-Match: W/"1/937a6cbd-1304-11eb-a83c-ac1f6b445cf0" 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-20 18:49:02 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: body: 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < Connection: close 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < If-Match: W/"1/937a6cbd-1304-11eb-a83c-ac1f6b445cf0" 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-20 18:49:03 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: body: 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Connection: close 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < If-Match: W/"1/937a6cbd-1304-11eb-a83c-ac1f6b445cf0" 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: body: 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Connection: close 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < If-Match: W/"1/937a6cbd-1304-11eb-a83c-ac1f6b445cf0" 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-20 18:51:09 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json |
So.... I have some logs from earlier this month that show the 415 responses like you're getting here, ... and I can't figure out what I did to get rid of them.
so, that registers are solutions for this problem?
There are. ping me here tomorrow and I'll ask you for some more debugging info that might help.
good morning, According to everything, we agree that there is a solution, I hope it works, well then what remains to be done?
Could you replace the files under extensions/VisualEditor
with the following:
- includes/ApiParsoidTrait.php
- includes/ApiVisualEditorEdit.php
- includes/VEParsoid/src/Rest/Handler/ParsoidHandler.php
- includes/VEParsoid/src/Rest/Handler/TransformHandler.php
Then remove your old rest.log that you posted yesterday and then try the editing again. Assuming it won't work (I don't know why it would), please share what is in your rest.log, then.
now the result is |
---|
2020-10-21 15:22:55 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="></head><body><p>gyighgfdf</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: body: 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 15:22:55 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'c59d59a3b73c98e8ce45e6fe', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '','' 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 15:22:55 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'c59d59a3b73c98e8ce45e6fe', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '','' ) 2020-10-21 15:22:55 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="><base href="https://lapluma.tk/index.php?title="></head><body><p>gyighgfdf</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: body: 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 15:22:56 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '4bfaead2e476a2ffb147c08b', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '','' 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 15:22:56 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '4bfaead2e476a2ffb147c08b', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '','' ) 2020-10-21 15:22:56 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) |
Thank you. One more file. In mediawiki: includes/Rest/Validator/Validator.php
Then remove the rest log and re-do the edit test as before. This time, though, look for the section in your rest.log
that begins "validateBody got headers: " and paste only that section.
example |
---|
2020-10-21 15:47:53 li2079-154 my_wiki: validateBody got headers: array ( 'Host' => array ( 0 => 'example.com', ), 'if-match' => array ( 0 => 'W/"32198/b8c6a998-13b4-11eb-8ebd-2dcfb48b422e"', ), 'accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'accept-language' => array ( 0 => 'en', ), 'user-agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'api-user-agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'cookie' => array ( 0 => 'my_wikiUserName=MarkAHershberger; VEE=visualeditor; my_wiki_session=4938qpn8h51u6lj47gomltfhnkl0qnkg; my_wikiUserID=28077', ), 'Content-Length' => array ( 0 => '1763', ), 'Content-Type' => array ( 0 => 'multipart/form-data; boundary=------------------------08126a5bb97e0366', ), 'Expect' => array ( 0 => '100-continue', ), ) |
I just tested the visual editor and it still doesn't work, replace the above code in the rest.php file and it remains the same
The last result you posted contained a line that looked like this:
'content-type' => 'application/json', 'via' => '1.1 alproxy',
The via seems to indicate that you are using a proxy server and it may be caching and/or changing your headers. Can you remove the proxy?
ok, these lines have been eliminated, i don't see any results
What do you mean by "these lines"?
Did you delete the old rest.log
and use the includes/Rest/Validator/Validator.php replacement for the corresponding MediaWiki file that I pasted to generate a new rest.log
?
yes, I deleted the old rest, the new one removed the proxy lines and also added the "replacement of validateboy", the validator file, php, is also already modified
Could you humor me and post the new rest.log
?
2020-10-21 16:48:31 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:48:31 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="></head><body><p>m</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: body: 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:48:31 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'd47cb9ad4c4c23412cc8c4d0', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:48:31 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'd47cb9ad4c4c23412cc8c4d0', 'transfer-encoding' => 'chunked', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-21 16:48:32 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="><base href="https://lapluma.tk/index.php?title="></head><body><p>m</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 15:47:53 li2079-154 my_wiki: validateBody tiene encabezados: array ( 'Anfitrión' => matriz 0 => 'ejemplo.com', ), 'if-match' => matriz 0 => 'W / "32198 / b8c6a998-13b4-11eb-8ebd-2dcfb48b422e"', ), 'aceptar' => matriz 0 => 'texto / html; juego de caracteres = utf-8; profile = "https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" ', ), 'accept-language' => matriz 0 => 'en', ), 'user-agent' => matriz 0 => 'VisualEditor-MediaWiki / 1.35.0', ), 'api-user-agent' => matriz 0 => 'VisualEditor-MediaWiki / 1.35.0', ), 'cookie' => matriz 0 => 'my_wikiUserName = MarkAHershberger; VEE = visualeditor; my_wiki_session = 4938qpn8h51u6lj47gomltfhnkl0qnkg; my_wikiUserID = 28077 ', ), 'Content-Length' => matriz 0 => '1763', ), 'Content-Type' => matriz 0 => 'multipart / form-data; límite = ------------------------ 08126a5bb97e0366 ', ), 'Esperar' => matriz 0 => '100-continuar', ), ) 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: body: 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:48:33 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'e1ee6ec8d83009c5c44858db', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:48:33 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'e1ee6ec8d83009c5c44858db', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-21 16:48:33 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="></head><body><p>m</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: body: 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:51:14 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '6a174afd7ee8e266c841e9ee', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:51:14 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '6a174afd7ee8e266c841e9ee', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:51:14 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="><base href="https://lapluma.tk/index.php?title="></head><body><p>m</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: body: 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:51:14 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '1e2ecb5f6423b7b33defe1a5', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:51:14 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '1e2ecb5f6423b7b33defe1a5', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-21 16:51:15 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="></head><body><p>hcg</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: body: 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:51:24 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:51:24 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '61c23335300ab8c46bd6a1f9', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:51:24 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '61c23335300ab8c46bd6a1f9', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-21 16:51:25 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="><base href="https://lapluma.tk/index.php?title="></head><body><p>hcg</p></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: body: 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:51:26 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'dca14dfa71367245305588b1', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:51:26 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'dca14dfa71367245305588b1', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-21 16:51:26 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="></head><body><pre>2020-10-21 15:47:53 li2079-154 my_wiki: validateBody got headers: array ( \'Host\' => array ( 0 => \'example.com\', ), \'if-match\' => array ( 0 => \'W/"32198/b8c6a998-13b4-11eb-8ebd-2dcfb48b422e"\', ), \'accept\' => array ( 0 => \'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"\', ), \'accept-language\' => array ( 0 => \'en\', ), \'user-agent\' => array ( 0 => \'VisualEditor-MediaWiki/1.35.0\', ), \'api-user-agent\' => array ( 0 => \'VisualEditor-MediaWiki/1.35.0\', ), \'cookie\' => array ( 0 => \'my_wikiUserName=MarkAHershberger; VEE=visualeditor; my_wiki_session=4938qpn8h51u6lj47gomltfhnkl0qnkg; my_wikiUserID=28077\', ), \'Content-Length\' => array ( 0 => \'1763\', ), \'Content-Type\' => array ( 0 => \'multipart/form-data; boundary=------------------------08126a5bb97e0366\', ), \'Expect\' => array ( 0 => \'100-continue\', ), )</body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: body: 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:53:06 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '60018f8eead0860aad484087', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => , 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:53:06 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '60018f8eead0860aad484087', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => , ) 2020-10-21 16:53:06 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ('html' => '<!doctype html><html><head><base href="https://lapluma.tk/index.php?title="><base href="https://lapluma.tk/index.php?title="></head><body> 2020-10-21 15:47:53 li2079-154 my_wiki: validateBody got headers: array ( \'Host\' => array ( 0 => \'example.com\', ), \'if-match\' => array ( 0 => \'W/"32198/b8c6a998-13b4-11eb-8ebd-2dcfb48b422e"\', ), \'accept\' => array ( 0 => \'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"\', ), \'accept-language\' => array ( 0 => \'en\', ), \'user-agent\' => array ( 0 => \'VisualEditor-MediaWiki/1.35.0\', ), \'api-user-agent\' => array ( 0 => \'VisualEditor-MediaWiki/1.35.0\', ), \'cookie\' => array ( 0 => \'my_wikiUserName=MarkAHershberger; VEE=visualeditor; my_wiki_session=4938qpn8h51u6lj47gomltfhnkl0qnkg; my_wikiUserID=28077\', ), \'Content-Length\' => array ( 0 => \'1763\', ), \'Content-Type\' => array ( 0 => \'multipart/form-data; boundary=------------------------08126a5bb97e0366\', ), \'Expect\' => array ( 0 => \'100-continue\', ), )</body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => NULL, 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: body: 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < Connection: close 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Wed, 21 Oct 2020 16:53:07 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'ffdacf9cda9e61e7a892a07d', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => , 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Wed, 21 Oct 2020 16:53:07 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'ffdacf9cda9e61e7a892a07d', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => , ) 2020-10-21 16:53:07 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) |
This is the part I was looking for:
2020-10-21 16:48:32 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), )
You can see that MediaWiki (Api-User-Agent
) is going through the proxy (Via
) and that the headers do not include Content-Type
.
Do you have $wgHTTPProxy set?
the proxyhttp i don't know, i don't know how configure that.
that code should it be removed or added?
I thought you might be using and that might be causing the problem.
The problem apprears to be that mediawiki is somehow using a proxy when it should not be and that proxy appears to be filtering out some headers that Parsoid or VE expects.
Beyond that, I don't know what I can tell you since I'm not familiar with how your MediaWiki, php, or server is configured.
ok i understand, visualeditor i think that is the configuration predeterm and i don't if exist how change that
my server is in alwaysdata is shared, these are my dates of software in the wiki, That would be solved although I don't know how it is
Producto | Versión |
---|---|
MediaWiki | 1.35.0 |
PHP | 7.3.22 (cgi-fcgi) |
MariaDB | 10.4.14-MariaDB |
ICU | 63.1 |
Lua | 5.1.5 |
URL del punto de entrada
Punto de entrada | URL |
---|---|
Ruta del artículo | /index.php?title=$1 |
Ruta de la secuencia de órdenes | / |
index.php | /index.php |
api.php | /api.php |
rest.php | /rest.php |
Apariencias instaladas
Apariencia | Versión | Licencia | Descripción | Autores |
---|---|---|---|---|
Vector | – | GPL-2.0-or-later | Versión moderna de MonoBook, con un aspecto actualizado y muchas mejoras de usabilidad | Trevor Parscal, Roan Kattouw y otros |
Extensiones instaladas
Páginas especiales | ||||
---|---|---|---|---|
Extensión | Versión | Licencia | Descripción | Autores |
CiteThisPage | – | GPL-2.0-or-later | Añade una página especial para citar las páginas y un enlace en el cuadro de herramientas | Ævar Arnfjörð Bjarmason y James D. Forrester |
Interwiki | 3.2 | GPL-2.0-or-later | Añade una página especial para ver y editar la tabla de interwikis | Stephanie Amanda Stevens, Alexandre Emsenhuber, Robin Pepermans, Siebrand Mazeland, Platonides, Raimond Spekking, Sam Reed, Jack Phoenix, Calimonius the Estrange y otros |
Nuke | 1.3.0 | GPL-2.0-or-later | Da a los administradores la posibilidad de borrar páginas de forma masiva | Brion Vibber y Jeroen De Dauw |
Renameuser | – | GPL-2.0-or-later | Añade una página especial para cambiar el nombre de un usuario (necesita el permiso renameuser) | Ævar Arnfjörð Bjarmason y Aaron Schulz |
Replace Text | 1.4.1 | GPL-2.0-or-later | Provee a los administradores de una página especial para realizar una búsqueda y reemplazo global de una expresión en todas las páginas de una wiki. | Yaron Koren, Niklas Laxström y otros |
Editores | ||||
Extensión | Versión | Licencia | Descripción | Autores |
CodeEditor | – | GPL-2.0-or-later AND BSD-3-Clause | Edición de páginas con resaltado de sintaxis para JavaScript y CSS, usando el editor Ace | Brion Vibber, Derk-Jan Hartman y authors of Ace |
VisualEditor | 0.1.2 | MIT | Editor visual para MediaWiki | Alex Monk, Bartosz Dziewoński, C. Scott Ananian, Christian Williams, David Lynch, Ed Sanders, Inez Korczyński, James D. Forrester, Moriel Schottlender, Roan Kattouw, Rob Moen, Subramanya Sastry, Thalia Chan, Timo Tijhof, Trevor Parscal y otros |
WikiEditor | 0.5.3 | GPL-2.0-or-later | Provee una interfaz avanzada y extensible de edición de wikitexto | Derk-Jan Hartman, Trevor Parscal, Roan Kattouw, Nimish Gautam y Adam Miller |
Extensiones del analizador sintáctico | ||||
Extensión | Versión | Licencia | Descripción | Autores |
CategoryTree | – | GPL-2.0-or-later | Navegar dinámicamente por la estructura de categorías | Daniel Kinzler |
Cite | – | GPL-2.0-or-later | Añade las etiquetas <ref> y <references> para citas. |
Ævar Arnfjörð Bjarmason, Andrew Garrett, Brion Vibber, Ed Sanders, Marius Hoch, Steve Sanbeg, Trevor Parscal y otros |
ImageMap | – | GPL-2.0-or-later | Permite image-maps dinámicos usando la etiqueta <imagemap> |
Tim Starling |
InputBox | 0.3.0 | MIT | Permite la inclusión de formularios HTML predefinidos | Erik Moeller, Leonardo Pimenta, Rob Church, Trevor Parscal y DaSch |
ParserFunctions | 1.6.0 | GPL-2.0-or-later | Mejora el analizador con funciones lógicas. | Tim Starling, Robert Rohde, Ross McClure y Juraj Simlovic |
Poem | – | CC0-1.0 | Añade la etiqueta <poem> para dar el formato propio de un poema. |
Nikola Smolenski, Brion Vibber y Steve Sanbeg |
Scribunto | – | GPL-2.0-or-later AND MIT | Marco para la incorporación de lenguajes de script en páginas de MediaWiki | Victor Vasiliev, Tim Starling y Brad Jorsch |
SyntaxHighlight | 2.0 | GPL-2.0-or-later | Permite resaltar el código fuente usando la etiqueta <syntaxhighlight> . Esta extensión usa Pygments - Resaltador de sintaxis en Python |
Brion Vibber, Tim Starling, Rob Church, Niklas Laxström, Ori Livneh y Ed Sanders |
TemplateData | 0.1.2 | GPL-2.0-or-later | Implementa almacenamiento de datos para parámetros de plantillas (mediante JSON). | Timo Tijhof, Moriel Schottlender, James D. Forrester, Trevor Parscal, Bartosz Dziewoński, Marielle Volz y otros |
Manejadores de medios | ||||
Extensión | Versión | Licencia | Descripción | Autores |
PDF Handler | – | GPL-2.0-or-later | Controlador para ver archivos PDF en modo imagen. | Martin Seidel y Mike Połtyn |
Prevención de spam | ||||
Extensión | Versión | Licencia | Descripción | Autores |
ConfirmEdit | 1.6.0 | GPL-2.0-or-later | Provee técnicas CAPTCHA para proteger contra spam y adivinación de contraseña. | Brion Vibber, Florian Schmidt, Sam Reed y otros |
SpamBlacklist | – | GPL-2.0-or-later | Herramienta anti-spam basada en expresiones regulares que permite filtrar URLs en páginas y direcciones de correo electrónico para usuarios registrados | Tim Starling, John Du Hart y Daniel Kinzler |
TitleBlacklist | 1.5.0 | GPL-2.0-or-later | Permite que los administradores prohíban la creación de páginas y cuentas de usuario mediante una lista negra y una lista blanca | Victor Vasiliev y Fran Rogers |
API | ||||
Extensión | Versión | Licencia | Descripción | Autores |
PageImages | – | WTFPL | Recopila información sobre las imágenes utilizadas en la página | Max Semenik |
Otro | ||||
Extensión | Versión | Licencia | Descripción | Autores |
Gadgets | – | GPL-2.0-or-later | Permite a los usuarios seleccionar accesorios de CSS y JavaScript personalizados en sus preferencias. | Daniel Kinzler y Max Semenik |
LocalisationUpdate | 1.4.0 | GPL-2.0-or-later | Mantiene los mensajes traducidos tan actualizados como sea posible | Tom Maaswinkel, Niklas Laxström y Roan Kattouw |
MultimediaViewer | – | GPL-2.0-or-later | Expande las miniaturas a un tamaño mayor en una vista de pantalla completa. | MarkTraceur (Mark Holmquist), Gilles Dubuc, Gergő Tisza, Aaron Arcos, Zeljko Filipin, Pau Giner, theopolisme, MatmaRex, apsdehal, vldandrew, Ebrahim Byagowi, Dereckson, Brion VIBBER, Yuki Shira, Yaroslav Melnychuk, tonythomas01, Raimond Spekking, Kunal Mehta, Jeff Hall, Christian Aistleitner, Amir E. Aharoni y otros |
Parsoid | – | Licencia | The Parsoid extension enables the REST API for Parsoid. This is needed to support VisualEditor. | |
SecureLinkFixer | – | GPL-3.0-or-later | Reescribe las URL a HTTPS si el dominio siempre requiere HTTPS | Kunal Mehta |
TextExtracts | – | GPL-2.0-or-later | Proporciona extractos del contenido de una página en texto sencillo o HTML limitado | Max Semenik |
Bibliotecas instaladas
Biblioteca | Versión | Licencia | Descripción | Autores |
---|---|---|---|---|
composer/semver | 1.5.1 | MIT | Semver library that offers utilities, version constraint parsing and validation. | Nils Adermann, Jordi Boggiano y Rob Bast |
composer/spdx-licenses | 1.5.3 | MIT | SPDX licenses list and validation library. | Nils Adermann, Jordi Boggiano y Rob Bast |
composer/xdebug-handler | 1.4.3 | MIT | Restarts a process without Xdebug. | John Stevenson |
cssjanus/cssjanus | 1.3.0 | Apache-2.0 | Convert CSS stylesheets between left-to-right and right-to-left. | Trevor Parscal, Roan Kattouw y Timo Tijhof |
dnoegel/php-xdg-base-dir | 0.1.1 | MIT | implementation of xdg base directory specification for php | |
doctrine/cache | 1.10.2 | MIT | PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others. | Guilherme Blanco, Roman Borschel, Benjamin Eberlei, Jonathan Wage y Johannes Schmitt |
doctrine/dbal | 2.10.2 | MIT | Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management. | Guilherme Blanco, Roman Borschel, Benjamin Eberlei y Jonathan Wage |
doctrine/event-manager | 1.1.1 | MIT | The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects. | Guilherme Blanco, Roman Borschel, Benjamin Eberlei, Jonathan Wage, Johannes Schmitt y Marco Pivetta |
doctrine/instantiator | 1.3.1 | MIT | A small, lightweight utility to instantiate objects in PHP without invoking their constructors | Marco Pivetta |
doctrine/sql-formatter | 1.1.0 | MIT | a PHP SQL highlighting library | Jeremy Dorn |
felixfbecker/advanced-json-rpc | 3.1.1 | ISC | A more advanced JSONRPC implementation | Felix Becker |
giorgiosironi/eris | 0.10.0 | MIT | PHP library for property-based testing. Integrates with PHPUnit. | Gabriele Lana, Giorgio Sironi y Mirko Bonadei |
guzzlehttp/guzzle | 6.5.4 | MIT | Guzzle is a PHP HTTP client library | Michael Dowling |
guzzlehttp/promises | 1.4.0 | MIT | Guzzle promises library | Michael Dowling |
guzzlehttp/psr7 | 1.7.0 | MIT | PSR-7 message implementation that also provides common utility methods | Michael Dowling y Tobias Schultze |
hamcrest/hamcrest-php | 2.0.1 | BSD-3-Clause | This is the PHP port of Hamcrest Matchers | |
johnkary/phpunit-speedtrap | 3.2.0 | MIT | Find and report on slow tests in your PHPUnit test suite | John Kary |
justinrainbow/json-schema | 5.2.10 | MIT | A library to validate a json schema. | Bruno Prieto Reis, Justin Rainbow, Igor Wiedler y Robert Schönthal |
liuggio/statsd-php-client | 1.0.18 | MIT | Statsd (Object Oriented) client library for PHP | Giulio De Donato |
mediawiki/mediawiki-codesniffer | 31.0.0 | GPL-2.0-or-later | MediaWiki CodeSniffer Standards | |
mediawiki/mediawiki-phan-config | 0.10.2 | GPL-2.0-or-later | Standard MediaWiki phan configuration | MediaWiki developers |
mediawiki/phan-taint-check-plugin | 3.0.2 | GPL-2.0-or-later | A Phan plugin to do security checking | Brian Wolff |
microsoft/tolerant-php-parser | 0.0.20 | MIT | Tolerant PHP-to-AST parser designed for IDE usage scenarios | Rob Lourens |
monolog/monolog | 1.25.5 | MIT | Sends your logs to files, sockets, inboxes, databases and various web services | Jordi Boggiano |
myclabs/deep-copy | 1.10.1 | MIT | Create deep copies (clones) of your objects | |
netresearch/jsonmapper | 2.1.0 | OSL-3.0 | Map nested JSON structures onto PHP classes | Christian Weiske |
nikic/php-parser | 4.4.0 | BSD-3-Clause | A PHP parser written in PHP | Nikita Popov |
nmred/kafka-php | 0.1.5 | BSD-3-Clause | Kafka client for php | |
oojs/oojs-ui | 0.39.3 | MIT | Provides library of common widgets, layouts, and windows. | Bartosz Dziewoński, Ed Sanders, James D. Forrester, Kirsten Menger-Anderson, Kunal Mehta, Prateek Saxena, Roan Kattouw, Rob Moen, Timo Tijhof y Trevor Parscal |
pear/console_getopt | 1.4.3 | BSD-2-Clause | More info available on: http://pear.php.net/package/Console_Getopt | Andrei Zmievski, Stig Bakken y Greg Beaver |
pear/mail | 1.4.1 | BSD-2-Clause | Class that provides multiple interfaces for sending emails. | Chuck Hagenbuch, Richard Heyes y Aleksander Machniak |
pear/mail_mime | 1.10.8 | BSD-3-clause | Mail_Mime provides classes to create MIME messages | Cipriano Groenendal y Aleksander Machniak |
pear/net_smtp | 1.9.1 | BSD-2-Clause | An implementation of the SMTP protocol | Jon Parise y Chuck Hagenbuch |
pear/net_socket | 1.2.2 | PHP License | More info available on: http://pear.php.net/package/Net_Socket | Chuck Hagenbuch, Aleksander Machniak y Stig Bakken |
pear/pear-core-minimal | 1.10.10 | BSD-3-Clause | Minimal set of PEAR core files to be used as composer dependency | Christian Weiske |
pear/pear_exception | 1.0.1 | BSD-2-Clause | The PEAR Exception base class. | Helgi Thormar y Greg Beaver |
phan/phan | 2.6.1 | MIT | A static analyzer for PHP | Tyson Andre, Rasmus Lerdorf y Andrew S. Morrison |
phar-io/manifest | 1.0.3 | BSD-3-Clause | Component for reading phar.io manifest information from a PHP Archive (PHAR) | Arne Blankerts, Sebastian Heuer y Sebastian Bergmann |
phar-io/version | 2.0.1 | BSD-3-Clause | Library for handling version information and constraints | Arne Blankerts, Sebastian Heuer y Sebastian Bergmann |
php-parallel-lint/php-console-color | 0.3 | BSD-2-Clause | Jakub Onderka | |
php-parallel-lint/php-console-highlighter | 0.5 | MIT | Highlight PHP code in terminal | Jakub Onderka |
php-parallel-lint/php-parallel-lint | 1.2.0 | BSD-2-Clause | This tool check syntax of PHP files about 20x faster than serial check. | Jakub Onderka |
phpdocumentor/reflection-common | 2.2.0 | MIT | Common reflection classes used by phpdocumentor to reflect the code structure | Jaap van Otterdijk |
phpdocumentor/reflection-docblock | 5.2.2 | MIT | With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock. | Mike van Riel y Jaap van Otterdijk |
phpdocumentor/type-resolver | 1.4.0 | MIT | A PSR-5 based resolver of Class names, Types and Structural Element Names | Mike van Riel |
phpspec/prophecy | 1.12.1 | MIT | Highly opinionated mocking framework for PHP 5.3+ | Konstantin Kudryashov y Marcello Duarte |
phpunit/php-code-coverage | 7.0.10 | BSD-3-Clause | Library that provides collection, processing, and rendering functionality for PHP code coverage information. | Sebastian Bergmann |
phpunit/php-file-iterator | 2.0.2 | BSD-3-Clause | FilterIterator implementation that filters files based on a list of suffixes. | Sebastian Bergmann |
phpunit/php-text-template | 1.2.1 | BSD-3-Clause | Simple template engine. | Sebastian Bergmann |
phpunit/php-timer | 2.1.2 | BSD-3-Clause | Utility class for timing | Sebastian Bergmann |
phpunit/php-token-stream | 3.1.1 | BSD-3-Clause | Wrapper around PHP's tokenizer extension. | Sebastian Bergmann |
phpunit/phpunit | 8.5.8 | BSD-3-Clause | The PHP Unit Testing framework. | Sebastian Bergmann |
pimple/pimple | 3.3.0 | MIT | Pimple, a simple Dependency Injection Container | Fabien Potencier |
pleonasm/bloom-filter | 1.0.2 | BSD-2-Clause | A pure PHP implementation of a Bloom Filter | Matthew Nagi |
psr/container | 1.0.0 | MIT | Common Container Interface (PHP FIG PSR-11) | PHP-FIG |
psr/http-message | 1.0.1 | MIT | Common interface for HTTP messages | PHP-FIG |
psr/log | 1.1.3 | MIT | Common interface for logging libraries | PHP-FIG |
psy/psysh | 0.10.4 | MIT | An interactive shell for modern PHP. | Justin Hileman |
ralouphie/getallheaders | 3.0.3 | MIT | A polyfill for getallheaders. | Ralph Khattar |
sabre/event | 5.1.2 | BSD-3-Clause | sabre/event is a library for lightweight event-based programming | Evert Pot |
sebastian/code-unit-reverse-lookup | 1.0.1 | BSD-3-Clause | Looks up which function or method a line of code belongs to | Sebastian Bergmann |
sebastian/comparator | 3.0.2 | BSD-3-Clause | Provides the functionality to compare PHP values for equality | Jeff Welch, Volker Dusch, Bernhard Schussek y Sebastian Bergmann |
sebastian/diff | 3.0.2 | BSD-3-Clause | Diff implementation | Kore Nordmann y Sebastian Bergmann |
sebastian/environment | 4.2.3 | BSD-3-Clause | Provides functionality to handle HHVM/PHP environments | Sebastian Bergmann |
sebastian/exporter | 3.1.2 | BSD-3-Clause | Provides the functionality to export PHP variables for visualization | Sebastian Bergmann, Jeff Welch, Volker Dusch, Adam Harvey y Bernhard Schussek |
sebastian/global-state | 3.0.0 | BSD-3-Clause | Snapshotting of global state | Sebastian Bergmann |
sebastian/object-enumerator | 3.0.3 | BSD-3-Clause | Traverses array structures and object graphs to enumerate all referenced objects | Sebastian Bergmann |
sebastian/object-reflector | 1.1.1 | BSD-3-Clause | Allows reflection of object attributes, including inherited and non-public ones | Sebastian Bergmann |
sebastian/recursion-context | 3.0.0 | BSD-3-Clause | Provides functionality to recursively process PHP variables | Jeff Welch, Sebastian Bergmann y Adam Harvey |
sebastian/resource-operations | 2.0.1 | BSD-3-Clause | Provides a list of PHP built-in functions that operate on resources | Sebastian Bergmann |
sebastian/type | 1.1.3 | BSD-3-Clause | Collection of value objects that represent the types of the PHP type system | Sebastian Bergmann |
sebastian/version | 2.0.1 | BSD-3-Clause | Library that helps with managing the version number of Git-hosted PHP projects | Sebastian Bergmann |
seld/jsonlint | 1.7.1 | MIT | JSON Linter | Jordi Boggiano |
squizlabs/php_codesniffer | 3.5.5 | BSD-3-Clause | PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. | Greg Sherwood |
symfony/console | 5.1.7 | MIT | Symfony Console Component | Fabien Potencier y Symfony Community |
symfony/polyfill-intl-grapheme | 1.18.1 | MIT | Symfony polyfill for intl's grapheme_* functions | Nicolas Grekas y Symfony Community |
symfony/polyfill-intl-idn | 1.17.0 | MIT | Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions | Laurent Bassin y Symfony Community |
symfony/polyfill-intl-normalizer | 1.18.1 | MIT | Symfony polyfill for intl's Normalizer class and related functions | Nicolas Grekas y Symfony Community |
symfony/polyfill-php72 | 1.18.1 | MIT | Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions | Nicolas Grekas y Symfony Community |
symfony/polyfill-php73 | 1.18.1 | MIT | Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions | Nicolas Grekas y Symfony Community |
symfony/polyfill-php80 | 1.18.1 | MIT | Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions | Ion Bazan, Nicolas Grekas y Symfony Community |
symfony/service-contracts | 2.2.0 | MIT | Generic abstractions related to writing services | Nicolas Grekas y Symfony Community |
symfony/string | 5.1.7 | MIT | Symfony String component | Nicolas Grekas y Symfony Community |
symfony/var-dumper | 5.1.7 | MIT | Symfony mechanism for exploring and dumping PHP variables | Nicolas Grekas y Symfony Community |
symfony/yaml | 5.0.11 | MIT | Symfony Yaml Component | Fabien Potencier y Symfony Community |
theseer/tokenizer | 1.2.0 | BSD-3-Clause | A small library for converting tokenized PHP source code into XML and potentially other formats | Arne Blankerts |
webmozart/assert | 1.9.1 | MIT | Assertions to validate method input/output with nice error messages. | Bernhard Schussek |
wikimedia/assert | 0.5.0 | MIT | Provides runtime assertions | Daniel Kinzler y Thiemo Kreuz |
wikimedia/at-ease | 2.0.0 | GPL-2.0-or-later | Safe replacement to @ for suppressing warnings. | Tim Starling y MediaWiki developers |
wikimedia/avro | 1.9.0 | Apache-2.0 | A library for using Apache Avro with PHP. | Michael Glaesemann, Andy Wick, Saleem Shafi, A B, Doug Cutting y Tom White |
wikimedia/base-convert | 2.0.1 | GPL-2.0-or-later | Convert an arbitrarily-long string from one numeric base to another, optionally zero-padding to a minimum column width. | Brion Vibber y Tyler Romeo |
wikimedia/cdb | 1.4.1 | GPL-2.0+ | Constant Database (CDB) wrapper library for PHP. Provides pure-PHP fallback when dba_* functions are absent. | Daniel Kinzler, Tim Starling, Chad Horohoe y Ori Livneh |
wikimedia/cldr-plural-rule-parser | 1.0.0 | GPL-2.0+ | Evaluates plural rules specified in the CLDR project notation. | Tim Starling y Niklas Laxström |
wikimedia/common-passwords | 0.2.0 | MIT | List of the 100,000 most commonly used passwords | Sam Reed |
wikimedia/composer-merge-plugin | 1.4.1 | MIT | Composer plugin to merge multiple composer.json files | Bryan Davis |
wikimedia/html-formatter | 1.0.2 | GPL-2.0-or-later | Performs transformations of HTML by wrapping around libxml2 and working around its countless bugs. | MediaWiki contributors |
wikimedia/ip-set | 2.1.0 | GPL-2.0-or-later | Efficiently match IP addresses against a set of CIDR specifications. | Brandon Black |
wikimedia/ip-utils | 1.0.0 | GPL-2.0-or-later | Functions and constants to play with IP addresses and ranges | MediaWiki developers |
wikimedia/less.php | 3.0.0 | Apache-2.0 | PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained by Josh Schmidt) | Josh Schmidt, Matt Agar y Martin Jantošovič |
wikimedia/object-factory | 2.1.0 | GPL-2.0-or-later | Construct objects from configuration instructions | Bryan Davis |
wikimedia/parsoid | 0.12.0 | GPL-2.0-or-later | Parsoid, a bidirectional parser between wikitext and HTML5 | Wikimedia Parsing Team and the broader MediaWiki community |
wikimedia/php-session-serializer | 1.0.7 | GPL-2.0-or-later | Provides methods like PHP's session_encode and session_decode that don't mess with $_SESSION | Brad Jorsch |
wikimedia/purtle | 1.0.7 | GPL-2.0-or-later | Fast streaming RDF serializer | Daniel Kinzler, Stanislav Malyshev, C. Scott Ananian y Thiemo Kreuz |
wikimedia/relpath | 2.1.1 | MIT | Compute a relative filepath between two paths. | Ori Livneh |
wikimedia/remex-html | 2.2.0 | MIT | Fast HTML 5 parser | Tim Starling |
wikimedia/running-stat | 1.2.1 | GPL-2.0+ | PHP implementations of online statistical algorithms | Ori Livneh |
wikimedia/scoped-callback | 3.0.0 | GPL-2.0-or-later | Class for asserting that a callback happens when a dummy object leaves scope | Aaron Schulz |
wikimedia/services | 2.0.1 | GPL-2.0-or-later | Generic service to manage named services using lazy instantiation based on instantiator callback functions | Daniel Kinzler |
wikimedia/testing-access-wrapper | 1.0.0 | GPL-2.0+ | A simple helper class to access non-public elements of a class when testing. | Adam Roses Wight, Brad Jorsch y Gergő Tisza |
wikimedia/timestamp | 3.0.0 | GPL-2.0-or-later | Creation, parsing, and conversion of timestamps | Tyler Romeo |
wikimedia/utfnormal | 2.0.0 | GPL-2.0-or-later | Contains Unicode normalization routines, including both pure PHP implementations and automatic use of the 'intl' PHP extension when present | Brion Vibber |
wikimedia/wait-condition-loop | 1.0.1 | GPL-2.0+ | Wait loop that reaches a condition or times out | Aaron Schulz |
wikimedia/wikipeg | 2.0.4 | MIT | Parser generator for JavaScript and PHP | |
wikimedia/wrappedstring | 3.2.0 | MIT | Automatically compact sequentially-outputted strings that share a common prefix / suffix pair. | Timo Tijhof |
wikimedia/xmp-reader | 0.7.0 | GPL-2.0-or-later | Reader for XMP data containing properties relevant to images | Brian Wolff |
wikimedia/zest-css | 1.1.3 | MIT | Fast, lightweight, extensible CSS selector engine for PHP | Christopher Jeffrey y C. Scott Ananian |
wmde/hamcrest-html-matchers | 0.1.1 | LGPL-2.1 | Set of Hamcrest matchers for HTML assertrions | Aleksey Bekh-Ivanov |
zordius/lightncandy | 1.2.5 | MIT | An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ). | Zordius Chen |
This information is helpful, but would probably be most helpful is your LocalSettings.php file with passwords elided.
<?php
#This file was automatically generated by the MediaWiki 1.35.0
#installer. If you make manual changes, please keep track in case you
#need to recreate them later.
#
#See includes/DefaultSettings.php for all configurable settings
#and their default values, but don't forget to make changes in _this_
#file, not there.
#
#Further documentation for configuration settings may be found at:
#https://www.mediawiki.org/wiki/Manual:Configuration_settings
#Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
##Uncomment this to disable output compression
#$wgDisableOutputCompression = true;
$wgSitename = "La pluma azul";
$wgMetaNamespace = "La_pluma_azul";
##The URL base path to the directory containing the wiki;
##defaults for all runtime URL paths are based off of this.
##For more information on customizing the URLs
##(like /w/index.php/Page_title to /wiki/Page_title) please see:
##https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "";
##The protocol and server name to use in fully-qualified URLs
$wgServer = "http://lapluma.tk";
##The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath;
##The URL paths to the logo. Make sure you change this from the default,
##or else you'll overwrite your logo when you upgrade!
$wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/wiki.png" ];
##UPO means: this is also a user preference option
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "apache@lapluma.tk";
$wgPasswordSender = "apache@lapluma.tk";
$wgEnotifUserTalk = false; # UPO
$wgEnotifWatchlist = false; # UPO
$wgEmailAuthentication = true;
##Database settings
$wgDBtype = "mysql";
$wgDBserver = "mysql-pony.alwaysdata.net";
$wgDBname = "pony_mediawiki";
$wgDBuser = "pony_mediawiki1";
$wgDBpassword = "---";
#MySQL specific settings
$wgDBprefix = "wiki";
#MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
##Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = [];
##To enable image uploads, make sure the 'images' directory
##is writable, then set this to true:
$wgEnableUploads = false;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
#InstantCommons allows wiki to use images from https://commons.wikimedia.org
$wgUseInstantCommons = false;
#Periodically send a pingback to https://www.mediawiki.org/ with basic data
#about this MediaWiki instance. The Wikimedia Foundation shares this data
#with MediaWiki developers to help guide future development efforts.
$wgPingback = false;
##If you use ImageMagick (or any other shell command) on a
##Linux server, this will need to be set to the name of an
##available UTF-8 locale
$wgShellLocale = "C.UTF-8";
##Set $wgCacheDirectory to a writable directory on the web server
##to make your wiki go slightly faster. The directory should not
##be publicly accessible from the web.
#$wgCacheDirectory = "$IP/cache";
#Site language code, should be one of the list in ./languages/data/Names.php
$wgLanguageCode = "es";
$wgSecretKey = "---";
#Changing this will log out all existing sessions.
$wgAuthenticationTokenVersion = "1";
#Site upgrade key. Must be set to a string (default provided) to turn on the
#web installer while LocalSettings.php is in place
$wgUpgradeKey = "---";
##For attaching licensing metadata to pages, and displaying an
##appropriate copyright notice / icon. GNU Free Documentation
##License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
#Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
##Default skin: you can change the default skin. Use the internal symbolic
##names, ie 'vector', 'monobook':
$wgDefaultSkin = "vector";
#Enabled skins.
#The following skins were automatically enabled:
wfLoadSkin( 'Vector' );
wfLoadExtension( 'CategoryTree' );
wfLoadExtension( 'Cite' );
wfLoadExtension( 'CiteThisPage' );
wfLoadExtension( 'CodeEditor' );
wfLoadExtension( 'ConfirmEdit' );
wfLoadExtension( 'Gadgets' );
wfLoadExtension( 'ImageMap' );
wfLoadExtension( 'InputBox' );
wfLoadExtension( 'Interwiki' );
wfLoadExtension( 'LocalisationUpdate' );
wfLoadExtension( 'MultimediaViewer' );
wfLoadExtension( 'Nuke' );
wfLoadExtension( 'PageImages' );
wfLoadExtension( 'ParserFunctions' );
wfLoadExtension( 'PdfHandler' );
wfLoadExtension( 'Poem' );
wfLoadExtension( 'Renameuser' );
wfLoadExtension( 'ReplaceText' );
wfLoadExtension( 'Scribunto' );
wfLoadExtension( 'SecureLinkFixer' );
wfLoadExtension( 'SpamBlacklist' );
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
wfLoadExtension( 'TemplateData' );
wfLoadExtension( 'TextExtracts' );
wfLoadExtension( 'TitleBlacklist' );
wfLoadExtension( 'VisualEditor' );
wfLoadExtension( 'WikiEditor' );
#End of automatically generated settings.
#Add more configuration options below.
$PARSOID_INSTALL_DIR = 'vendor/wikimedia/parsoid'; # bundled copy
#$PARSOID_INSTALL_DIR = '/my/path/to/git/checkout/of/Parsoid';
// For developers: ensure Parsoid is executed from $PARSOID_INSTALL_DIR,
// (not the version included in mediawiki-core by default)
// Must occur *before* wfLoadExtension()
if ( $PARSOID_INSTALL_DIR !== 'vendor/wikimedia/parsoid' ) {
AutoLoader::$psr4Namespaces += [
// Keep this in sync with the "autoload" clause in
// $PARSOID_INSTALL_DIR/composer.json
'Wikimedia\\Parsoid\\' => "$PARSOID_INSTALL_DIR/src",
];
}
wfLoadExtension( 'Parsoid', "$PARSOID_INSTALL_DIR/extension.json" );
#Manually configure Parsoid
$wgVisualEditorParsoidAutoConfig = false;
$wgParsoidSettings = [
'useSelser' => true,
'rtTestMode' => false,
'linting' => false,
];
$wgVirtualRestConfig['modules']['parsoid'] = [];
$logDir = "$IP/cache";
$wgDebugLogGroups['rest'] = "$logDir/rest.php";
$wgVisualEditorFullRestbaseURL = true;
It looks like you are using the developers instructions which the VE page says:
- By default VisualEditor is automatically configured to talk to a Parsoid service running on the same host. You should not need to change this in most cases!
What happens if you remove everything after #Add more configuration options below.
except
$logDir = "$IP/cache"; $wgDebugLogGroups['rest'] = "$logDir/rest.log";
that don't help, because i preview I tried it and it kept marking the error
what instrucctions i should revise for the visualeditor normally?
Even if you tried it previously, you should try it again now that we have the rest.log
recording problems. It may tell us something new.
Extended content |
---|
2020-10-22 16:37:08 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: > 0: Content-Type: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0" 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: > 1: Content-Language: es 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: > 2: Vary: Accept 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: > 3: Etag: W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0" 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: > 4: Content-Revision-Id: 1 2020-10-22 16:37:08 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 200, 'reason' => 'OK', 'headers' => array ( 'date' => 'Thu, 22 Oct 2020 16:37:06 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'content-language' => 'es', 'vary' => 'Accept,Accept-Encoding', 'content-revision-id' => '1', 'x-request-id' => '1792ef82e7364ebc4835d748', 'etag' => 'W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0"', 'transfer-encoding' => 'chunked', 'content-type' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"', 'via' => '1.1 alproxy', ), 'body' => '<!DOCTYPE html> <html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageId" content="1"/><meta property="mw:pageNamespace" content="0"/><link rel="dc:replaces" resource="mwr:revision/0"/><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"/><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"/><meta property="isMainPage" content="true"/><meta property="mw:html:version" content="2.1.0"/><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"/><title>Página principal</title><base href="http://lapluma.tk/"/><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"/><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"/><meta http-equiv="vary" content="Accept"/></head><body data-parsoid=\'{"dsr":[0,788,0,0]}\' lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><section data-mw-section-id="0" data-parsoid="{}"><p data-parsoid=\'{"dsr":[0,43,0,0]}\'><strong data-parsoid=\'{"stx":"html","dsr":[0,43,8,9]}\'>MediaWiki se ha instalado.</strong></p> <p data-parsoid=\'{"dsr":[45,186,0,0]}\'>Consulta la <a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" class="external text" data-parsoid=\'{"dsr":[57,128,65,1]}\'>guía</a> para obtener información sobre el uso del software wiki.</p> </section><section data-mw-section-id="1" data-parsoid="{}"><h2 id="Primeros_pasos" data-parsoid=\'{"dsr":[188,208,2,2]}\'>Primeros pasos</h2> <ul data-parsoid=\'{"dsr":[209,788,0,0]}\'><li data-parsoid=\'{"dsr":[209,327,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" class="external text" data-parsoid=\'{"dsr":[211,327,81,1]}\'>Lista de ajustes de configuración</a></li> <li data-parsoid=\'{"dsr":[328,429,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" class="external text" data-parsoid=\'{"dsr":[330,429,62,1]}\'>Preguntas frecuentes sobre MediaWiki</a></li> <li data-parsoid=\'{"dsr":[430,554,1,0]}\'><a rel="mw:ExtLink" href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" class="external text" data-parsoid=\'{"dsr":[432,554,65,1]}\'>Lista de correo de anuncios de publicación de MediaWiki</a></li> <li data-parsoid=\'{"dsr":[555,674,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" class="external text" data-parsoid=\'{"dsr":[557,674,86,1]}\'>Traducir MediaWiki a tu idioma</a></li> <li data-parsoid=\'{"dsr":[675,788,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" class="external text" data-parsoid=\'{"dsr":[677,788,73,1]}\'>Aprende a combatir el spam en tu wiki</a></li></ul></section></body></html>', 'error' => '', 0 => 200, 1 => 'OK', 2 => array ( 'date' => 'Thu, 22 Oct 2020 16:37:06 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'content-language' => 'es', 'vary' => 'Accept,Accept-Encoding', 'content-revision-id' => '1', 'x-request-id' => '1792ef82e7364ebc4835d748', 'etag' => 'W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0"', 'transfer-encoding' => 'chunked', 'content-type' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"', 'via' => '1.1 alproxy', ), 3 => '<!DOCTYPE html> <html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageId" content="1"/><meta property="mw:pageNamespace" content="0"/><link rel="dc:replaces" resource="mwr:revision/0"/><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"/><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"/><meta property="isMainPage" content="true"/><meta property="mw:html:version" content="2.1.0"/><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"/><title>Página principal</title><base href="http://lapluma.tk/"/><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"/><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"/><meta http-equiv="vary" content="Accept"/></head><body data-parsoid=\'{"dsr":[0,788,0,0]}\' lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><section data-mw-section-id="0" data-parsoid="{}"><p data-parsoid=\'{"dsr":[0,43,0,0]}\'><strong data-parsoid=\'{"stx":"html","dsr":[0,43,8,9]}\'>MediaWiki se ha instalado.</strong></p> <p data-parsoid=\'{"dsr":[45,186,0,0]}\'>Consulta la <a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" class="external text" data-parsoid=\'{"dsr":[57,128,65,1]}\'>guía</a> para obtener información sobre el uso del software wiki.</p> </section><section data-mw-section-id="1" data-parsoid="{}"><h2 id="Primeros_pasos" data-parsoid=\'{"dsr":[188,208,2,2]}\'>Primeros pasos</h2> <ul data-parsoid=\'{"dsr":[209,788,0,0]}\'><li data-parsoid=\'{"dsr":[209,327,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" class="external text" data-parsoid=\'{"dsr":[211,327,81,1]}\'>Lista de ajustes de configuración</a></li> <li data-parsoid=\'{"dsr":[328,429,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" class="external text" data-parsoid=\'{"dsr":[330,429,62,1]}\'>Preguntas frecuentes sobre MediaWiki</a></li> <li data-parsoid=\'{"dsr":[430,554,1,0]}\'><a rel="mw:ExtLink" href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" class="external text" data-parsoid=\'{"dsr":[432,554,65,1]}\'>Lista de correo de anuncios de publicación de MediaWiki</a></li> <li data-parsoid=\'{"dsr":[555,674,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" class="external text" data-parsoid=\'{"dsr":[557,674,86,1]}\'>Traducir MediaWiki a tu idioma</a></li> <li data-parsoid=\'{"dsr":[675,788,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" class="external text" data-parsoid=\'{"dsr":[677,788,73,1]}\'>Aprende a combatir el spam en tu wiki</a></li></ul></section></body></html>', 4 => '', ) 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"><meta property="mw:pageId" content="1"><meta property="mw:pageNamespace" content="0"><link rel="dc:replaces" resource="mwr:revision/0"><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"><meta property="isMainPage" content="true"><meta property="mw:html:version" content="2.1.0"><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"><title>Página principal</title><base href="http://lapluma.tk/"><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"><meta http-equiv="vary" content="Accept"></head><body data-parsoid="{"dsr":[0,788,0,0]}" lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><p data-parsoid="{"dsr":[0,43,0,0]}"><strong data-parsoid="{"stx":"html","dsr":[0,43,8,9]}">MediaWiki se ha instalado.</strong></p> <p data-parsoid="{"dsr":[45,186,0,0]}">Consulta la <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[57,128,65,1]}">guía</a> para obtener información sobre el uso del software wiki. </p> <p data-parsoid="{"dsr":[45,186,0,0]}"></p><h4>jgjkk</h4><h2 id="Primeros_pasos" data-parsoid="{"dsr":[188,208,2,2]}">Primeros pasos</h2> <ul data-parsoid="{"dsr":[209,788,0,0]}"><li data-parsoid="{"dsr":[209,327,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[211,327,81,1]}">Lista de ajustes de configuración</a></li> <li data-parsoid="{"dsr":[328,429,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[330,429,62,1]}">Preguntas frecuentes sobre MediaWiki</a></li> <li data-parsoid="{"dsr":[430,554,1,0]}"><a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[432,554,65,1]}">Lista de correo de anuncios de publicación de MediaWiki</a></li> <li data-parsoid="{"dsr":[555,674,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[557,674,86,1]}">Traducir MediaWiki a tu idioma</a></li> <li data-parsoid="{"dsr":[675,788,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[677,788,73,1]}">Aprende a combatir el spam en tu wiki</a></li></ul></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => 'W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0"', 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'If-Match' => array ( 0 => 'W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: body: 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < Connection: close 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < If-Match: W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0" 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Thu, 22 Oct 2020 16:37:20 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'b9fa68125c0c301813e1e758', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Thu, 22 Oct 2020 16:37:20 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => 'b9fa68125c0c301813e1e758', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-22 16:37:20 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: ve: reinflating html 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: parsoid: Request: array ( 'method' => 'POST', 'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1', 'body' => array ( 'html' => '<!doctype html><html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"><meta property="mw:pageId" content="1"><meta property="mw:pageNamespace" content="0"><link rel="dc:replaces" resource="mwr:revision/0"><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"><meta property="isMainPage" content="true"><meta property="mw:html:version" content="2.1.0"><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"><title>Página principal</title><base href="http://lapluma.tk/"><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"><meta http-equiv="vary" content="Accept"><meta charset="utf-8"><meta property="mw:pageId" content="1"><meta property="mw:pageNamespace" content="0"><link rel="dc:replaces" resource="mwr:revision/0"><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"><meta property="isMainPage" content="true"><meta property="mw:html:version" content="2.1.0"><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"><title>Página principal</title><base href="http://lapluma.tk/"><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"><meta http-equiv="vary" content="Accept"></head><body data-parsoid="{"dsr":[0,788,0,0]}" lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><p data-parsoid="{"dsr":[0,43,0,0]}"><strong data-parsoid="{"stx":"html","dsr":[0,43,8,9]}">MediaWiki se ha instalado.</strong></p> <p data-parsoid="{"dsr":[45,186,0,0]}">Consulta la <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[57,128,65,1]}">guía</a> para obtener información sobre el uso del software wiki. </p> <p data-parsoid="{"dsr":[45,186,0,0]}"></p><h4>jgjkk</h4><h2 id="Primeros_pasos" data-parsoid="{"dsr":[188,208,2,2]}">Primeros pasos</h2> <ul data-parsoid="{"dsr":[209,788,0,0]}"><li data-parsoid="{"dsr":[209,327,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[211,327,81,1]}">Lista de ajustes de configuración</a></li> <li data-parsoid="{"dsr":[328,429,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[330,429,62,1]}">Preguntas frecuentes sobre MediaWiki</a></li> <li data-parsoid="{"dsr":[430,554,1,0]}"><a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[432,554,65,1]}">Lista de correo de anuncios de publicación de MediaWiki</a></li> <li data-parsoid="{"dsr":[555,674,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[557,674,86,1]}">Traducir MediaWiki a tu idioma</a></li> <li data-parsoid="{"dsr":[675,788,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[677,788,73,1]}">Aprende a combatir el spam en tu wiki</a></li></ul></body></html>', 'scrub_wikitext' => 1, ), 'headers' => array ( 'If-Match' => 'W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0"', 'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', 'Accept-Language' => 'es', 'User-Agent' => 'VisualEditor-MediaWiki/1.35.0', 'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0', ), ) 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: validateBody got headers: array ( 'Connection' => array ( 0 => 'close', ), 'X-Ssl-Client-Verify' => array ( 0 => 'NONE', ), 'X-Ssl' => array ( 0 => '1', ), 'X-Forwarded-Proto' => array ( 0 => 'https', ), 'Via' => array ( 0 => '1.1 alproxy', ), 'Api-User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'User-Agent' => array ( 0 => 'VisualEditor-MediaWiki/1.35.0', ), 'Accept-Language' => array ( 0 => 'es', ), 'Accept' => array ( 0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"', ), 'If-Match' => array ( 0 => 'W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0"', ), 'Host' => array ( 0 => 'lapluma.tk', ), ) 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: body: 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < Connection: close 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < X-Ssl: 1 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < Accept-Language: es 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0" 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < If-Match: W/"1/d3685dbd-1484-11eb-a83c-ac1f6b445cf0" 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: < Host: lapluma.tk 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: parsoid: response: array ( 'code' => 415, 'reason' => 'Unsupported Media Type', 'headers' => array ( 'date' => 'Thu, 22 Oct 2020 16:37:21 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '43ae62711fb9647e06ed64bc', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 'body' => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 'error' => '', 0 => 415, 1 => 'Unsupported Media Type', 2 => array ( 'date' => 'Thu, 22 Oct 2020 16:37:21 GMT', 'server' => 'Apache', 'x-content-type-options' => 'nosniff', 'x-request-id' => '43ae62711fb9647e06ed64bc', 'transfer-encoding' => 'chunked', 'content-type' => 'application/json', 'via' => '1.1 alproxy', ), 3 => '{"message":"A Content-Type header must be supplied with a request payload.","error":"no-content-type","httpCode":415,"httpReason":"Unsupported Media Type"}', 4 => '', ) 2020-10-22 16:37:21 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) |
No new information, that I could see. Could you try this updated version of includes/Rest/Validator/Validator.php for mediawiki? I commented out the line causing it to return 415.
It will probably still fail, but the failure will be interesting.
the changes are diferent
Extended content |
---|
2020-10-22 21:01:27 http7 pony_mediawiki-wiki: parsoid: Request: array (
'method' => 'GET',
'url' => '/restbase/local/v1/page/html/P%C3%A1gina_principal/1?redirect=false&stash=true',
'query' =>
array (
),
'headers' =>
array (
'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
'Accept-Language' => 'es',
'User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
),
)
2020-10-22 21:01:28 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: Got 200:OK in response to /rest.php/lapluma.tk/v3/page/html/P%C3%A1gina_principal/1?redirect=false&stash=true
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: body:
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Connection: close
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < X-Ssl: 1
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < If-None-Match: W/"1/d7e7433d-1491-11eb-a83c-ac1f6b445cf0"
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Content-Length: 0
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Accept-Language: es
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: < Host: lapluma.tk
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: > 0: Content-Type: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: > 1: Content-Language: es
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: > 2: Vary: Accept
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: > 3: Etag: W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: > 4: Content-Revision-Id: 1
2020-10-22 21:01:29 http7 pony_mediawiki-wiki: parsoid: response: array (
'code' => 200,
'reason' => 'OK',
'headers' =>
array (
'date' => 'Thu, 22 Oct 2020 21:01:27 GMT',
'server' => 'Apache',
'x-content-type-options' => 'nosniff',
'content-language' => 'es',
'vary' => 'Accept,Accept-Encoding',
'content-revision-id' => '1',
'x-request-id' => '2146eb119a52e0d49857f53c',
'etag' => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
'transfer-encoding' => 'chunked',
'content-type' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"',
'via' => '1.1 alproxy',
),
'body' => '<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageId" content="1"/><meta property="mw:pageNamespace" content="0"/><link rel="dc:replaces" resource="mwr:revision/0"/><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"/><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"/><meta property="isMainPage" content="true"/><meta property="mw:html:version" content="2.1.0"/><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"/><title>Página principal</title><base href="http://lapluma.tk/"/><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"/><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"/><meta http-equiv="vary" content="Accept"/></head><body data-parsoid=\'{"dsr":[0,788,0,0]}\' lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><section data-mw-section-id="0" data-parsoid="{}"><p data-parsoid=\'{"dsr":[0,43,0,0]}\'><strong data-parsoid=\'{"stx":"html","dsr":[0,43,8,9]}\'>MediaWiki se ha instalado.</strong></p>
<p data-parsoid=\'{"dsr":[45,186,0,0]}\'>Consulta la <a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" class="external text" data-parsoid=\'{"dsr":[57,128,65,1]}\'>guía</a> para obtener información sobre el uso del software wiki.</p>
</section><section data-mw-section-id="1" data-parsoid="{}"><h2 id="Primeros_pasos" data-parsoid=\'{"dsr":[188,208,2,2]}\'>Primeros pasos</h2>
<ul data-parsoid=\'{"dsr":[209,788,0,0]}\'><li data-parsoid=\'{"dsr":[209,327,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" class="external text" data-parsoid=\'{"dsr":[211,327,81,1]}\'>Lista de ajustes de configuración</a></li>
<li data-parsoid=\'{"dsr":[328,429,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" class="external text" data-parsoid=\'{"dsr":[330,429,62,1]}\'>Preguntas frecuentes sobre MediaWiki</a></li>
<li data-parsoid=\'{"dsr":[430,554,1,0]}\'><a rel="mw:ExtLink" href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" class="external text" data-parsoid=\'{"dsr":[432,554,65,1]}\'>Lista de correo de anuncios de publicación de MediaWiki</a></li>
<li data-parsoid=\'{"dsr":[555,674,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" class="external text" data-parsoid=\'{"dsr":[557,674,86,1]}\'>Traducir MediaWiki a tu idioma</a></li>
<li data-parsoid=\'{"dsr":[675,788,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" class="external text" data-parsoid=\'{"dsr":[677,788,73,1]}\'>Aprende a combatir el spam en tu wiki</a></li></ul></section></body></html>',
'error' => '',
0 => 200,
1 => 'OK',
2 =>
array (
'date' => 'Thu, 22 Oct 2020 21:01:27 GMT',
'server' => 'Apache',
'x-content-type-options' => 'nosniff',
'content-language' => 'es',
'vary' => 'Accept,Accept-Encoding',
'content-revision-id' => '1',
'x-request-id' => '2146eb119a52e0d49857f53c',
'etag' => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
'transfer-encoding' => 'chunked',
'content-type' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"',
'via' => '1.1 alproxy',
),
3 => '<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageId" content="1"/><meta property="mw:pageNamespace" content="0"/><link rel="dc:replaces" resource="mwr:revision/0"/><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"/><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"/><meta property="isMainPage" content="true"/><meta property="mw:html:version" content="2.1.0"/><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"/><title>Página principal</title><base href="http://lapluma.tk/"/><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"/><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"/><meta http-equiv="vary" content="Accept"/></head><body data-parsoid=\'{"dsr":[0,788,0,0]}\' lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><section data-mw-section-id="0" data-parsoid="{}"><p data-parsoid=\'{"dsr":[0,43,0,0]}\'><strong data-parsoid=\'{"stx":"html","dsr":[0,43,8,9]}\'>MediaWiki se ha instalado.</strong></p>
<p data-parsoid=\'{"dsr":[45,186,0,0]}\'>Consulta la <a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" class="external text" data-parsoid=\'{"dsr":[57,128,65,1]}\'>guía</a> para obtener información sobre el uso del software wiki.</p>
</section><section data-mw-section-id="1" data-parsoid="{}"><h2 id="Primeros_pasos" data-parsoid=\'{"dsr":[188,208,2,2]}\'>Primeros pasos</h2>
<ul data-parsoid=\'{"dsr":[209,788,0,0]}\'><li data-parsoid=\'{"dsr":[209,327,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" class="external text" data-parsoid=\'{"dsr":[211,327,81,1]}\'>Lista de ajustes de configuración</a></li>
<li data-parsoid=\'{"dsr":[328,429,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" class="external text" data-parsoid=\'{"dsr":[330,429,62,1]}\'>Preguntas frecuentes sobre MediaWiki</a></li>
<li data-parsoid=\'{"dsr":[430,554,1,0]}\'><a rel="mw:ExtLink" href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" class="external text" data-parsoid=\'{"dsr":[432,554,65,1]}\'>Lista de correo de anuncios de publicación de MediaWiki</a></li>
<li data-parsoid=\'{"dsr":[555,674,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" class="external text" data-parsoid=\'{"dsr":[557,674,86,1]}\'>Traducir MediaWiki a tu idioma</a></li>
<li data-parsoid=\'{"dsr":[675,788,1,0]}\'><a rel="mw:ExtLink" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" class="external text" data-parsoid=\'{"dsr":[677,788,73,1]}\'>Aprende a combatir el spam en tu wiki</a></li></ul></section></body></html>',
4 => '',
)
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: ve: reinflating html
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: parsoid: Request: array (
'method' => 'POST',
'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1',
'body' =>
array (
'html' => '<!doctype html><html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"><meta property="mw:pageId" content="1"><meta property="mw:pageNamespace" content="0"><link rel="dc:replaces" resource="mwr:revision/0"><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"><meta property="isMainPage" content="true"><meta property="mw:html:version" content="2.1.0"><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"><title>Página principal</title><base href="http://lapluma.tk/"><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"><meta http-equiv="vary" content="Accept"></head><body data-parsoid="{"dsr":[0,788,0,0]}" lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><p data-parsoid="{"dsr":[0,43,0,0]}"><strong data-parsoid="{"stx":"html","dsr":[0,43,8,9]}">MediaWiki se ha instalado.</strong></p>
<p data-parsoid="{"dsr":[45,186,0,0]}">Consulta la <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[57,128,65,1]}">guía</a> para obtener información sobre el uso del software wiki. </p>
<h2 id="Primeros_pasos" data-parsoid="{"dsr":[188,208,2,2]}">Primeros pasos</h2>
<ul data-parsoid="{"dsr":[209,788,0,0]}"><li data-parsoid="{"dsr":[209,327,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[211,327,81,1]}">Lista de ajustes de configuración</a></li>
<li data-parsoid="{"dsr":[328,429,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[330,429,62,1]}">Preguntas frecuentes sobre MediaWiki</a></li>
<li data-parsoid="{"dsr":[430,554,1,0]}"><a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[432,554,65,1]}">Lista de correo de anuncios de publicación de MediaWiki</a></li>
<li data-parsoid="{"dsr":[555,674,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[557,674,86,1]}">Traducir MediaWiki a tu idioma</a></li>
<li data-parsoid="{"dsr":[675,788,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[677,788,73,1]}">Aprende a combatir el spam en tu wiki</a></li></ul></body></html>',
'scrub_wikitext' => 1,
),
'headers' =>
array (
'If-Match' => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
'Accept-Language' => 'es',
'User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
),
)
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: validateBody got headers: array (
'Connection' =>
array (
0 => 'close',
),
'X-Ssl-Client-Verify' =>
array (
0 => 'NONE',
),
'X-Ssl' =>
array (
0 => '1',
),
'X-Forwarded-Proto' =>
array (
0 => 'https',
),
'Via' =>
array (
0 => '1.1 alproxy',
),
'Api-User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'Accept-Language' =>
array (
0 => 'es',
),
'Accept' =>
array (
0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
),
'If-Match' =>
array (
0 => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
),
'Host' =>
array (
0 => 'lapluma.tk',
),
)
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: No Content-type header!
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: parsoid transformHandler: Factory, creating handler from html to wikitext
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: parsoid: request: MediaWiki\Rest\RequestFromGlobals::__set_state(array(
'uri' =>
GuzzleHttp\Psr7\Uri::__set_state(array(
'scheme' => '',
'userInfo' => '',
'host' => '',
'port' => NULL,
'path' => '/rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1',
'query' => '',
'fragment' => '',
)),
'protocol' => NULL,
'uploadedFiles' => NULL,
'headerCollection' =>
MediaWiki\Rest\HeaderContainer::__set_state(array(
'headerLists' =>
array (
'Connection' =>
array (
0 => 'close',
),
'X-Ssl-Client-Verify' =>
array (
0 => 'NONE',
),
'X-Ssl' =>
array (
0 => '1',
),
'X-Forwarded-Proto' =>
array (
0 => 'https',
),
'Via' =>
array (
0 => '1.1 alproxy',
),
'Api-User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'Accept-Language' =>
array (
0 => 'es',
),
'Accept' =>
array (
0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
),
'If-Match' =>
array (
0 => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
),
'Host' =>
array (
0 => 'lapluma.tk',
),
),
'headerLines' =>
array (
'Connection' => 'close',
'X-Ssl-Client-Verify' => 'NONE',
'X-Ssl' => '1',
'X-Forwarded-Proto' => 'https',
'Via' => '1.1 alproxy',
'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'Accept-Language' => 'es',
'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
'If-Match' => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
'Host' => 'lapluma.tk',
),
'headerNames' =>
array (
'connection' => 'Connection',
'x-ssl-client-verify' => 'X-Ssl-Client-Verify',
'x-ssl' => 'X-Ssl',
'x-forwarded-proto' => 'X-Forwarded-Proto',
'via' => 'Via',
'api-user-agent' => 'Api-User-Agent',
'user-agent' => 'User-Agent',
'accept-language' => 'Accept-Language',
'accept' => 'Accept',
'if-match' => 'If-Match',
'host' => 'Host',
),
)),
'pathParams' =>
array (
'domain' => 'lapluma.tk',
'from' => 'html',
'format' => 'wikitext',
'title' => 'Página_principal',
'revision' => '1',
),
'cookiePrefix' => 'pony_mediawiki_wiki',
))
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: body:
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < Connection: close
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < X-Ssl: 1
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < Accept-Language: es
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < If-Match: W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: < Host: lapluma.tk
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: parsoid: response: array (
'code' => 415,
'reason' => 'Unsupported Media Type',
'headers' =>
array (
'date' => 'Thu, 22 Oct 2020 21:01:36 GMT',
'server' => 'Apache',
'x-content-type-options' => 'nosniff',
'x-request-id' => '7780c0b24a8968cdf3b2a378',
'transfer-encoding' => 'chunked',
'content-type' => 'application/json',
'via' => '1.1 alproxy',
),
'body' => '{"message":"Unsupported Media Type","httpCode":415,"httpReason":"Unsupported Media Type"}',
'error' => '',
0 => 415,
1 => 'Unsupported Media Type',
2 =>
array (
'date' => 'Thu, 22 Oct 2020 21:01:36 GMT',
'server' => 'Apache',
'x-content-type-options' => 'nosniff',
'x-request-id' => '7780c0b24a8968cdf3b2a378',
'transfer-encoding' => 'chunked',
'content-type' => 'application/json',
'via' => '1.1 alproxy',
),
3 => '{"message":"Unsupported Media Type","httpCode":415,"httpReason":"Unsupported Media Type"}',
4 => '',
)
2020-10-22 21:01:36 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415)
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: ve: reinflating html
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: parsoid: Request: array (
'method' => 'POST',
'url' => '/restbase/local/v1/transform/html/to/wikitext/P%C3%A1gina_principal/1',
'body' =>
array (
'html' => '<!doctype html><html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://lapluma.tk/Special:Redirect/revision/1"><head prefix="mwr: http://lapluma.tk/Special:Redirect/"><meta charset="utf-8"><meta property="mw:pageId" content="1"><meta property="mw:pageNamespace" content="0"><link rel="dc:replaces" resource="mwr:revision/0"><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"><meta property="isMainPage" content="true"><meta property="mw:html:version" content="2.1.0"><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"><title>Página principal</title><base href="http://lapluma.tk/"><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"><meta http-equiv="vary" content="Accept"><meta charset="utf-8"><meta property="mw:pageId" content="1"><meta property="mw:pageNamespace" content="0"><link rel="dc:replaces" resource="mwr:revision/0"><meta property="mw:revisionSHA1" content="b0eff6a96efaaf41890e9e132429ab874a3754ec"><meta property="dc:modified" content="2020-10-20T12:18:50.000Z"><meta property="isMainPage" content="true"><meta property="mw:html:version" content="2.1.0"><link rel="dc:isVersionOf" href="http://lapluma.tk/P%C3%A1gina_principal"><title>Página principal</title><base href="http://lapluma.tk/"><link rel="stylesheet" href="/load.php?modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles%7Cmediawiki.page.gallery.styles%7Cext.cite.style%7Cext.cite.styles&only=styles&skin=vector"><!--[if lt IE 9]><script src="/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements(\'figure-inline\');</script><![endif]--><meta http-equiv="content-language" content="es"><meta http-equiv="vary" content="Accept"></head><body data-parsoid="{"dsr":[0,788,0,0]}" lang="es" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><p data-parsoid="{"dsr":[0,43,0,0]}"><strong data-parsoid="{"stx":"html","dsr":[0,43,8,9]}">MediaWiki se ha instalado.</strong></p>
<p data-parsoid="{"dsr":[45,186,0,0]}">Consulta la <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[57,128,65,1]}">guía</a> para obtener información sobre el uso del software wiki. </p>
<h2 id="Primeros_pasos" data-parsoid="{"dsr":[188,208,2,2]}">Primeros pasos</h2>
<ul data-parsoid="{"dsr":[209,788,0,0]}"><li data-parsoid="{"dsr":[209,327,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[211,327,81,1]}">Lista de ajustes de configuración</a></li>
<li data-parsoid="{"dsr":[328,429,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[330,429,62,1]}">Preguntas frecuentes sobre MediaWiki</a></li>
<li data-parsoid="{"dsr":[430,554,1,0]}"><a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[432,554,65,1]}">Lista de correo de anuncios de publicación de MediaWiki</a></li>
<li data-parsoid="{"dsr":[555,674,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[557,674,86,1]}">Traducir MediaWiki a tu idioma</a></li>
<li data-parsoid="{"dsr":[675,788,1,0]}"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam" rel="mw:ExtLink" class="external text" data-parsoid="{"dsr":[677,788,73,1]}">Aprende a combatir el spam en tu wiki</a></li></ul></body></html>',
'scrub_wikitext' => 1,
),
'headers' =>
array (
'If-Match' => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
'Accept-Language' => 'es',
'User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
),
)
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: MediaWiki\Rest\EntryPoint::execute got router: MediaWiki\Rest\Router
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: validateBody got headers: array (
'Connection' =>
array (
0 => 'close',
),
'X-Ssl-Client-Verify' =>
array (
0 => 'NONE',
),
'X-Ssl' =>
array (
0 => '1',
),
'X-Forwarded-Proto' =>
array (
0 => 'https',
),
'Via' =>
array (
0 => '1.1 alproxy',
),
'Api-User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'Accept-Language' =>
array (
0 => 'es',
),
'Accept' =>
array (
0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
),
'If-Match' =>
array (
0 => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
),
'Host' =>
array (
0 => 'lapluma.tk',
),
)
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: No Content-type header!
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: parsoid transformHandler: Factory, creating handler from html to wikitext
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: parsoid: request: MediaWiki\Rest\RequestFromGlobals::__set_state(array(
'uri' =>
GuzzleHttp\Psr7\Uri::__set_state(array(
'scheme' => '',
'userInfo' => '',
'host' => '',
'port' => NULL,
'path' => '/rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1',
'query' => '',
'fragment' => '',
)),
'protocol' => NULL,
'uploadedFiles' => NULL,
'headerCollection' =>
MediaWiki\Rest\HeaderContainer::__set_state(array(
'headerLists' =>
array (
'Connection' =>
array (
0 => 'close',
),
'X-Ssl-Client-Verify' =>
array (
0 => 'NONE',
),
'X-Ssl' =>
array (
0 => '1',
),
'X-Forwarded-Proto' =>
array (
0 => 'https',
),
'Via' =>
array (
0 => '1.1 alproxy',
),
'Api-User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'User-Agent' =>
array (
0 => 'VisualEditor-MediaWiki/1.35.0',
),
'Accept-Language' =>
array (
0 => 'es',
),
'Accept' =>
array (
0 => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
),
'If-Match' =>
array (
0 => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
),
'Host' =>
array (
0 => 'lapluma.tk',
),
),
'headerLines' =>
array (
'Connection' => 'close',
'X-Ssl-Client-Verify' => 'NONE',
'X-Ssl' => '1',
'X-Forwarded-Proto' => 'https',
'Via' => '1.1 alproxy',
'Api-User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'User-Agent' => 'VisualEditor-MediaWiki/1.35.0',
'Accept-Language' => 'es',
'Accept' => 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',
'If-Match' => 'W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"',
'Host' => 'lapluma.tk',
),
'headerNames' =>
array (
'connection' => 'Connection',
'x-ssl-client-verify' => 'X-Ssl-Client-Verify',
'x-ssl' => 'X-Ssl',
'x-forwarded-proto' => 'X-Forwarded-Proto',
'via' => 'Via',
'api-user-agent' => 'Api-User-Agent',
'user-agent' => 'User-Agent',
'accept-language' => 'Accept-Language',
'accept' => 'Accept',
'if-match' => 'If-Match',
'host' => 'Host',
),
)),
'pathParams' =>
array (
'domain' => 'lapluma.tk',
'from' => 'html',
'format' => 'wikitext',
'title' => 'Página_principal',
'revision' => '1',
),
'cookiePrefix' => 'pony_mediawiki_wiki',
))
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: Got 415:Unsupported Media Type in response to /rest.php/lapluma.tk/v3/transform/html/to/wikitext/P%C3%A1gina_principal/1
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: body:
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < Connection: close
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < X-Ssl-Client-Verify: NONE
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < X-Ssl: 1
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < X-Forwarded-Proto: https
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < Via: 1.1 alproxy
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < Api-User-Agent: VisualEditor-MediaWiki/1.35.0
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < User-Agent: VisualEditor-MediaWiki/1.35.0
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < Accept-Language: es
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < Accept: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < If-Match: W/"1/c14ce63d-14a9-11eb-a83c-ac1f6b445cf0"
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: < Host: lapluma.tk
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: > 0: Content-Type: application/json
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: parsoid: response: array (
'code' => 415,
'reason' => 'Unsupported Media Type',
'headers' =>
array (
'date' => 'Thu, 22 Oct 2020 21:01:37 GMT',
'server' => 'Apache',
'x-content-type-options' => 'nosniff',
'x-request-id' => '2df027d449a21282a5900bbc',
'transfer-encoding' => 'chunked',
'content-type' => 'application/json',
'via' => '1.1 alproxy',
),
'body' => '{"message":"Unsupported Media Type","httpCode":415,"httpReason":"Unsupported Media Type"}',
'error' => '',
0 => 415,
1 => 'Unsupported Media Type',
2 =>
array (
'date' => 'Thu, 22 Oct 2020 21:01:37 GMT',
'server' => 'Apache',
'x-content-type-options' => 'nosniff',
'x-request-id' => '2df027d449a21282a5900bbc',
'transfer-encoding' => 'chunked',
'content-type' => 'application/json',
'via' => '1.1 alproxy',
),
3 => '{"message":"Unsupported Media Type","httpCode":415,"httpReason":"Unsupported Media Type"}',
4 => '',
)
2020-10-22 21:01:37 http7 pony_mediawiki-wiki: ve: got exception: Error contacting the Parsoid/RESTBase server (HTTP 415) |
Well, you are getting farther. I would suggest filing a bug at this point giving as much information as you have. Something is going on with the proxy and I do not know how to fix it.
@MarkAHershberger, something strange that I realized is that when I use http the visual editor does work but when I use https (ssl) the visual editor marks this error when saving the edition
Interesting... Change $wgServer
to https
and see if it works for https edits then.
If it does, then just make the webserver redirect all requests to https.
sorry i meant, the visualeditor 100 % working in url http but in https (ssl) does't work and places this mistake before save the changes
I had the same error here and, despite of the HTTPS redirects, at the end was the lack of "https" in my $wgServer
.
I've notice this by the JSON response of the 415 error message (using inspect).
I've also changfe the $response['code']
to print_r($response,true)
to get the full error data.
./VisualEditor/includes/ApiParsoidTrait.php: [ 'apierror-visualeditor-docserver-http', $response['code'] ]
Experienced same issue, and it was resolved by changing url of website in $wgServer from http to https. Thanks for the hints.
Hello, thankful for all of the efforts and details in this thread! As simple as this may sound, the culprit that I found was semicolon characters in the content ¯\_(ツ)_/¯
I'm running a new installation of MediaWiki 1.35 and I can reproduce this issue just by adding a semicolon to my text in the Visual Editor. When I leave out semicolons, no issue.