https://bugzilla.wikimedia.org/show_bug.cgi?id=63613

            Bug ID: 63613
           Summary: links from template not displayed
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: gwi...@wikimedia.org
          Reporter: ric...@nakts.net
                CC: jforres...@wikimedia.org, ssas...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

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 "-//IETF//DTD 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to