Expected:
Link table updates should be run on pages created via Special:Import.
Actual:
Nope!
Version: 1.5.x
Severity: normal
URL: http://test.leuksman.com/index.php/Special:Import
Expected:
Link table updates should be run on pages created via Special:Import.
Actual:
Nope!
Version: 1.5.x
Severity: normal
URL: http://test.leuksman.com/index.php/Special:Import
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T3002 Milestone: MediaWiki 1.5 (tracking) | |||
Resolved | None | T2606 Complete Special:Import the Automated Transwiki Interface | |||
Resolved | None | T4483 Special:Import needs to run link updates on created pages |
bugzilla.wikimedia wrote:
// !FILE : SpecialImport.php
function importOldRevision()
just before returning true, add :
$article->editUpdates($article->preSaveTransform($this->getText())) ;
bugzilla.wikimedia wrote:
I am not really sure the above 'preSaveTransform' stuff is really needed in this
case,
but, it will not harm...
bugzilla.wikimedia wrote:
In fact, my solution (above) solves the problem that imported articles were non
'searchable' but, until now, I did not find the way to automatically update
a so-called 'indexing' within categories.
So, my solution is probably worth to be implemented as it solves half of the
problem.
But there is still job to realize the other steps :
This is a really serious problem because, if we want to massively import data,
we need to make them available thru categories.
(In my case, I convinced ex-Windows victims to provide me with a stupid MS
Access file
including a few thousands of books descriptions, as to put them on a wiki, with
categories, keywords, images, comments, etc...
it works really fine...
but they would also like to retrieve their books without the need to edit each
article manually :-) ...).
rowan.collins wrote:
I once suggested, in a different context (bug 939, comment 3) adding a flag in
the database that causes a page's links to be re-processed the next time it was
rendered - in other words, next time it was viewed, since the cache would also
be purged at the same time. For Special:Import would probably make more sense to
just run an "updateLinks()" function (which we don't really have yet, AFAIK) at
the time of import, but I just thought I'd connect the thoughts.
bugzilla.wikimedia wrote:
I solved my personal problem :
However, it would be nice not to suggest the use of bot's.
a) because not everybody is able to run a bot
b) because, if everybody will start using bots, this can be very dangerous
(for the contents and for the resources).