Moodle Community Sites
  1. Moodle Community Sites
  2. MDLSITE-1312

docs.moodle.org - wrong links in Block 'in other languages' for 1.9

    Details

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

      Description

      Old Moodle docs block 'in other languages' have old links to old locations of 1.9 docs. This link is redirectedto the new 2.0 doc pages and so user get wrong pages.

      Example: http://docs.moodle.org/19/en/Adding/editing_a_hotpot shows a link to http://docs.moodle.org/de/HotPot-Test_anlegen. It should be http://docs.moodle.org/19/de/HotPot-Test_anlegen.

      The same happens for all other languages.

      Is there an option to change these old links by a script?

        Gliffy Diagrams

          Issue Links

            Activity

            Ralf Hilgenstock created issue -
            Hide
            Helen Foster added a comment -

            Ralf, thanks for your report. I've added Jordan as a watcher hoping he has a clever idea.

            Show
            Helen Foster added a comment - Ralf, thanks for your report. I've added Jordan as a watcher hoping he has a clever idea.
            Helen Foster made changes -
            Field Original Value New Value
            Assignee Helen Foster [ tsala ] moodle.com [ moodle.com ]
            Hide
            Jordan Tomkinson added a comment -

            Adding Martin as a watcher

            Show
            Jordan Tomkinson added a comment - Adding Martin as a watcher
            Hide
            Martin Dougiamas added a comment -

            I have two thoughts on this ...

            Firstly, the inter-language links are of limited use, as the pages that are linked are rarely equivalent (edits on ones are only sometimes reflected in the other). They are also very manual and impossible to rely on. I would tend towards not even using this functionality much.

            Secondly, f we do want to keep using the links, then we need to decide between two options:

            1) An interlanguage link from lang A to lang B will go to the latest possible version of lang B (what it currently does).

            2) An interlanguage link from lang A to lang B will go to the same version of lang B (if possible) but if that doesn't exist, then it will redirect to the most recent version of lang B before that. eg en:2.1 -> fr:2.1 -> fr:1.9

            Thoughts?

            Show
            Martin Dougiamas added a comment - I have two thoughts on this ... Firstly, the inter-language links are of limited use, as the pages that are linked are rarely equivalent (edits on ones are only sometimes reflected in the other). They are also very manual and impossible to rely on. I would tend towards not even using this functionality much. Secondly, f we do want to keep using the links, then we need to decide between two options: 1) An interlanguage link from lang A to lang B will go to the latest possible version of lang B (what it currently does). 2) An interlanguage link from lang A to lang B will go to the same version of lang B (if possible) but if that doesn't exist, then it will redirect to the most recent version of lang B before that. eg en:2.1 -> fr:2.1 -> fr:1.9 Thoughts?
            Hide
            Ralf Hilgenstock added a comment -

            Hello Martin,

            we expect that docs for Version 1.x will be in use for a longer time. I think most updates will be done in 2012. If we see how long old versions from 1.x are in use we don' think it will be different with a 2.x update.

            So I suggest option 2 as the better way.

            Ralf

            Show
            Ralf Hilgenstock added a comment - Hello Martin, we expect that docs for Version 1.x will be in use for a longer time. I think most updates will be done in 2012. If we see how long old versions from 1.x are in use we don' think it will be different with a 2.x update. So I suggest option 2 as the better way. Ralf
            Hide
            Jordan Tomkinson added a comment -

            Option 2 is not possible as there is no way to detect if the page exists. Mediawiki returns HTTP 200 for both existing and non existing wiki entries.

            Show
            Jordan Tomkinson added a comment - Option 2 is not possible as there is no way to detect if the page exists. Mediawiki returns HTTP 200 for both existing and non existing wiki entries.
            Jordan Tomkinson made changes -
            Link This issue is a clone of MDLSITE-1369 [ MDLSITE-1369 ]
            Jordan Tomkinson made changes -
            Link This issue will be resolved by MDLSITE-1369 [ MDLSITE-1369 ]
            Jordan Tomkinson made changes -
            Link This issue is a clone of MDLSITE-1369 [ MDLSITE-1369 ]
            Hide
            Séverin Terrier added a comment -

            Unlike Martin, i think that inter-language links ARE useful, it allows (as example) to:

            • go directly from the french version to the equivalent english one (for people reading it) which can be more uptodate and complete
            • going from english version to french one (for people not reading english, and there are lots)
            • facilitate the work for people contributing to non english documentation versions, using english version and translating it (one people can create links, and let others do translations)

            Option 2 not possible, i think that :

            • links should be made to the same version of the doc (in other langages), better than the last one (at least for 1.9 docs, that's the subject of this MDLSITE-1312)
            Show
            Séverin Terrier added a comment - Unlike Martin, i think that inter-language links ARE useful, it allows (as example) to: go directly from the french version to the equivalent english one (for people reading it) which can be more uptodate and complete going from english version to french one (for people not reading english, and there are lots) facilitate the work for people contributing to non english documentation versions, using english version and translating it (one people can create links, and let others do translations) Option 2 not possible, i think that : links should be made to the same version of the doc (in other langages), better than the last one (at least for 1.9 docs, that's the subject of this MDLSITE-1312 )
            Martin Dougiamas made changes -
            Workflow jira [ 97818 ] SITES Full Workflow [ 125340 ]
            Helen Foster made changes -
            Workflow SITES Full Workflow [ 125340 ] SITES workflow plus [ 135017 ]

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development