Siebrand has submitted this change and it was merged. Change subject: Some asserts to aid debugging some PHP notices ......................................................................
Some asserts to aid debugging some PHP notices Call to a member function getId() on a non-object in Translate/tag/PageTranslationHooks.php on line 465 Undefined offset: 0 in Translate/utils/MessageHandle.php on line 120 Undefined index: pages in Translate/utils/TranslationEditPage.php on line 176 array_shift() expects parameter 1 to be array, null given in Translate/utils/TranslationEditPage.php on line 177 Change-Id: I97d5133fa5b38fe4b129865a5f331f58640eb0a1 --- M utils/MessageHandle.php M utils/TranslationEditPage.php 2 files changed, 7 insertions(+), 0 deletions(-) Approvals: Siebrand: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/17531 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I97d5133fa5b38fe4b129865a5f331f58640eb0a1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits