This script adds Wikidata Q numbers to the titles of all pages connected to Wikidata. To install this script add mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Danski454/wikidata_Qnum.js&action=raw&ctype=text/javascript' ); to either your global.js (for installation on all wikis) or to your common.js (for installation on one wiki). Once you have installed the script, bypass your browser’s cache. The source code is located here.