{"action":"closed","number":2482,"pull_request":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/2482","id":122756839,"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2482","diff_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2482.diff","patch_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2482.patch","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/2482","number":2482,"state":"closed","locked":false,"title":"Add TransactionalDeferredCallableUpdate","user":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars2.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"body":"This PR is made in reference to: #2198, https://phabricator.wikimedia.org/T152583#3292654, https://phabricator.wikimedia.org/T165714 \r\n\r\nThis PR addresses or contains:\r\n\r\n- Moves transaction specific handling from `DeferredCallableUpdate` to `TransactionalDeferredCallableUpdate`\r\n- Add `TransactionalDeferredCallableUpdate::commitWithTransactionTicket` to reduce a possible transaction lag where a `TransactionTicket` is available\r\n- `PageUpdater` is to make use of `TransactionalDeferredCallableUpdate` instead of trying to manage `DeferredUpdates` on its own\r\n\r\n#2198 tried to cover most use case where a `SMW\\DeferredCallableUpdate::doUpdate: Cannot flush snapshot because writes are pending` could appear but when a transaction is started as job but not through the commandLine (cronJob) then under certain circumstance the following can be observed where `MediaWiki::doPostOutputShutdown` triggers a pending job.\r\n\r\n```\r\n[smw] SMW\\Utils\\BufferedStatsdCollector::recordStats (as DeferredCallableUpdate a4663009fe01e8c985f3dda0fe6a173b)\r\n[exception] [bf15bc4350f627484425b01b] /mw-master/index.php/Special:Ask/format%3Drss/link%3Dall/headers%3Dshow/searchlabel%3DRSS/class%3Dsortable-20wikitable-20smwtable/offset%3D/limit%3D50/-5B-5BFeedWithDisplayTitle::%2B-5D-5D/mainlabel%3D/prettyprint%3Dtrue/unescape%3Dtrue   Wikimedia\\Rdbms\\DBUnexpectedError from line 2947 of ...\\mw-master\\includes\\libs\\rdbms\\database\\Database.php: SMW\\DeferredCallableUpdate::doUpdate: Cannot flush snapshot because writes are pending (SMW\\SQLStore\\TableFieldUpdater::updateCollationField, SMW\\SQLStore\\TableFieldUpdater::updateCollationField, SMW\\SQLStore\\TableFieldUpdater::updateCollationField, SMW\\SQLStore\\TableFieldUpdater::updateCollationField, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, SMW::writePropertyTableRowUpdates-insert-smw_di_wikipage, SMWSql3SmwIds::setPropertyTableHashes, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle, Wikimedia\\Rdbms\\Database::onTransactionIdle).\r\n#0 ...\\mw-master\\includes\\libs\\rdbms\\loadbalancer\\LoadBalancer.php(1200): Wikimedia\\Rdbms\\Database->flushSnapshot(string)\r\n#1 [internal function]: Wikimedia\\Rdbms\\LoadBalancer->Wikimedia\\Rdbms\\{closure}(Wikimedia\\Rdbms\\DatabaseMysqli)\r\n#2 ...\\mw-master\\includes\\libs\\rdbms\\loadbalancer\\LoadBalancer.php(1498): call_user_func_array(Closure, array)\r\n#3 ...\\mw-master\\includes\\libs\\rdbms\\loadbalancer\\LoadBalancer.php(1207): Wikimedia\\Rdbms\\LoadBalancer->forEachOpenMasterConnection(Closure)\r\n#4 [internal function]: Wikimedia\\Rdbms\\LoadBalancer->beginMasterChanges(string)\r\n#5 ...\\mw-master\\includes\\libs\\rdbms\\lbfactory\\LBFactory.php(183): call_user_func_array(array, array)\r\n#6 [internal function]: Wikimedia\\Rdbms\\LBFactory->Wikimedia\\Rdbms\\{closure}(Wikimedia\\Rdbms\\LoadBalancer, string, array)\r\n#7 ...\\mw-master\\includes\\libs\\rdbms\\lbfactory\\LBFactorySimple.php(149): call_user_func_array(Closure, array)\r\n#8 ...\\mw-master\\includes\\libs\\rdbms\\lbfactory\\LBFactory.php(185): Wikimedia\\Rdbms\\LBFactorySimple->forEachLB(Closure, array)\r\n#9 ...\\mw-master\\includes\\libs\\rdbms\\lbfactory\\LBFactory.php(207): Wikimedia\\Rdbms\\LBFactory->forEachLBCallMethod(string, array)\r\n#10 ...\\mw-master\\includes\\deferred\\DeferredUpdates.php(265): Wikimedia\\Rdbms\\LBFactory->beginMasterChanges(string)\r\n#11 ...\\mw-master\\includes\\deferred\\DeferredUpdates.php(228): DeferredUpdates::runUpdate(SMW\\DeferredCallableUpdate, Wikimedia\\Rdbms\\LBFactorySimple, integer)\r\n#12 ...\\mw-master\\includes\\deferred\\DeferredUpdates.php(136): DeferredUpdates::execute(array, string, integer)\r\n#13 ...\\mw-master\\includes\\deferred\\DeferredUpdates.php(95): DeferredUpdates::doUpdates(string)\r\n#14 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\DeferredCallableUpdate.php(242): DeferredUpdates::addUpdate(SMW\\DeferredCallableUpdate)\r\n#15 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\Utils\\BufferedStatsdCollector.php(233): SMW\\DeferredCallableUpdate->pushUpdate()\r\n#16 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\Query\\Result\\CachedQueryResultPrefetcher.php(314): SMW\\Utils\\BufferedStatsdCollector->recordStats()\r\n#17 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(165): SMW\\Query\\Result\\CachedQueryResultPrefetcher->resetCacheBy(array, string)\r\n#18 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(82): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->findEmbeddedQueryTargetLinksBatches(array, MediaWiki\\Logger\\LegacyLogger)\r\n#19 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(145): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->run()\r\n#20 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(82): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->findEmbeddedQueryTargetLinksBatches(array, MediaWiki\\Logger\\LegacyLogger)\r\n#21 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(145): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->run()\r\n#22 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(82): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->findEmbeddedQueryTargetLinksBatches(array, MediaWiki\\Logger\\LegacyLogger)\r\n#23 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(145): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->run()\r\n#24 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(82): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->findEmbeddedQueryTargetLinksBatches(array, MediaWiki\\Logger\\LegacyLogger)\r\n#25 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(145): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->run()\r\n#26 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(82): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->findEmbeddedQueryTargetLinksBatches(array, MediaWiki\\Logger\\LegacyLogger)\r\n#27 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(145): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->run()\r\n#28 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\ParserCachePurgeJob.php(82): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->findEmbeddedQueryTargetLinksBatches(array, MediaWiki\\Logger\\LegacyLogger)\r\n#29 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\DeferredRequestDispatchManager.php(257): SMW\\MediaWiki\\Jobs\\ParserCachePurgeJob->run()\r\n#30 [internal function]: SMW\\DeferredRequestDispatchManager->SMW\\{closure}(Title, array)\r\n#31 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\DeferredRequestDispatchManager.php(229): call_user_func_array(Closure, array)\r\n#32 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\DeferredRequestDispatchManager.php(163): SMW\\DeferredRequestDispatchManager->dispatchJobRequestWith(string, Title, array)\r\n#33 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Hooks\\HookRegistry.php(584): SMW\\DeferredRequestDispatchManager->dispatchParserCachePurgeJobWith(Title, array)\r\n#34 ...\\mw-master\\includes\\Hooks.php(186): SMW\\MediaWiki\\Hooks\\HookRegistry->SMW\\MediaWiki\\Hooks\\{closure}(SMWSQLStore3, SMW\\SemanticData, SMW\\SQLStore\\CompositePropertyTableDiffIterator)\r\n#35 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\storage\\SQLStore\\SMW_SQLStore3_Writers.php(188): Hooks::run(string, array)\r\n#36 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\storage\\SQLStore\\SMW_SQLStore3.php(265): SMWSQLStore3Writers->doDataUpdate(SMW\\SemanticData)\r\n#37 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\storage\\SMW_Store.php(220): SMWSQLStore3->doDataUpdate(SMW\\SemanticData)\r\n#38 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\StoreUpdater.php(218): SMW\\Store->updateData(SMW\\SemanticData)\r\n#39 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\StoreUpdater.php(142): SMW\\StoreUpdater->doRealUpdate()\r\n#40 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\StoreUpdater.php(96): SMW\\StoreUpdater->doPerformUpdate()\r\n#41 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\ParserData.php(401): SMW\\StoreUpdater->doUpdate()\r\n#42 [internal function]: SMW\\ParserData->SMW\\{closure}()\r\n#43 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\DeferredCallableUpdate.php(219): call_user_func(Closure)\r\n#44 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\DeferredCallableUpdate.php(245): SMW\\DeferredCallableUpdate->doUpdate()\r\n#45 ...\\mw-master\\extensions\\SemanticMediaWiki\\includes\\ParserData.php(412): SMW\\DeferredCallableUpdate->pushUpdate()\r\n#46 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\UpdateJob.php(176): SMW\\ParserData->updateStore()\r\n#47 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\UpdateJob.php(145): SMW\\MediaWiki\\Jobs\\UpdateJob->updateStore(SMW\\ParserData)\r\n#48 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\UpdateJob.php(117): SMW\\MediaWiki\\Jobs\\UpdateJob->needToParsePageContentBeforeUpdate()\r\n#49 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\UpdateJob.php(85): SMW\\MediaWiki\\Jobs\\UpdateJob->doPrepareForUpdate()\r\n#50 ...\\mw-master\\extensions\\SemanticMediaWiki\\src\\MediaWiki\\Jobs\\UpdateJob.php(66): SMW\\MediaWiki\\Jobs\\UpdateJob->doUpdate()\r\n#51 ...\\mw-master\\includes\\jobqueue\\JobRunner.php(289): SMW\\MediaWiki\\Jobs\\UpdateJob->run()\r\n#52 ...\\mw-master\\includes\\jobqueue\\JobRunner.php(189): JobRunner->executeJob(SMW\\MediaWiki\\Jobs\\UpdateJob, Wikimedia\\Rdbms\\LBFactorySimple, BufferingStatsdDataFactory, integer)\r\n#53 ...\\mw-master\\includes\\MediaWiki.php(973): JobRunner->run(array)\r\n#54 ...\\mw-master\\includes\\MediaWiki.php(959): MediaWiki->triggerSyncJobs(integer, MediaWiki\\Logger\\LegacyLogger)\r\n#55 ...\\mw-master\\includes\\MediaWiki.php(911): MediaWiki->triggerJobs()\r\n#56 ...\\mw-master\\includes\\MediaWiki.php(731): MediaWiki->restInPeace(string)\r\n#57 ...\\mw-master\\includes\\MediaWiki.php(750): MediaWiki->{closure}()\r\n#58 ...\\mw-master\\includes\\MediaWiki.php(554): MediaWiki->doPostOutputShutdown(string)\r\n#59 ...\\mw-master\\index.php(43): MediaWiki->run()\r\n```\r\n\r\n\r\n\r\n\r\n\r\nThis PR includes:\r\n- [x] Tests (unit/integration)\r\n- [x] CI build passed\r\n","created_at":"2017-05-27T10:36:35Z","updated_at":"2017-05-28T10:51:09Z","closed_at":"2017-05-28T10:51:09Z","merged_at":"2017-05-28T10:51:09Z","merge_commit_sha":"0fd87f51bf284df48c78bf81396af9bfe2a4acde","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/2482/commits","review_comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/2482/comments","review_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/2482/comments","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/7f4eff41aa6d38c3e2d3ed77007b697182773e55","head":{"label":"SemanticMediaWiki:defer-trans","ref":"defer-trans","sha":"7f4eff41aa6d38c3e2d3ed77007b697182773e55","user":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars0.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":14058345,"name":"SemanticMediaWiki","full_name":"SemanticMediaWiki/SemanticMediaWiki","owner":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars0.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","description":"Semantic MediaWiki is a project for extending MediaWiki with \"semantic\" functions that enable machine-reading of wiki-content.","fork":false,"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","forks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/forks","keys_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/teams","hooks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/hooks","issue_events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/events{/number}","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/events","assignees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/assignees{/user}","branches_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/branches{/branch}","tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/tags","blobs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/languages","stargazers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/stargazers","contributors_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contributors","subscribers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscribers","subscription_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscription","commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contents/{+path}","compare_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/merges","archive_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/downloads","issues_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues{/number}","pulls_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels{/name}","releases_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/releases{/id}","deployments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/deployments","created_at":"2013-11-02T01:38:36Z","updated_at":"2017-05-23T14:50:50Z","pushed_at":"2017-05-28T10:51:09Z","git_url":"git://github.com/SemanticMediaWiki/SemanticMediaWiki.git","ssh_url":"git@github.com:SemanticMediaWiki/SemanticMediaWiki.git","clone_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki.git","svn_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","homepage":"https://www.semantic-mediawiki.org/","size":27427,"stargazers_count":141,"watchers_count":141,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":134,"forks":89,"open_issues":134,"watchers":141,"default_branch":"master"}},"base":{"label":"SemanticMediaWiki:master","ref":"master","sha":"407858234714391dfff0185d4669827f3bf2410b","user":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars0.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":14058345,"name":"SemanticMediaWiki","full_name":"SemanticMediaWiki/SemanticMediaWiki","owner":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars0.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","description":"Semantic MediaWiki is a project for extending MediaWiki with \"semantic\" functions that enable machine-reading of wiki-content.","fork":false,"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","forks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/forks","keys_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/teams","hooks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/hooks","issue_events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/events{/number}","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/events","assignees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/assignees{/user}","branches_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/branches{/branch}","tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/tags","blobs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/languages","stargazers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/stargazers","contributors_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contributors","subscribers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscribers","subscription_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscription","commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contents/{+path}","compare_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/merges","archive_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/downloads","issues_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues{/number}","pulls_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels{/name}","releases_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/releases{/id}","deployments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/deployments","created_at":"2013-11-02T01:38:36Z","updated_at":"2017-05-23T14:50:50Z","pushed_at":"2017-05-28T10:51:09Z","git_url":"git://github.com/SemanticMediaWiki/SemanticMediaWiki.git","ssh_url":"git@github.com:SemanticMediaWiki/SemanticMediaWiki.git","clone_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki.git","svn_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","homepage":"https://www.semantic-mediawiki.org/","size":27427,"stargazers_count":141,"watchers_count":141,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":134,"forks":89,"open_issues":134,"watchers":141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/2482"},"html":{"href":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/2482"},"issue":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/2482"},"comments":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/2482/comments"},"review_comments":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/2482/comments"},"review_comment":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/2482/commits"},"statuses":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/7f4eff41aa6d38c3e2d3ed77007b697182773e55"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars2.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":913,"deletions":344,"changed_files":24}}
{"actor":{"display_login":"mwjames"}}