Last modified: 2011-03-13 18:05:10 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 4416 - ParserOutput::merge() does not merge category links
ParserOutput::merge() does not merge category links
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-12-29 02:25 UTC by Alan
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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

Patch for Parser.php to fix category links merge bug (755 bytes, patch)
2005-12-29 02:28 UTC, Alan

Description Alan 2005-12-29 02:25:47 UTC
The merge() method of ParserOutput looks like it suffered from a copy-and-paste
job in the implementation.  The line that is supposed to merge category links
from $other instead merges $this->mCategoryLinks with $this->mLanguageLinks.  I
will provide a one-line patch.
Comment 1 Alan 2005-12-29 02:28:12 UTC
Created attachment 1242 [details]
Patch for Parser.php to fix category links merge bug
Comment 2 Tim Starling 2006-03-01 13:34:11 UTC
ParserOutput::merge() is deprecated and has been removed from 1.6. 
Please find some other way to do whatever it is you're doing.

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