Skip to content

brynne8/RecomWP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

RecomWP

Wikipedia Recommendation System

The repo is still in alpha stage. Only for Chinese Wikipedia currently.

Usage

For unregistered Wikipedia users / Wikipedia readers

Download addon Tampermonkey Firefox / Chrome

Just open RecomWP.user.js file and install it with your favorite user script manager. The script is also available on Greasy Fork.

Open Wikipedia home page and check what changed

A new link appeared and that's the link to RecomWP. You should first open some articles that you like and then you will get the Recommeded articles base on the articles you visited.

default

For Wikipedia users

Of course you can use the method above, there's another option. You can simply add one line to your common.js

importScript('User:Alexander Misel/test2.js');

And you will see the same things as above.

Contribution

The RecomWP is self-contained and so it doesn't rely on other libraries, so you'd better not using other libraries if it isn't so necessary. Your browser should support IndexedDB. Pull requests and issues are welcomed. I used a Binary Heap to sort the entries.

Your code should work in the following three situations before you submit a PR:

  1. Normal setting for Wikipedia users by importing script in common.js
  2. Tampermonkey userscript with jQuery enabled
  3. Tampermonkey userscript with jQuery disabled (block jQuery by rule *.wikipedia.org/*jquery*$script, see WikipediaWithoutJquery )

About

Wikipedia Recommendation System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published