Topic on Template talk:Extension

Samwilson (talkcontribs)

Should we add a link to the extension's help page (at Help:Extension:Foo) if that page exists, perhaps above the 'Example' row?

Jdforrester (WMF) (talkcontribs)

Perhaps? Mostly those links should be inside the main extension page's list of useful links, but it probably won't detract too much from the rest of the information in the box.

Samwilson (talkcontribs)

Yeah, I agree, the help pages should be linked in the main text too, but I feel like it'd also be useful to find them in the same place on every extension — similar to how Phabricator links are always at top right.

Samwilson (talkcontribs)
Kghbln (talkcontribs)

Currently a link to a help page is created unconditionally, i.e. every extension gets it even if there is no help page. Perhaps an ifexist check should be added to help the cause. This line is only needed if there is a help page available.

Samwilson (talkcontribs)

@Kghbln: Yes, good idea; done (also allowing the help param).

Kghbln (talkcontribs)

@Samwilson Looks good to me now. Thanks a lot. PS Admittedly yesterday I somehow overlooked your initial diff. Too late in the evening I guess.