Topic on Help talk:What links here

Is there a way to transclude this without the links element?

6
Summary by FeRDNYC

A CSS method was suggested, as well as using Extension:DynamicPageList, which was already available to the user on the wiki in question.

Blinkingline (talkcontribs)

I'd like to transclude the "What Links here" into another page, but when I do so, I end up with something that looks like:


Pagename (← links )


Is there a way to transclude this without including the links bit?

Blinkingline (talkcontribs)

Found it.


Add

.mw-whatlinkshere-tools{

display:none;

}

To Common.css

FeRDNYC (talkcontribs)
Blinkingline (talkcontribs)

Good to know. Thanks!

FeRDNYC (talkcontribs)

As a mention buried in the help page notes, another option for wikis with Extension:DynamicPageList installed (like most Wikia/Fandom sites, for one, but un-like Wikipedia) is to use {{#dpl:linksto = page name}}, which produces a simple list of links.

Blinkingline (talkcontribs)

Perfect. I already have DPL installed, so this will work. Thanks!