Last modified: 2010-05-15 15:41:08 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 7426 - ampersand in page title causes broken page
ampersand in page title causes broken page
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-09-27 15:22 UTC by spambox
Modified: 2010-05-15 15:41 UTC (History)
0 users

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


Description spambox 2006-09-27 15:22:51 UTC
Creating and linking to a page with an ampersand in the title causes unexpected
results.  A red link to such a page allows editing, but as soon as the page is
saved the "There is currently no text in this page, you can search for this page
title in other pages or edit this page." template is displayed and the page
title is displayed truncated at the ampersand.

The same brokenness results when following a link to said page -- the page title
being displayed is truncated at the ampersand and nothing is displayed.
Comment 1 spambox 2006-09-27 15:32:38 UTC
Output of Special:Version from the wiki where this is happening -- -- I have also tested this on a wiki with fewer
extensions running 1.7.1 on the same webhost.

    *  MediaWiki: 1.7.1
    * PHP: 5.1.2 (cgi-fcgi)
    * MySQL: 4.1.14-Debian_5-log
    * Extensions:
          o Other:
                + Bad Behavior (version 2.0.6), Detects and blocks unwanted Web
accesses, by Michael Hampton
                + SpamBlacklist by Tim Starling 
          o Extension functions:
                + bb2_mediawiki_entry, ceSetup, wfassExtension and
          o Parser extension tags:
                + <adsensesearch> and <pre> 
    * Hooks:
          o AbortNewAccount: (SimpleCaptcha, confirmUserCreate)
          o EditFilter: (SimpleCaptcha, confirmEdit)
          o ParserAfterTidy: bb2_mediawiki_timer
          o UserCreateForm: (SimpleCaptcha, injectUserCreate)
          o userCan: namespacePermissionsCheckNamespace 
Comment 2 Brion Vibber 2006-09-27 16:06:05 UTC
You have bad mod_rewrite rules. Use an alias instead of rewrite for best 
compatibility, or patch Apache; see the patch in maintenance/.

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