Page MenuHomePhabricator

"#formredlink|existing page link text=" converts wikitext format to html tags
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
Example:

existing page link text='''bold''' ''italic''
link text='''bold''' ''italic''

What happens?:
The existing link text shows as <b>bold</b> <i>italic</i>,
while the redlink correctly shows as bold italic

I remeber it was all correct back to a certain version. And it showed original wikitext (the link as '''bold''' instead of bold) as a bug back to another version.

Version: MW1.43.3, Page Forms 6.0.1

Event Timeline

Sorry for the long delay. I don't know if there's a way to fix this. If you want some simple formatting, like making the entire link bold, one option is to wrap the entire #formredlink: call in HTML, like <span style="font-weight: bold;">...

Change #1253487 had a related patch set uploaded (by Dumbledore; author: Dumbledore):

[mediawiki/extensions/PageForms@master] Preserve formatted labels for existing-page #formredlink

https://gerrit.wikimedia.org/r/1253487

Change #1253487 merged by jenkins-bot:

[mediawiki/extensions/PageForms@master] Preserve formatted labels for existing-page #formredlink

https://gerrit.wikimedia.org/r/1253487

Turns out that there was a way to fix it! Thank you, @Dumbledore, for the fix!