mediawiki-extensions-Echo/maintenance
Thiemo Kreuz 611d1610dd Simplify testDiscussionParser code
I found this code while looking for possibly problematic count()s.

I noticed the line "$user = $pageData['revisions'][0]…", which means
the code assumes element [0] is always there. Therefore I droped the
"count() == 1" check.

The other count() got replaced with an isset().

Change-Id: Ic582c85d07db0cbed56512e3e381120b628f2288
2018-10-25 19:23:07 +00:00
..
backfillReadBundles.php Change DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN 2018-03-17 21:55:20 +01:00
backfillUnreadWikis.php NotifUser: Simplify function signatures for getNotificationCount() and friends 2018-06-05 01:07:23 +00:00
generateSampleNotifications.php Split long lines over 140 chars 2018-08-25 12:51:14 +02:00
processEchoEmailBatch.php Change DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN 2018-03-17 21:55:20 +01:00
removeInvalidNotification.php build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 09:49:43 +00:00
removeOrphanedEvents.php build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 09:49:43 +00:00
testDiscussionParser.php Simplify testDiscussionParser code 2018-10-25 19:23:07 +00:00
updateEchoSchemaForSuppression.php build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 09:49:43 +00:00
updatePerUserBlacklist.php Use centralIdsFromNames() method to get central ids. 2017-10-16 18:14:31 -04:00