Last modified: 2011-04-01 10:43:22 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 T26587, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24587 - {{DISPLAYTITLE: ... }} not honored.
{{DISPLAYTITLE: ... }} not honored.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.16.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-29 15:26 UTC by Purodha Blissenbach
Modified: 2011-04-01 10:43 UTC (History)
6 users (show)

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


Attachments

Description Purodha Blissenbach 2010-07-29 15:26:35 UTC
I tried to use {{DISPLAYTITLE: ... }} for a test of its behaviour,
i.e. without wanting to safe a page, in the English Wikipedia.

Inserting {{DISPLAYTITLE: ... }} in an arbitrary page and
inspecting it's preview did not achieve anything.

Assuming that, DISPLAYTITLE might only be working when an
existig page is rendered, I inserted it in the page Wikipedia:Sandbox
but found, it influences neither the preview not the saved version
of the page.

I suggest that, also page preview should honor {{DISPLAYTITLE: ... }}
Comment 1 Sam Reed (reedy) 2010-07-29 15:28:31 UTC
WFM on my dev wiki
Comment 2 Roan Kattouw 2010-08-04 10:12:03 UTC
Which display title did you try on which page? enwiki has $wgRestrictDisplayTitle = true; set, which means you can only use display titles that normalize to the actual title. So {{DISPLAYTITLE:iPod}} works on [[IPod]] because [[iPod]] also links to [[IPod]] after normalization, and {{DISPLAYTITLE:WiKiPeDiA:sandbox}} should work on [[Wikipedia:Sandbox]] because [[WiKiPeDiA:sandbox]] links to [[Wikipedia:Sandbox]] after normalization, but {{DISPLAYTITLE:Foobar}} or even {{DISPLAYTITLE:Wikipedia:SAndbox}} will not work on [[Wikipedia:Sandbox]] unless unrestricted display titles are enabled.
Comment 3 p858snake 2010-08-04 10:29:41 UTC
Have you turned on displaytitle so that it an work?
Comment 4 Roan Kattouw 2010-08-04 10:30:35 UTC
(In reply to comment #3)
> Have you turned on displaytitle so that it an work?
The bug is being reported against enwiki, not his own wiki, so yes, displaytitle is enabled.
Comment 5 onecountry 2010-08-11 00:30:35 UTC

*** This bug has been marked as a duplicate of bug 24342 ***
Comment 6 Purodha Blissenbach 2010-08-11 01:19:08 UTC
(In reply to comment #5)
> 
> *** This bug has been marked as a duplicate of bug 24342 ***

(In reply to comment #7)
> *** Bug 24587 has been marked as a duplicate of this bug. ***

Bug 24342 may be related but isn't a true duplicate of this bug: Other versions involved, and behaviours differ. Bug 24342 says, previews were honoring DISPLAYTITLE, while this bug says, they weren't.
Comment 7 Bawolff (Brian Wolff) 2010-08-11 01:39:04 UTC
Purodha Blissenbach: I tested this on en wikipedia, and it seems to work for me. I'm not exactly sure what you did, here's what I did:

*went to http://en.wikipedia.org/w/index.php?title=Fooe&action=edit (random non-existant page)
*wrote: {{DISPLAYTITLE:f<span style="color:aqua">o</span>''o''e}} on the page
*Hit preview.

Observed behaviour was that the displayed title was as i specified (as expected). Is there anything different you did in your test?
Comment 8 Larsen 2011-04-01 09:31:01 UTC
I can reproduce this bug:
1. Start editing a new page "Test"
2. Insert {{DISPLAYTITLE:this will not be displayed}}
3. Click on "Show preview"
--> Title is "Test" instead of "this will not be displayed"

Tested with my own wiki:
- MediaWiki 1.16.2
- $wgAllowDisplayTitle = true;
- $wgRestrictDisplayTitle = false;

After saving, the correct title is displayed.


@Purodha: What exactly did you try? Which title did you use?
Comment 9 p858snake 2011-04-01 09:33:58 UTC
Larsen: you are running 1.16.2 compared to 1.17 which is what en.wikip is running....

This might of been fixed by the recent updates to 1.17
Comment 10 Larsen 2011-04-01 10:42:05 UTC
You´re right: Just installed 1.18 (phase3-nightly-r85104.tar.gz) in a VM and the bug I noticed is fixed in that version.
Comment 11 p858snake 2011-04-01 10:43:22 UTC
well then, FIXED it is

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


Navigation
Links