Last modified: 2014-03-31 11:43:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62393, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60393 - source language as Language to notify error should be handled more gracefully
source language as Language to notify error should be handled more gracefully
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TranslationNotifications (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-24 09:50 UTC by Kartik Mistry
Modified: 2014-03-31 11:43 UTC (History)
8 users (show)

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


Attachments

Description Kartik Mistry 2014-01-24 09:50:37 UTC
On, Special:NotifyTranslators, If "Which languages to notify:" is set to source language, it is throwing exception,

<code>
[715f2a93] /mw/index.php/%E0%AA%B5%E0%AA%BF%E0%AA%B6%E0%AB%87%E0%AA%B7:NotifyTranslators Exception from line 208 of /var/www/mw/extensions/TranslationNotifications/SpecialNotifyTranslators.php: A notification must not be sent only to translators to the source language.
Backtrace:
#0 [internal function]: SpecialNotifyTranslators->submitNotifyTranslatorsForm(array, HTMLForm)
#1 /var/www/mw/includes/htmlform/HTMLForm.php(443): call_user_func(array, array, HTMLForm)
#2 /var/www/mw/includes/htmlform/HTMLForm.php(385): HTMLForm->trySubmit()
#3 /var/www/mw/extensions/TranslationNotifications/SpecialNotifyTranslators.php(62): HTMLForm->tryAuthorizedSubmit()
#4 /var/www/mw/includes/specialpage/SpecialPage.php(374): SpecialNotifyTranslators->execute(NULL)
#5 /var/www/mw/includes/specialpage/SpecialPageFactory.php(491): SpecialPage->run(NULL)
#6 /var/www/mw/includes/Wiki.php(285): SpecialPageFactory::executePath(Title, RequestContext)
#7 /var/www/mw/includes/Wiki.php(586): MediaWiki->performRequest()
#8 /var/www/mw/includes/Wiki.php(447): MediaWiki->main()
#9 /var/www/mw/index.php(49): MediaWiki->run()
#10 {main}
</code>

It should be handled more gracefully.

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


Navigation
Links