Is someone aware of e.g. a browser or Mediawiki userscript that gives a link to the current revision (e.g. https://en.wikipedia.org/w/index.php?title=Polemic&oldid=1223303279)?

I rely on it when making long-term references to Wikipedia.

2 Answers 2


All pages on Wikipedia have a link in the sidebar, "Permanent link" that does exactly what you are asking for.

enter image description here

  • By the way, how do you enable that content assessment label "A start-class article"?
    – Dongchen
    Commented Jul 4 at 0:38
  • In your preferences on the gadgets tab, you can activate "Display an assessment of an article's quality in its page header" en.wikipedia.org/wiki/…
    – Ainali
    Commented Jul 5 at 5:50

The API call https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Polemic&rvslots=*&rvprop=ids

will return a JSON like this:

    "batchcomplete": "",
    "query": {
        "pages": {
            "385549": {
                "pageid": 385549,
                "ns": 0,
                "title": "Polemic",
                "revisions": [
                        "revid": 1223303279,
                        "parentid": 1217661719

json.query.pages[ pageid ].revisions.revid will contain revision identifier. Prepend https://en.wikipedia.org/w/index.php?title=Polemic&oldid=.

  • Thanks! I will now make a bookmarklet.
    – Dongchen
    Commented Jul 3 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.