Moodle Community Sites

Autolinking tracker numbers doesn't work when nummer starts a line

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Component/s: docs.moodle.org
  • Labels:
    None

Description

When putting a tracker issue number in Moodle Docs the autolinking doesn't seem to work when the number is first in a line, see http://docs.moodle.org/en/Sandbox#Tracker_autolinking

Activity

Hide
Helen Foster added a comment -

Frank, thanks for your report.

Reassigning to filters expert Eloy in case there's a quick and easy fix. I don't think it's urgent though, as tracker issue numbers are virtually never written first in a line. Normally a bullet point comes first.

Show
Helen Foster added a comment - Frank, thanks for your report. Reassigning to filters expert Eloy in case there's a quick and easy fix. I don't think it's urgent though, as tracker issue numbers are virtually never written first in a line. Normally a bullet point comes first.
Hide
Frank Ralf added a comment -

Thanks, Helen. You're right, it's not very important or urgent. I only noticed this when Tim added a tracker issue number and it wasn't linked (http://docs.moodle.org/en/index.php?title=Development:Navigation_2.0_implementation_plan&diff=0&oldid=55030).

Show
Frank Ralf added a comment - Thanks, Helen. You're right, it's not very important or urgent. I only noticed this when Tim added a tracker issue number and it wasn't linked (http://docs.moodle.org/en/index.php?title=Development:Navigation_2.0_implementation_plan&diff=0&oldid=55030).
Hide
Eloy Lafuente (stronk7) added a comment -

Fixed, I've updated the mediawiki filter to use the same regular expression than the used in moodle.org (Tim's merit) that supports expressions at new lines and other cool things. Seems to be working now.

So resolving this.... ciao

Show
Eloy Lafuente (stronk7) added a comment - Fixed, I've updated the mediawiki filter to use the same regular expression than the used in moodle.org (Tim's merit) that supports expressions at new lines and other cool things. Seems to be working now. So resolving this.... ciao
Hide
Frank Ralf added a comment -

Thanks, but now the usual linking is broken as Olli pointed out. See example: http://docs.moodle.org/en/Sandbox#Tracker_autolinking

Show
Frank Ralf added a comment - Thanks, but now the usual linking is broken as Olli pointed out. See example: http://docs.moodle.org/en/Sandbox#Tracker_autolinking
Hide
Eloy Lafuente (stronk7) added a comment -

I've fixed Olli example, so existing harcoded urls aren't processed anymore.

But your example, Ralf, I think it never has worked within Moodle Docs at all, because it's a regular mediawiki link, we cannot/must not intercept that at all.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - I've fixed Olli example, so existing harcoded urls aren't processed anymore. But your example, Ralf, I think it never has worked within Moodle Docs at all, because it's a regular mediawiki link, we cannot/must not intercept that at all. Ciao

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: