You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links that work
=============
This is a `hyperlink with included target <WikiLink>`_.
This is a `hyperlink to an explicit target`_.
.. _hyperlink to an explicit target: WikiLink
This is an `anonymous hyperlink to an explicit target`_.
__ WikiLink
This is a link to an implicit target: `links that work`_.
All these links work in standard rST
Now the failing example: A link to a different WikiPage without explicit or embedded target.
This works in the "old" MoinMoin but fails in Moin2:
Here is a link to a MoinMoin page named SecondPage_.
It seems that a part of the underlying code was transferred to moin2: see the visit_reference() function
However, this code is never reached, as Docutils checks for references without targets earlier (in a "transform") and creates a "system message" describing the problem (With Docutils and Sphinx, the system message is inserted into the output, in moin2 it seems to be shown in the log only.)
If continued support for simple WikiLinks_ is planned, moin2 would need to
define a "resolver" function and register it in the "unknown_references_resolvers" hook,
It seems like "simple" links to different Wiki pages fail in text parts written in rST:
Working examples: links with targed specified in rST
(cf. https://moin-20.readthedocs.io/en/latest/user/rest.html#hyperlinks).
All these links work in standard rST
Now the failing example: A link to a different WikiPage without explicit or embedded target.
This works in the "old" MoinMoin but fails in Moin2:
Details:
It seems that a part of the underlying code was transferred to moin2: see the visit_reference() function
However, this code is never reached, as Docutils checks for references without targets earlier (in a "transform") and creates a "system message" describing the problem (With Docutils and Sphinx, the system message is inserted into the output, in moin2 it seems to be shown in the log only.)
If continued support for simple WikiLinks_ is planned, moin2 would need to
The text was updated successfully, but these errors were encountered: