Wikipedia

Some of the information in this section may be outdated.

Quick walk-through: require("page-modes/wikipedia.js");

The didyoumean? module

For people not that great with spelling, there's the wikipedia-didyoumean.js module. The module works by checking whether the user is at the "article not found" page on any Wikipedia and looks for the "did you mean" box. If the "did you mean" tip is available, it immediately follows the tip. This works infinitely, so it will keep following the tip until it gets to an article that exists or until no more tips are available. If there are no tips available, but the search matched the text in any article on Wikipedia, it immediately goes to that article.

Example:

The user tries to access an article on "hahahoho".

There is no such article, but the didyoumean tip asks "Did you mean: hahaha", so Conkeror tries to access "hahaha".

There is no such article, and no didyoumean tip. The first match in the search results is "Haha".

Conkeror goes to "Haha".

To use this functionality, add this to your rc file:

require("wikipedia-didyoumean.js");

This works quite well in conjunction with the Wikipedia webjumps. Writing e.g. "en bruse sprengstien" jumps all the way to the English Wikipedia article on Bruce Springsteen.