Edgewall Software
Modify

Opened 8 years ago

Closed 5 years ago

#10442 closed enhancement (fixed)

change editor buttons to new syntax

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Milestone: 1.1.3
Component: wiki system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Use some of the more common WikiCreole style markup in the wiki editor toolbar.

API Changes:

Description

Please change the editor bottons to the new syntax as it is much better readable.

Thanks for your work. Colliar

Attachments (0)

Change History (14)

comment:1 by Remy Blank, 8 years ago

Could you please be more specific? Which buttons, which syntax? Where?

comment:2 by Thijs Triemstra, 8 years ago

Keywords: needinfo added

comment:3 by Christian Boos, 8 years ago

Component: generalwiki system
Milestone: next-major-0.1X
Owner: set to Christian Boos
Release Notes: modified (diff)
Summary: change editor bottons to new syntaxchange editor buttons to new syntax

I believe he's talking about the wiki toolbar, and the new syntax must be the WikiCreole compatible one.

  • B ⇒ **...**
  • I ⇒ //...//
  • A ⇒ == ...
  • globe ⇒ [[link|text]]
  • carriage return ⇒ \\

In addition, the image link could insert [[Image?()] instead of just [[Image()].

comment:4 by Remy Blank, 8 years ago

Release Notes: modified (diff)

Played around in the "Release Notes" field, did you? ;)

in reply to:  3 comment:5 by anonymous, 8 years ago

Replying to cboos:

I believe he's talking about the wiki toolbar, and the new syntax must be the WikiCreole compatible one.

  • B ⇒ **...**
  • I ⇒ //...//
  • A ⇒ == ...
  • globe ⇒ [[link|text]]
  • carriage return ⇒ \\

In addition, the image link could insert [[Image?()] instead of just [[Image()].

Yes, that is exactly what I was talking about.

Thanks Colliar

comment:6 by anonymous, 8 years ago

Keywords: needinfo removed

deleting needinfo asinfo was submitted

comment:7 by Ryan J Ollos, 6 years ago

Milestone: next-major-releases1.1.3

comment:8 by Ryan J Ollos, 5 years ago

Owner: changed from Christian Boos to Ryan J Ollos
Status: newassigned

in reply to:  3 ; comment:9 by Ryan J Ollos, 5 years ago

Replying to cboos:

I believe he's talking about the wiki toolbar, and the new syntax must be the WikiCreole compatible one.

  • B ⇒ **...**
  • I ⇒ //...//
  • A ⇒ == ...
  • globe ⇒ [[link|text]]
  • carriage return ⇒ \\

Is the Wikipedia style deprecated (or at least recommended against) in favor or WikiCreole style? If not, then I wonder if we should make Wikipedia vs WikiCreole style to be a user preference. I don't want to overcomplicate the implementation and I'd rather just convert and be done with it, but I wonder if some users prefer the Wikipedia style and might not favor the change.

In addition, the image link could insert [[Image?()] instead of just [[Image()].

That seemed like a good idea, but when I tested it out I found that a lot of documentation was output into the page and the behavior may be unexpected. If the documentation was more concise it might not be so unexpected.

in reply to:  9 ; comment:10 by Peter Suter, 5 years ago

Replying to rjollos:

Is the Wikipedia style deprecated (or at least recommended against) in favor or WikiCreole style? If not, then I wonder if we should make Wikipedia vs WikiCreole style to be a user preference. I don't want to overcomplicate the implementation and I'd rather just convert and be done with it, but I wonder if some users prefer the Wikipedia style and might not favor the change.

I don't think Wikipedia (MediaWiki) style is deprecated. (What's the difference to MoinMoin style? #6062, #1424)

Popular opinion nowadays seems to be that MarkDown has "won" (#2702), so spending too much effort on the "MediaWiki vs WikiCreole" question seems a bit pointless, but:

MediaWiki '''bold''' ''italic'' = Heading = [url text] <br/>
MoinMoin '''bold''' ''italic'' = Heading = [[url|text]] <<BR>>
WikiCreole **bold** //italic// = Heading [[url|text]] \\
MarkDown **bold** *italic* # Heading [text](url) <br/>

Personally I prefer a mix of **bold**, ''italic'', = Heading, [url text] and (rarely) \\.

in reply to:  10 ; comment:11 by Christian Boos, 5 years ago

Replying to psuter:

Personally I prefer a mix of **bold**, ''italic'', = Heading, [url text] and (rarely) \\.

I also tend to favor this set. Why not take these as a hint that Trac is not picky about mixing "styles"?

in reply to:  11 comment:12 by Ryan J Ollos, 5 years ago

Replying to cboos:

Replying to psuter:

Personally I prefer a mix of **bold**, ''italic'', = Heading, [url text] and (rarely) \\.

I also tend to favor this set. Why not take these as a hint that Trac is not picky about mixing "styles"?

Sounds good. That's the set I typically use as well, except [[BR]] over \\ out of habit. '' for italics seems to give me fewer problems than // in practice, when my wrapped text often uses /.

comment:13 by Ryan J Ollos, 5 years ago

Proposed changes in log:rjollos.git:t10442. The trailing line-break was removed from the heading line because the user is most-likely going to press return after entering the heading text, rather than navigating out of the line using the arrow keys, which was likely the case when the heading text had markup to the right.

comment:14 by Ryan J Ollos, 5 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to trunk in [13343].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.