-
Bug
-
Resolution: Fixed
-
Medium
-
None
The document links are using current_language() producing links like:
http://docs.moodle.org/en_us/question/import (which end up redirecting to the main page)
Is current_language() really what we want/intend? Would it make more sense to use something like get_parent_language to return en instead of en_us? If Moodle Docs is going to support child languages like en_us, then we need to ensure that pages are correctly redirecting.
This came up at the Oklahoma Moot and created a little confusion. I would have expected to be directed to:
http://docs.moodle.org/en/question/import
Do we want the link generated to be en or en_us? If it is en_us, then Docs should redirect automatically to en version if the page does not exist (which may make creating the page more complicated).
Peace - Anthony
- has been marked as being related by
-
MDL-27695 Moodle Docs links need to be fixed to point to correct versions of docs
-
- Closed
-