Last modified: 2010-05-15 14:35:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 267 - Entering {{...}} as the title causes a page rendering error
Entering {{...}} as the title causes a page rendering error
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.wikipedia.org/wiki/{{stub}}
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-01 14:16 UTC by Faraaz Damji
Modified: 2010-05-15 14:35 UTC (History)
0 users

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


Attachments

Description Faraaz Damji 2004-09-01 14:16:31 UTC
Entering {{...}} as the title of a Wikipedia page causes the software to put in
the actual template in inappropriate rather than displaying {{ and }} as the
title.  The following URLs illustrate the error:

http://www.wikipedia.org/wiki/{{stub}}
http://en.wikipedia.org/wiki/{{stub}}
http://en.wikipedia.org/w/wiki.phtml?title={{stub}}
http://fr.wikipedia.org/wiki/{{stub}}

It seems to happen in all Wikipedias

Even if the template doesn't exist, the problem still occurs:

http://en.wikipedia.org/w/wiki.phtml?title={{aksjdfkasjdf}}
Comment 1 Antoine "hashar" Musso (WMF) 2004-09-01 22:35:48 UTC
The pagename should be escaped in the template.

Please edit it to use {{ÞAGENAMEE}} magicword instead of {{PAGENAME}}.
That should fix it.
Comment 2 Antoine "hashar" Musso (WMF) 2004-09-01 22:46:02 UTC
checking more. Doesn't seem to work correctly.
Comment 3 Faraaz Damji 2004-09-02 02:02:45 UTC
Please note that most of the URLs don't work (sorry).  I'll repost working links
in the same order:

www.wikipedia.org/wiki/%7b%7bstub%7D%7D
http://en.wikipedia.org/wiki/%7b%7bstub%7d%7d
http://en.wikipedia.org/w/wiki.phtml?title=%7b%7bstub%7d%7d
http://fr.wikipedia.org/wiki/%7B%7B%C3%89bauche%7D%7D

Please note that this one seems to work just fine now:
http://en.wikipedia.org/w/wiki.phtml?title=%7b%7baksjdfkasjdf%7d%7d
Comment 4 Brion Vibber 2004-09-10 22:03:57 UTC
{ and } should not have been added to the legal title characters as they have special function. They will be removed shortly, but there are a few broken 
pages that need to be resolved:

http://es.wiktionary.org/wiki/(*)/{Nav(*)}
http://pl.wiktionary.org/wiki/Es_{geben}
http://pl.wiktionary.org/wiki/Nie_{by?}
http://pl.wiktionary.org/wiki/There_{be}
http://pl.wiktionary.org/wiki/Dyskusja:There_{be}

The first is a test page, the others on pl have some content.
Comment 5 Timwi 2004-09-11 22:01:32 UTC
It seems that those pages no longer exist (except for the first one).
Comment 6 Brion Vibber 2004-09-11 23:00:27 UTC
Cleaned up the remaining broken titles and made the change. In 1.4 and 1.3 CVS and live on WP.

These titles will now trigger a "bad title" error instead of bizarre corrupting things.

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


Navigation
Links