Last modified: 2007-12-04 00:15:09 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 12154 - Erratic total failure of unstrip phase in new preprocessor
Erratic total failure of unstrip phase in new preprocessor
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: High blocker with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 12162 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-11-30 03:13 UTC by Tim Starling
Modified: 2007-12-04 00:15 UTC (History)
3 users (show)

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


Description Tim Starling 2007-11-30 03:13:57 UTC
Split off from bug 12056. Input such as 


is converted to something like:


where <del> is the delete character, 0x7f. Typcially this occurs in the pre-save transform, so the result is saved into articles, leading to diffs such as these:

All XML-style tag extensions are affected. 

On some installations this happens all the time, on others it happens randomly and is not reproducible. It has been reported on:

* Roan Kattouw's Windows test server. Reproducible with PHP 5.2.4 cgi/fcgi, not observed in the same installation under the CLI SAPI. 
* Unknown servers in Wikimedia's app cluster. Is it server dependent or random?
* Reproducibly on Bertrand Grondin's server at
* Randomly on, reported by Nikerabbit

During an attempt to narrow down the problem on Roan Kattouw's server, an odd bug was observed where a Title object would disappear, triggering a fatal "cannot call member function of non-object". This may or may not be related.
Comment 1 Roan Kattouw 2007-11-30 12:27:06 UTC
*** Bug 12162 has been marked as a duplicate of this bug. ***
Comment 2 Tim Starling 2007-12-01 07:17:27 UTC
Possible fix in r28004, please test.
Comment 3 Roan Kattouw 2007-12-01 14:09:16 UTC
(In reply to comment #2)
> Possible fix in r28004, please test.

That did it, at least for me. <nowiki>, <ref>, <references>, <redircite> and <toggledisplay> now work for me.
Comment 4 Tim Starling 2007-12-02 08:34:09 UTC
Nikerabbit reports that it's fixed on BetaWiki.
Comment 5 Tim Starling 2007-12-04 00:15:09 UTC
We'll call this provisionally fixed. But it might be nice to remove the failure mode at some stage. 

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