Last modified: 2013-05-04 05:52:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43512 - Add wikitext bold and italic support to jqueryMsg
Add wikitext bold and italic support to jqueryMsg
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.21.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Matthew Flaschen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-30 09:57 UTC by Matthew Flaschen
Modified: 2013-05-04 05:52 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2012-12-30 09:57:37 UTC
Add bold and italic support to jqueryMsg.
Comment 1 Matthew Flaschen 2013-02-13 02:11:13 UTC
This is referring to '''bold''' and ''italic''.

There is a separate bug (bug 44525) about the HTML regression.
Comment 2 Matthew Flaschen 2013-05-04 05:52:10 UTC
I don't know of a reasonable way to do this with the current jqueryMsg parsing model.  Even for something simple like:

'''bold text'''

'literal' (how regular text is processed) swallows the ending markup (making the whole literal "bold text'''").  Then, of course, the ending markup isn't available to close the bold.

The real problem is that nothing backtracks through the literal later after the first attempt fails.  Thus, after everything else fails, you end up with the whole thing ("'''bold text'''") being treated as a literal.

Other parts of the code work around this deficiency by excluding various characters from normal text (e.g. angle brackets), but I don't think it's really workable to exclude single quote.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links