Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50675

Wikimedia repository - thumbnails broken

    XMLWordPrintable

Details

    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • wip-mdl-50675
    • Hide

      Test old wiki images.

      1. Have a old site where you added images from wikimedia (as links/copy).
      2. Upgrade and make sure it works.

      Test with new images

      1. Create a new forum post which shows ATTO
      2. Click the icon for adding an image
      3. browse repositories
      4. click Wikimedia
      5. put anything you like in the search box and search
      6. Ensure images appear fine.
      7. Add image and ensure it gets added properly.
      Show
      Test old wiki images. Have a old site where you added images from wikimedia (as links/copy). Upgrade and make sure it works. Test with new images Create a new forum post which shows ATTO Click the icon for adding an image browse repositories click Wikimedia put anything you like in the search box and search Ensure images appear fine. Add image and ensure it gets added properly.

    Description

      You can actually try this on the moodle.org site. It's broken there too!

      • Create anything that displays the HTML editor (e.g. a label or forum post)
      • click the icon for adding an image
      • browse repositories
      • click Wikimedia
      • put anything you like in the search box and search
      • images appear as broken image placeholders

      Note that it still works in that it does place the full image in the page if you carry on regardless.

      If you run the javascript console then lots of errors are thrown, e.g.,

      Failed to load resource: the server responded with a status of 404 (Not Found)
      https://upload.wikimedia.org/wikipedia/commons/thumb/https://upload.wikimedRio_BlancoSan_Mateo.jpg/120px-FCCA_GE_C30-7_Rio_Blanco_San_Mateo.jpg Failed to load resource: the server responded with a status of 404 (Not Found)

      Note that the URL is deformed. Has the API changed recently

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              howardsmiller Howard Miller
              Jetha Chan Jetha Chan
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ankit Agarwal Ankit Agarwal
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6/Jul/15