#13310: `:trac:` links are broken
---------------------------------+------------------------------------------
Reporter: ppurka | Owner: mvngu
Type: defect | Status: positive_review
Priority: major | Milestone: sage-5.3
Component: documentation | Resolution:
Keywords: trac keyword | Work issues:
Report Upstream: N/A | Reviewers: Punarbasu Purkayastha
Authors: John Palmieri | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Old description:
> Two issues:
> 1. The use of {{{:trac:`<number>`}}} is broken on the command line. The
> second link below shouldn't repeat the ticket number of the first one
> {{{
> sage: integral?
> <removed earlier text>
> TESTS:
>
> A symbolic integral from http://trac.sagemath.org/11445 that was
> incorrect in earlier versions of Maxima:
>
> sage: f = abs(x - 1) + abs(x + 1) - 2*abs(x)
> sage: integrate(f, (x, -Infinity, Infinity))
> 2
>
> Another symbolic integral, from http://trac.sagemath.org/11445,
> that used to return zero incorrectly:
>
> sage: f = exp(-x) * sinh(sqrt(x))
> sage: integrate(f, x, 0, Infinity)
> 1/2*sqrt(pi)*e^(1/4)
> }}}
> 2. [https://github.com/sagemath/sagenb/issues/90 reported upstream]. The
> link in the notebook is actually correct (that is I get the correct
> ticket number in the second URL), but it should open the documentation in
> a ''new tab''. Otherwise, there is a huge potential of someone losing all
> their work just because they forgot to shift-click or something.
>
> #13116 fixed trac tickets in docstrings for command line, but I think it
> wasn't fixed properly. The problem exists at least as far back as
> sage-5.1.rc0.
>
> ----
> Apply [attachment:trac_13310-trac.pach]
New description:
Two issues:
1. The use of {{{:trac:`<number>`}}} is broken on the command line. The
second link below shouldn't repeat the ticket number of the first one
{{{
sage: integral?
<removed earlier text>
TESTS:
A symbolic integral from http://trac.sagemath.org/11445 that was
incorrect in earlier versions of Maxima:
sage: f = abs(x - 1) + abs(x + 1) - 2*abs(x)
sage: integrate(f, (x, -Infinity, Infinity))
2
Another symbolic integral, from http://trac.sagemath.org/11445,
that used to return zero incorrectly:
sage: f = exp(-x) * sinh(sqrt(x))
sage: integrate(f, x, 0, Infinity)
1/2*sqrt(pi)*e^(1/4)
}}}
2. [https://github.com/sagemath/sagenb/issues/90 reported upstream]. The
link in the notebook is actually correct (that is I get the correct ticket
number in the second URL), but it should open the documentation in a ''new
tab''. Otherwise, there is a huge potential of someone losing all their
work just because they forgot to shift-click or something.
#13116 fixed trac tickets in docstrings for command line, but I think it
wasn't fixed properly. The problem exists at least as far back as
sage-5.1.rc0.
----
Apply [attachment:trac_13310-trac.patch]
--
Comment (by jhpalmieri):
It shouldn't be a problem, but just in case...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13310#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.