Moodle Community Sites

Autodiscovery of search plugins doesn't work (wrong link)

Details

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

Description

Problem:
If you go to any of the English Moodle Docs pages the Firefox search bar will offer you to install a search plugin named "MoodleDocs (English)". However, if you proceed you will get an error message.

Solution:
The link tag in the head section of the web page looks like this:

<link rel="search" type="application/opensearchdescription+xml" href="/en/opensearch_desc.php" title="MoodleDocs (English)" />

However, the href attribute points to a non existent PHP page ("opensearch_desc.php") instead of to the XML file of the plugin (see https://developer.mozilla.org/en/Creating_OpenSearch_plugins_for_Firefox#Autodiscovery_of_search_plugins).

This and other plugins can be found at http://mycroft.mozdev.org/search-engines.html?name=moodle for integrating them in the respective web pages.

Kind regards,
Frank

Issue Links

Activity

Hide
Frank Ralf added a comment -

The necessary link tag proposed in MDLSITE-626 is already in place, but points to the wrong file on the server.

Show
Frank Ralf added a comment - The necessary link tag proposed in MDLSITE-626 is already in place, but points to the wrong file on the server.
Hide
Helen Foster added a comment -

Frank, thanks for reporting this issue. Reassigning to moodle.com and hoping someone can fix the problem.

Show
Helen Foster added a comment - Frank, thanks for reporting this issue. Reassigning to moodle.com and hoping someone can fix the problem.
Hide
Helen Foster added a comment -

Reassigning to Jordan and hoping he can fix this Moodle Docs search as he did for the tracker.

Show
Helen Foster added a comment - Reassigning to Jordan and hoping he can fix this Moodle Docs search as he did for the tracker.
Hide
Jordan Tomkinson added a comment -

Opensearch now working for all langs & versions on Moodle Docs

Show
Jordan Tomkinson added a comment - Opensearch now working for all langs & versions on Moodle Docs
Hide
Helen Foster added a comment -

Thanks a lot Jordan, the 2.0 and other lang searches work perfectly, however I can't get the search to work for the dev docs or the 1.9 docs. Am I missing something?

Show
Helen Foster added a comment - Thanks a lot Jordan, the 2.0 and other lang searches work perfectly, however I can't get the search to work for the dev docs or the 1.9 docs. Am I missing something?
Hide
Jordan Tomkinson added a comment -

Fixed, the issue was with the link title, which now reflects version & lang e.g "MoodleDocs 2.0 (English)"

Show
Jordan Tomkinson added a comment - Fixed, the issue was with the link title, which now reflects version & lang e.g "MoodleDocs 2.0 (English)"
Hide
Helen Foster added a comment -

Brilliant, thanks Jordan! All wiki searches working perfectly now.

Show
Helen Foster added a comment - Brilliant, thanks Jordan! All wiki searches working perfectly now.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: