Last modified: 2010-05-15 15:37:36 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 3078 - missing feature in SpecialImport.php , FIXED
missing feature in SpecialImport.php , FIXED
Status: RESOLVED DUPLICATE of bug 2483
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-08-08 22:09 UTC by Marc Meurrens (be)
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Description Marc Meurrens (be) 2005-08-08 22:09:35 UTC
When you import an XML file, the article and revision are created properly.
However, links, categories, searches, etc are NOT updated.
The fix is here :

// !FIX-1 : // !FILE : SpecialImport.php
function importOldRevision() 
at the end of the method,
just before returning true, add this line :

   $article->editUpdates($article->preSaveTransform($this->getText())) ;

I am not really sure the 'preSaveTransform' stuff is really needed in this case,
but, it will not harm.
Comment 1 Zigger 2005-08-08 22:55:28 UTC

*** This bug has been marked as a duplicate of 2483 ***

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