Author: richlv
Description:
if a link is coming from a template, it does not show up when editing the page in visual editor.
testcase :
https://www.zabbix.org/wiki/Docs/visual_editor_test
in the editing mode link text is not displayed.
(if creating an account to test, real name is mandatory)
used template : https://www.zabbix.org/wiki/Template:ZBXNEXT
node.js log contains :
starting parsing of localhost:Docs/visual_editor_test
<!DOCTYPE HTML PUBLIC "-IETFDTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://www.zabbix.org/mw/api.php">here</a>.</p>
<hr>
<address>Apache/2.2.22 (Linux/SUSE) Server at localhost Port 80</address>
</body></html>
error in localhost:Docs/visual_editor_test: Template Expansion failure for "{{ZBX|1}}": 301
Stack:
PreprocessorRequest._handleJSON (/home/root-rich/files/parsoid/lib/mediawiki.ApiRequest.js:415:12) PreprocessorRequest.ApiRequest._handleBody (/home/root-rich/files/parsoid/lib/mediawiki.ApiRequest.js:189:8) PreprocessorRequest.ApiRequest._requestCB (/home/root-rich/files/parsoid/lib/mediawiki.ApiRequest.js:166:8) Request.self.callback (/home/root-rich/files/parsoid/node_modules/request/request.js:129:22) Request.EventEmitter.emit (events.js:98:17) Request.<anonymous> (/home/root-rich/files/parsoid/node_modules/request/request.js:873:14) Request.EventEmitter.emit (events.js:117:20) IncomingMessage.<anonymous> (/home/root-rich/files/parsoid/node_modules/request/request.js:824:12)
completed parsing of localhost:Docs/visual_editor_test in 3316 ms
Version: unspecified
Severity: normal