Topic on Extension talk:MultiLanguageManager

Deleting last row in tranlation set not calling, cousing fatal error.

2
Anysite (talkcontribs)

Let's say page B is the only translation of page A. When deleting page B (not deleting the translation binding, but the page itself), the translation set not deleted. This lead us to the next problem - when browsing to page A, we got fatal error.

I pushed to gerrit fix in REL1_31 which contains two modifys:

  • MultiLanguageManager\MultiLanguageTranslation::save calls MultiLanguageManager\MultiLanguageTranslation::delete when no translations in set.
  • MultiLanguageManager\Hooks\SkinBuildSidebar::process skip invalid Title instead of calling blindly makeLink and throwing error.
Sir-Lagg-A-Lot (talkcontribs)