User talk:Dispenser/Checklinks

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Wrong rtl languages[edit] thinks that Hungarian is right-to-left. In fact, it’s as left-to-right as it can be (uses Latin script, just like English). Probably you’ve meant Hebrew (he), which uses its own right-to-left script. It’s quite inconvenient to read Hungarian from right to left, so please fix it. Thanks in advance, —Tacsipacsi (talk) 20:21, 1 June 2018 (UTC)

Still wrong. —Tacsipacsi (talk) 10:33, 31 August 2018 (UTC)


Can I add this tool to my tools on left side of the Wikipedia user interface through common.js? --Hanyangprofessor2 (talk) 08:19, 24 October 2018 (UTC)

@Hanyangprofessor2: Yes you can. See User:Smartse/vector.js and copy this part (not sure whether the line breaks make a difference):
function linkcheck(){addPortletLink("p-tb", "" + wgPageName, "Check Links");}
SmartSE (talk) 13:23, 16 November 2018 (UTC)
Your script is very out-of-date, and it will break sooner or later (it’s already kinda broken because of the warning on the second page redirect after each toolbox click). The full, working, future-proof version is the following:
function linkcheck() {
	mw.util.addPortletLink("p-tb", "" + mw.config.get("wgPageName"), "Check Links");

if (mw.config.get("wgNamespaceNumber") === 0) {
(all whitespace in this code is entirely optional, except for the space after function). —Tacsipacsi (talk) 00:02, 17 November 2018 (UTC)