Page MenuHomePhabricator

Add header and footer messages to MediaWiki's info action
Closed, ResolvedPublic

Description

There should be header and footer messages for MediaWiki's info action. These can be blank by default, though it may make sense to have some standard text for the header. Something along the lines of "This is an overview about the specified page title."


Version: unspecified
Severity: normal

Details

Reference
bz38556

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:53 AM
bzimport set Reference to bz38556.

madman.enwiki wrote:

That commit did not add a header or footer. Can this be re-opened? (I don't have permissions.)

REOPENED per request. Can a Bugzilla admin give Madman editbugs please?

madman.enwiki wrote:

*** Bug 38537 has been marked as a duplicate of this bug. ***

(In reply to comment #4)

  • Bug 38537 has been marked as a duplicate of this bug. ***

Just want to make sure this part of the feature request doesn't get lost from bug 38537:


[...]
preferably with the ability to pass the page title in those links.

For example, with ?title=Barack_Obama&action=info, you might have an external
links section that includes:

This can be implemented with $1 variables that can be substituted in a
MediaWiki message or perhaps with magic words such as {{PAGENAME}} or
{{FULLPAGENAMEE}} or whatever. I'm not sure if magic words currently work with

?action=info.

Since the title is being passed cleanly (there's no Special page prefix or anything), I don't think getting {{FULLPAGENAME}} and other magic words to work as expected should be much trouble. That would be the simplest and sanest solution, I think, rather than using numbered variables (such as $1) as some other MediaWiki messages do.

Removing patch-in-gerrit keyword for the moment. I don't see a relevant Gerrit link on this bug.

madman.enwiki wrote:

Sorry, should have linked https://gerrit.wikimedia.org/r/#/c/21598/.

Incidentally, tested with an external links section in the footer and magic words worked perfectly. Yay for sane defaults!

madman.enwiki wrote:

Merged by Siebrand.