Suboptimal solution for one of the issues behind bug 12049 (i.e. that
authorRobert Stojnić <rainman@users.mediawiki.org>
Thu, 3 Apr 2008 15:09:56 +0000 (15:09 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Thu, 3 Apr 2008 15:09:56 +0000 (15:09 +0000)
commitb4dff524096696ae345a0005fb99e16ce00ef9f9
tree585cc2694c16aae447a93904a9a2867df1cf7445
parent3cc7e481f41640bf76c8e5e9f1ccb61b2412df3c
Suboptimal solution for one of the issues behind bug 12049 (i.e. that
don't get deleted from search index) :
* hooks ArticleDelete[Complete] are now called from FileDeleteForm as well,
  this seems to be the expected behavior by most extensions (OAI, TitleKey,
  Rsync, ...).
* delete via API however still misses these hooks

Other possible solutions:
* move hooks into backend - bad since we want a clean backend
* create FileDelete hook (per bug 11276) - seems to me as unnecessary
  duplication of code logic since article might or might not be
  deleted during file deletion
* make a new Article function and wrap calls - will pollute clean Article
  doDelete and doDeleteArticle calls
includes/FileDeleteForm.php