Last modified: 2013-04-22 16:14:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40556, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38556 - Add header and footer messages to MediaWiki's info action
Add header and footer messages to MediaWiki's info action
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Madman
: easy
: 38537 (view as bug list)
Depends on:
Blocks: 38450
  Show dependency treegraph
 
Reported: 2012-07-21 22:18 UTC by MZMcBride
Modified: 2013-04-22 16:14 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2012-07-21 22:18:10 UTC
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."
Comment 1 Sam Reed (reedy) 2012-08-19 20:35:31 UTC
https://gerrit.wikimedia.org/r/#/c/17634/ merged
Comment 2 Madman 2012-08-20 18:18:28 UTC
That commit did not add a header or footer. Can this be re-opened? (I don't have permissions.)
Comment 3 Alex Monk 2012-08-20 18:31:09 UTC
REOPENED per request. Can a Bugzilla admin give Madman editbugs please?
Comment 4 Madman 2012-08-21 02:53:24 UTC
*** Bug 38537 has been marked as a duplicate of this bug. ***
Comment 5 MZMcBride 2012-08-21 03:01:41 UTC
(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:

* http://example.com/page_view_stats/enwiki/Barack_Obama
* http://example.com/wikiblame/enwiki/Barack_Obama

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.
Comment 6 MZMcBride 2012-08-27 22:53:24 UTC
Removing patch-in-gerrit keyword for the moment. I don't see a relevant Gerrit link on this bug.
Comment 7 Madman 2012-08-28 01:30:47 UTC
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!
Comment 8 Madman 2012-08-29 15:26:41 UTC
Merged by Siebrand.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links