Content-Length: 63202 | pFad | http://phabricator.wikimedia.org/T243857

s ⚓ T243857 Allow paragraphs in references (Cite.php)
Page MenuHomePhabricator

Allow paragraphs in references (Cite.php)
Closed, DuplicatePublic

Description

I would like to be able to have long texts including paragraphs in footnotes. But the function referenceText in Cite.php removes all line breaks using rtrim( $text, "\n" ).

Would it be possible to skip this function through an option, a hook or anything?

Event Timeline

Hi @Jiou7, thanks for taking the time to report this and welcome to Wikimedia Phabricator!
This request is not about Requests for new MediaWiki extensions, hence removing MediaWiki-extension-requests.

See also T49544,

<p> ... </p>

Inside a span is as I understood it bad nesting per HTML rules as I understood it, hence stripping the P tags might be necessary to help ensure well formed code?









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://phabricator.wikimedia.org/T243857

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy