Jump to content

Topic on Extension talk:UserAgreement

Master not working on 1.31

5
Summary by Daniel schuerhoff

Capitalization of the page MediaWiki:Useragreement is important.

2A00:8A60:1:F0:7945:C80F:8467:4D5F (talkcontribs)

Running

Mediawiki 1.31
UserAgreement 1.0.1 (cb230e7)
PluggableAuth 5.4 (300ac44)
SimpleSAMLphp	4.1 (1e36e1d)

Downloaded the master, unpacked and inserted the wfLoadExtension, ran ```php update.php```, verified that the ```useragreement``` table exists now, created a page with some sample text at Mediawiki: domain/mediawiki/index.php/MediaWiki:UserAgreement

unfortunately the table stays empty ```useragreement` table stays empty and no prompt or page appears.

2A00:8A60:1:F0:7945:C80F:8467:4D5F (talkcontribs)

Debug Log with hopefully all private infos replaced by xxxx:


IP: x.x.x.x Start request GET /mediawiki/index.php/Modules HTTP HEADERS: HOST: domain.domain.com USER-AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ACCEPT-LANGUAGE: de,en-US;q=0.7,en;q=0.3 ACCEPT-ENCODING: gzip, deflate, br REFERER: https://domain.domain.com/mediawiki/index.php/Getting_Started COOKIE: vector-nav-p-Basics=true; vector-nav-p-FAQs=true; vector-nav-p-Optimization_tips=true; vector-nav-p-tb=false; my_wikiUserName=xxxxx; vector-nav-p-General_Info=false; vector-nav-p-HPC-Dev=true; vector-nav-p-HPC-User=false; vector-nav-p-HPC-Admin=true; language=en; SimpleSAMLSessionID=xxxxxxx; SimpleSAMLAuthToken=xxxxxx; my_wiki_session=xxxxx; my_wikiUserID=xxxx DNT: 1 CONNECTION: keep-alive UPGRADE-INSECURE-REQUESTS: 1 [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "x.x.x.x",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 607 will be used for SqlBagOStuff [SQLBagOStuff] Connection 607 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. Title::getRestrictionTypes: applicable restrictions to Modules are {edit,move} [ContentHandler] Created handler for wikitext: WikitextContentHandler OutputPage::checkLastModified: client did not send If-Modified-Since header User: loading options for user x from override cache. [MessageCache] MessageCache::load: Loading en... local cache is empty, got from global cache Unstubbing $wgParser on call of $wgParser::firstCallInit from MessageCache->transform Parser: using preprocessor: Preprocessor_DOM Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct [caches] parser: SqlBagOStuff [DBPerformance] Expectation (writes <= 0) by MediaWiki::main not met (actual: 4): query-m: DELETE FROM `objectcache` WHERE (exptime >= 'X')

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: DELETE...', 4)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: DELETE...', xxxxxx, true, xxxxx)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('DELETE FROM `ob...', 'DELETE /* SqlBa...', true, 'SqlBagOStuff::d...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2845): Wikimedia\Rdbms\Database->query('DELETE FROM `ob...', 'SqlBagOStuff::d...')
  5. 4 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(609): Wikimedia\Rdbms\Database->delete('`objectcache`', '(exptime >= '20...', 'SqlBagOStuff::d...')
  6. 5 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(557): SqlBagOStuff->deleteObjectsExpiringBefore('xxxxx')
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(552): SqlBagOStuff->expireAll()
  8. 7 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(262): SqlBagOStuff->garbageCollect()
  9. 8 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(358): SqlBagOStuff->getMulti(Array)
  10. 9 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(303): WANObjectCache->getMulti(Array, Array, Array, Array)
  11. 10 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(1156): WANObjectCache->get('my_wiki:page-co...', NULL, Array, NULL)
  12. 11 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(1114): WANObjectCache->doGetWithSetCallback('my_wiki:page-co...', xxxxxx, Object(Closure), Array)
  13. 12 /var/lib/mediawiki/includes/page/WikiPage.php(579): WANObjectCache->getWithSetCallback('my_wiki:page-co...', xxxxx, Object(Closure))
  14. 13 /var/lib/mediawiki/includes/page/WikiPage.php(229): WikiPage->getContentModel()
  15. 14 /var/lib/mediawiki/includes/page/WikiPage.php(2001): WikiPage->getContentHandler()
  16. 15 /var/lib/mediawiki/includes/page/Article.php(2001): WikiPage->makeParserOptions(Object(RequestContext))
  17. 16 /var/lib/mediawiki/includes/page/Article.php(478): Article->getParserOptions()
  18. 17 /var/lib/mediawiki/includes/actions/ViewAction.php(68): Article->view()
  19. 18 /var/lib/mediawiki/includes/MediaWiki.php(500): ViewAction->show()
  20. 19 /var/lib/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Object(Article), Object(Title))
  21. 20 /var/lib/mediawiki/includes/MediaWiki.php(861): MediaWiki->performRequest()
  22. 21 /var/lib/mediawiki/includes/MediaWiki.php(524): MediaWiki->main()
  23. 22 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  24. 23 {main}

Article::view using parser cache: yes Article::view: doing uncached parse [DBPerformance] Expectation (writes <= 0) by MediaWiki::main not met (actual: 5): query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: REPLAC...', 5)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: REPLAC...', xxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('REPLACE INTO `o...', 'REPLACE /* SqlB...', true, 'SqlBagOStuff::s...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2741): Wikimedia\Rdbms\Database->query('REPLACE INTO `o...', 'SqlBagOStuff::s...')
  5. 4 /var/lib/mediawiki/includes/libs/rdbms/database/DatabaseMysqlBase.php(516): Wikimedia\Rdbms\Database->nativeReplace('`objectcache`', Array, 'SqlBagOStuff::s...')
  6. 5 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(361): Wikimedia\Rdbms\DatabaseMysqlBase->replace('objectcache', Array, Array, 'SqlBagOStuff::s...')
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(376): SqlBagOStuff->setMulti(Array, xxxxxx)
  8. 7 /var/lib/mediawiki/includes/parser/Preprocessor.php(82): SqlBagOStuff->set('my_wiki:preproc...', '00000001<root>T...', xxxxx)
  9. 8 /var/lib/mediawiki/includes/parser/Preprocessor_DOM.php(153): Preprocessor->cacheSetTree('The module syst...', 0, '<root>The modul...')
  10. 9 /var/lib/mediawiki/includes/parser/Parser.php(2881): Preprocessor_DOM->preprocessToObj('The module syst...', 0)
  11. 10 /var/lib/mediawiki/includes/parser/Parser.php(2940): Parser->preprocessToDom('The module syst...')
  12. 11 /var/lib/mediawiki/includes/parser/Parser.php(1293): Parser->replaceVariables('The module syst...')
  13. 12 /var/lib/mediawiki/includes/parser/Parser.php(443): Parser->internalParse('The module syst...')
  14. 13 /var/lib/mediawiki/includes/content/WikitextContent.php(323): Parser->parse('The module syst...', Object(Title), Object(ParserOptions), true, true, 800)
  15. 14 /var/lib/mediawiki/includes/content/AbstractContent.php(516): WikitextContent->fillParserOutput(Object(Title), 800, Object(ParserOptions), true, Object(ParserOutput))
  16. 15 /var/lib/mediawiki/includes/poolcounter/PoolWorkArticleView.php(144): AbstractContent->getParserOutput(Object(Title), 800, Object(ParserOptions))
  17. 16 /var/lib/mediawiki/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  18. 17 /var/lib/mediawiki/includes/page/Article.php(604): PoolCounterWork->execute()
  19. 18 /var/lib/mediawiki/includes/actions/ViewAction.php(68): Article->view()
  20. 19 /var/lib/mediawiki/includes/MediaWiki.php(500): ViewAction->show()
  21. 20 /var/lib/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Object(Article), Object(Title))
  22. 21 /var/lib/mediawiki/includes/MediaWiki.php(861): MediaWiki->performRequest()
  23. 22 /var/lib/mediawiki/includes/MediaWiki.php(524): MediaWiki->main()
  24. 23 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  25. 24 {main}

[Preprocessor] Cached preprocessor output (key: my_wiki:preprocess-xml:xxxxxxxxxx) [Preprocessor] Loaded preprocessor output from cache (key: my_wiki:preprocess-xml:xxxxxxxx) Saved in parser cache with key my_wiki:pcache:idhash:41-0!canonical and timestamp xxxxxx and revision id 800 [DBPerformance] Expectation (writes <= 0) by MediaWiki::main not met (actual: 6): query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: REPLAC...', 6)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: REPLAC...', xxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('REPLACE INTO `o...', 'REPLACE /* SqlB...', true, 'SqlBagOStuff::s...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2741): Wikimedia\Rdbms\Database->query('REPLACE INTO `o...', 'SqlBagOStuff::s...')
  5. 4 /var/lib/mediawiki/includes/libs/rdbms/database/DatabaseMysqlBase.php(516): Wikimedia\Rdbms\Database->nativeReplace('`objectcache`', Array, 'SqlBagOStuff::s...')
  6. 5 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(361): Wikimedia\Rdbms\DatabaseMysqlBase->replace('objectcache', Array, Array, 'SqlBagOStuff::s...')
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(376): SqlBagOStuff->setMulti(Array, xxxxxxx)
  8. 7 /var/lib/mediawiki/includes/parser/ParserCache.php(330): SqlBagOStuff->set('my_wiki:pcache:...', Object(ParserOutput), xxxxx)
  9. 8 /var/lib/mediawiki/includes/poolcounter/PoolWorkArticleView.php(162): ParserCache->save(Object(ParserOutput), Object(WikiPage), Object(ParserOptions), 'xxxxxxx', 800)
  10. 9 /var/lib/mediawiki/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  11. 10 /var/lib/mediawiki/includes/page/Article.php(604): PoolCounterWork->execute()
  12. 11 /var/lib/mediawiki/includes/actions/ViewAction.php(68): Article->view()
  13. 12 /var/lib/mediawiki/includes/MediaWiki.php(500): ViewAction->show()
  14. 13 /var/lib/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Object(Article), Object(Title))
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(861): MediaWiki->performRequest()
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(524): MediaWiki->main()
  17. 16 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  18. 17 {main}

[DBPerformance] Expectation (writes <= 0) by MediaWiki::main not met (actual: 7): query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: REPLAC...', 7)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: REPLAC...', xxxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('REPLACE INTO `o...', 'REPLACE /* SqlB...', true, 'SqlBagOStuff::s...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2741): Wikimedia\Rdbms\Database->query('REPLACE INTO `o...', 'SqlBagOStuff::s...')
  5. 4 /var/lib/mediawiki/includes/libs/rdbms/database/DatabaseMysqlBase.php(516): Wikimedia\Rdbms\Database->nativeReplace('`objectcache`', Array, 'SqlBagOStuff::s...')
  6. 5 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(361): Wikimedia\Rdbms\DatabaseMysqlBase->replace('objectcache', Array, Array, 'SqlBagOStuff::s...')
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(376): SqlBagOStuff->setMulti(Array, xxxxx)
  8. 7 /var/lib/mediawiki/includes/parser/ParserCache.php(333): SqlBagOStuff->set('my_wiki:pcache:...', Object(CacheTime), xxxxx)
  9. 8 /var/lib/mediawiki/includes/poolcounter/PoolWorkArticleView.php(162): ParserCache->save(Object(ParserOutput), Object(WikiPage), Object(ParserOptions), 'xxxxxxxx', 800)
  10. 9 /var/lib/mediawiki/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  11. 10 /var/lib/mediawiki/includes/page/Article.php(604): PoolCounterWork->execute()
  12. 11 /var/lib/mediawiki/includes/actions/ViewAction.php(68): Article->view()
  13. 12 /var/lib/mediawiki/includes/MediaWiki.php(500): ViewAction->show()
  14. 13 /var/lib/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Object(Article), Object(Title))
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(861): MediaWiki->performRequest()
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(524): MediaWiki->main()
  17. 16 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  18. 17 {main}

MediaWiki::preOutputCommit: primary transaction round committed MediaWiki::preOutputCommit: pre-send deferred updates completed [DBReplication] Wikimedia\Rdbms\ChronologyProtector::shutdownLB: DB 'localhost' touched

MediaWiki::preOutputCommit: LBFactory shutdown completed Title::getRestrictionTypes: applicable restrictions to Modules are {edit,move} User: loading options for user xx from database. OutputPage::sendCacheControl: private caching; Tue, 31 Jul 2018 15:23:06 GMT ** [SQLBagOStuff] Duplicate get(): "my_wiki:pcache:idoptions:41" fetched 2 times [SQLBagOStuff] Duplicate get(): "my_wiki:preprocess-xml:xxxxxxxxxxxxxxxxxxxxxx" fetched 2 times [DBPerformance] Expectation (writes <= 0) by MediaWiki::restInPeace not met (actual: 1): query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: REPLAC...', 1)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: REPLAC...', xxxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('REPLACE INTO `o...', 'REPLACE /* SqlB...', true, 'SqlBagOStuff::s...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2741): Wikimedia\Rdbms\Database->query('REPLACE INTO `o...', 'SqlBagOStuff::s...')
  5. 4 /var/lib/mediawiki/includes/libs/rdbms/database/DatabaseMysqlBase.php(516): Wikimedia\Rdbms\Database->nativeReplace('`objectcache`', Array, 'SqlBagOStuff::s...')
  6. 5 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(361): Wikimedia\Rdbms\DatabaseMysqlBase->replace('objectcache', Array, Array, 'SqlBagOStuff::s...')
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(376): SqlBagOStuff->setMulti(Array, 30)
  8. 7 /var/lib/mediawiki/includes/libs/objectcache/BagOStuff.php(545): SqlBagOStuff->set('WANCache:v:my_w...', Array, 30)
  9. 8 /var/lib/mediawiki/includes/libs/objectcache/BagOStuff.php(310): BagOStuff->add('WANCache:v:my_w...', Array, 30)
  10. 9 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(488): BagOStuff->mergeViaCas('WANCache:v:my_w...', Object(Closure), 30, 1)
  11. 10 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(546): SqlBagOStuff->merge('WANCache:v:my_w...', Object(Closure), 30, 1)
  12. 11 /var/lib/mediawiki/includes/jobqueue/JobQueueDB.php(373): WANObjectCache->set('my_wiki:jobqueu...', 1, 30)
  13. 12 /var/lib/mediawiki/includes/jobqueue/JobQueueDB.php(293): JobQueueDB->claimRandom('xxxxxxxx...', xxxxxxxx, true)
  14. 13 /var/lib/mediawiki/includes/jobqueue/JobQueue.php(372): JobQueueDB->doPop()
  15. 14 /var/lib/mediawiki/includes/jobqueue/JobQueueGroup.php(263): JobQueue->pop()
  16. 15 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(167): JobQueueGroup->pop(1, 1, Array)
  17. 16 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  18. 17 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  19. 18 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  20. 19 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  21. 20 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  22. 21 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  23. 22 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  24. 23 {main}

[DBPerformance] Expectation (writes <= 0) by MediaWiki::restInPeace not met (actual: 2): query-m: UPDATE `job` SET job_token = 'X'

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: UPDATE...', 2)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: UPDATE...', xxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('UPDATE `job` S...', 'UPDATE /* JobQu...', true, 'JobQueueDB::cla...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2010): Wikimedia\Rdbms\Database->query('UPDATE `job` S...', 'JobQueueDB::cla...')
  5. 4 [internal function]: Wikimedia\Rdbms\Database->update('`job`', Array, Array, 'JobQueueDB::cla...')
  6. 5 /var/lib/mediawiki/includes/libs/rdbms/database/DBConnRef.php(49): call_user_func_array(Array, Array)
  7. 6 /var/lib/mediawiki/includes/libs/rdbms/database/DBConnRef.php(300): Wikimedia\Rdbms\DBConnRef->__call('update', Array)
  8. 7 /var/lib/mediawiki/includes/jobqueue/JobQueueDB.php(385): Wikimedia\Rdbms\DBConnRef->update('job', Array, Array, 'JobQueueDB::cla...')
  9. 8 /var/lib/mediawiki/includes/jobqueue/JobQueueDB.php(293): JobQueueDB->claimRandom('xxxxxxxxxxxx...', xxxxxxxxx, true)
  10. 9 /var/lib/mediawiki/includes/jobqueue/JobQueue.php(372): JobQueueDB->doPop()
  11. 10 /var/lib/mediawiki/includes/jobqueue/JobQueueGroup.php(263): JobQueue->pop()
  12. 11 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(167): JobQueueGroup->pop(1, 1, Array)
  13. 12 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  14. 13 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  17. 16 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  18. 17 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  19. 18 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  20. 19 {main}

[runJobs] refreshLinksPrioritized Getting_Started rootJobTimestamp=xxxxxxxxxx useRecursiveLinksUpdate=1 triggeringUser={"userId":xx,"userName":"xxxxxxxx"} triggeringRevisionId=xxxx causeAction=edit-page causeAgent=xxxxxxxx requestId=xxxxxxxx (id=xx,timestamp=xxxxxxxx) STARTING Title::getRestrictionTypes: applicable restrictions to Getting Started are {edit,move} Parser cache options found. ParserOutput cache found. [DBQuery] RefreshLinksJob::runForTitle: committing on behalf of RefreshLinksJob::run. BacklinkCache::queryLinks: got results from DB [DBPerformance] Expectation (writes <= 0) by MediaWiki::restInPeace not met (actual: 3): query-m: UPDATE `objectcache` SET keyname = 'X'

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: UPDATE...', 3)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: UPDATE...', xxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('UPDATE `object...', 'UPDATE /* SqlBa...', true, 'SqlBagOStuff::c...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2010): Wikimedia\Rdbms\Database->query('UPDATE `object...', 'SqlBagOStuff::c...')
  5. 4 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(414): Wikimedia\Rdbms\Database->update('`objectcache`', Array, Array, 'SqlBagOStuff::c...')
  6. 5 /var/lib/mediawiki/includes/libs/objectcache/BagOStuff.php(313): SqlBagOStuff->cas(Array, 'WANCache:v:my_w...', Array, xxxxxxx)
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(488): BagOStuff->mergeViaCas('WANCache:v:my_w...', Object(Closure), 3600, 1)
  8. 7 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(546): SqlBagOStuff->merge('WANCache:v:my_w...', Object(Closure), 3600, 1)
  9. 8 /var/lib/mediawiki/includes/cache/BacklinkCache.php(376): WANObjectCache->set('my_wiki:numback...', 0, 3600)
  10. 9 /var/lib/mediawiki/includes/cache/BacklinkCache.php(323): BacklinkCache->getNumLinks('templatelinks', 1)
  11. 10 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(348): BacklinkCache->hasLinks('templatelinks')
  12. 11 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(312): LinksUpdate::queueRecursiveJobsForTable(Object(Title), 'templatelinks', 'edit-page', 'xxxxxxxx')
  13. 12 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(295): LinksUpdate->queueRecursiveJobs()
  14. 13 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(176): LinksUpdate->doIncrementalUpdate()
  15. 14 /var/lib/mediawiki/includes/jobqueue/jobs/RefreshLinksJob.php(283): LinksUpdate->doUpdate()
  16. 15 /var/lib/mediawiki/includes/jobqueue/jobs/RefreshLinksJob.php(126): RefreshLinksJob->runForTitle(Object(Title))
  17. 16 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(296): RefreshLinksJob->run()
  18. 17 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(193): JobRunner->executeJob(Object(RefreshLinksJob), Object(Wikimedia\Rdbms\LBFactorySimple), Object(BufferingStatsdDataFactory), xxxxxxx)
  19. 18 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  20. 19 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  21. 20 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  22. 21 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  23. 22 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  24. 23 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  25. 24 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  26. 25 {main}

[DBPerformance] Expectation (writes <= 0) by MediaWiki::restInPeace not met (actual: 4): query-m: UPDATE `page` SET page_links_updated = 'X' [xxxxxx]

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: UPDATE...', 4)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: UPDATE...', xxxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('UPDATE `page` ...', 'UPDATE /* Links...', true, 'LinksUpdate::up...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2010): Wikimedia\Rdbms\Database->query('UPDATE `page` ...', 'LinksUpdate::up...')
  5. 4 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(1132): Wikimedia\Rdbms\Database->update('`page`', Array, Array, 'LinksUpdate::up...')
  6. 5 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(299): LinksUpdate->updateLinksTimestamp()
  7. 6 /var/lib/mediawiki/includes/deferred/LinksUpdate.php(176): LinksUpdate->doIncrementalUpdate()
  8. 7 /var/lib/mediawiki/includes/jobqueue/jobs/RefreshLinksJob.php(283): LinksUpdate->doUpdate()
  9. 8 /var/lib/mediawiki/includes/jobqueue/jobs/RefreshLinksJob.php(126): RefreshLinksJob->runForTitle(Object(Title))
  10. 9 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(296): RefreshLinksJob->run()
  11. 10 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(193): JobRunner->executeJob(Object(RefreshLinksJob), Object(Wikimedia\Rdbms\LBFactorySimple), Object(BufferingStatsdDataFactory), xxxxxxx)
  12. 11 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  13. 12 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  14. 13 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  17. 16 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  18. 17 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  19. 18 {main}

[DBPerformance] Expectation (writes <= 0) by MediaWiki::restInPeace not met (actual: 5): query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: REPLAC...', 5)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: REPLAC...', xxxxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('REPLACE INTO `o...', 'REPLACE /* SqlB...', true, 'SqlBagOStuff::s...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2741): Wikimedia\Rdbms\Database->query('REPLACE INTO `o...', 'SqlBagOStuff::s...')
  5. 4 /var/lib/mediawiki/includes/libs/rdbms/database/DatabaseMysqlBase.php(516): Wikimedia\Rdbms\Database->nativeReplace('`objectcache`', Array, 'SqlBagOStuff::s...')
  6. 5 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(361): Wikimedia\Rdbms\DatabaseMysqlBase->replace('objectcache', Array, Array, 'SqlBagOStuff::s...')
  7. 6 /var/lib/mediawiki/includes/objectcache/SqlBagOStuff.php(376): SqlBagOStuff->setMulti(Array, 11)
  8. 7 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(1820): SqlBagOStuff->set('WANCache:v:my_w...', 'PURGED:xxxxxxxxxx', 11)
  9. 8 /var/lib/mediawiki/includes/libs/objectcache/WANObjectCache.php(618): WANObjectCache->relayPurge('WANCache:v:my_w...', 11, 0)
  10. 9 /var/lib/mediawiki/includes/actions/InfoAction.php(78): WANObjectCache->delete('WANCache:v:my_w...')
  11. 10 /var/lib/mediawiki/includes/jobqueue/jobs/RefreshLinksJob.php(286): InfoAction::invalidateCache(Object(Title))
  12. 11 /var/lib/mediawiki/includes/jobqueue/jobs/RefreshLinksJob.php(126): RefreshLinksJob->runForTitle(Object(Title))
  13. 12 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(296): RefreshLinksJob->run()
  14. 13 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(193): JobRunner->executeJob(Object(RefreshLinksJob), Object(Wikimedia\Rdbms\LBFactorySimple), Object(BufferingStatsdDataFactory), xxxxxxxxx)
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  17. 16 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  18. 17 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  19. 18 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  20. 19 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  21. 20 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  22. 21 {main}

[DBQuery] RefreshLinksJob::runForTitle: committing on behalf of RefreshLinksJob::run. [runJobs] refreshLinksPrioritized Getting_Started rootJobTimestamp=xxxxxxxxx useRecursiveLinksUpdate=1 triggeringUser={"userId":xx,"userName":"xxxxxxxxxxxx"} triggeringRevisionId=xxxx causeAction=edit-page causeAgent=xxxxxxxxxxx requestId=xxxxxxxx (id=xx,timestamp=xxxxxxxxxx) t=xx good [DBPerformance] Expectation (writes <= 0) by MediaWiki::restInPeace not met (actual: 6): query-m: DELETE FROM `job` WHERE job_cmd = 'X'

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: DELETE...', 6)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: DELETE...', xxxxxxxxxxx, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('DELETE FROM `jo...', 'DELETE /* JobQu...', true, 'JobQueueDB::doA...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2845): Wikimedia\Rdbms\Database->query('DELETE FROM `jo...', 'JobQueueDB::doA...')
  5. 4 [internal function]: Wikimedia\Rdbms\Database->delete('`job`', 'job_cmd = 'refr...', 'JobQueueDB::doA...')
  6. 5 /var/lib/mediawiki/includes/libs/rdbms/database/DBConnRef.php(49): call_user_func_array(Array, Array)
  7. 6 /var/lib/mediawiki/includes/libs/rdbms/database/DBConnRef.php(409): Wikimedia\Rdbms\DBConnRef->__call('delete', Array)
  8. 7 /var/lib/mediawiki/includes/jobqueue/JobQueueDB.php(481): Wikimedia\Rdbms\DBConnRef->delete('job', Array, 'JobQueueDB::doA...')
  9. 8 /var/lib/mediawiki/includes/jobqueue/JobQueue.php(413): JobQueueDB->doAck(Object(RefreshLinksJob))
  10. 9 /var/lib/mediawiki/includes/jobqueue/JobQueueGroup.php(282): JobQueue->ack(Object(RefreshLinksJob))
  11. 10 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(195): JobQueueGroup->ack(Object(RefreshLinksJob))
  12. 11 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  13. 12 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  14. 13 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  17. 16 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  18. 17 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  19. 18 {main}

Request ended normally [session] Saving all sessions on shutdown [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "x.x.x.x",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 610 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "x.x.x.x",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 612 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "x.x.x.x",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 614 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.

  1. 0 /var/lib/mediawiki/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: DELETE...', 6)
  2. 1 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: DELETE...', 1533050713.7156, true, 1)
  3. 2 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('DELETE FROM `jo...', 'DELETE /* JobQu...', true, 'JobQueueDB::doA...')
  4. 3 /var/lib/mediawiki/includes/libs/rdbms/database/Database.php(2845): Wikimedia\Rdbms\Database->query('DELETE FROM `jo...', 'JobQueueDB::doA...')
  5. 4 [internal function]: Wikimedia\Rdbms\Database->delete('`job`', 'job_cmd = 'refr...', 'JobQueueDB::doA...')
  6. 5 /var/lib/mediawiki/includes/libs/rdbms/database/DBConnRef.php(49): call_user_func_array(Array, Array)
  7. 6 /var/lib/mediawiki/includes/libs/rdbms/database/DBConnRef.php(409): Wikimedia\Rdbms\DBConnRef->__call('delete', Array)
  8. 7 /var/lib/mediawiki/includes/jobqueue/JobQueueDB.php(481): Wikimedia\Rdbms\DBConnRef->delete('job', Array, 'JobQueueDB::doA...')
  9. 8 /var/lib/mediawiki/includes/jobqueue/JobQueue.php(413): JobQueueDB->doAck(Object(RefreshLinksJob))
  10. 9 /var/lib/mediawiki/includes/jobqueue/JobQueueGroup.php(282): JobQueue->ack(Object(RefreshLinksJob))
  11. 10 /var/lib/mediawiki/includes/jobqueue/JobRunner.php(195): JobQueueGroup->ack(Object(RefreshLinksJob))
  12. 11 /var/lib/mediawiki/includes/MediaWiki.php(1002): JobRunner->run(Array)
  13. 12 /var/lib/mediawiki/includes/MediaWiki.php(988): MediaWiki->triggerSyncJobs(1, Object(MediaWiki\Logger\LegacyLogger))
  14. 13 /var/lib/mediawiki/includes/MediaWiki.php(912): MediaWiki->triggerJobs()
  15. 14 /var/lib/mediawiki/includes/MediaWiki.php(727): MediaWiki->restInPeace('normal', true)
  16. 15 /var/lib/mediawiki/includes/MediaWiki.php(750): MediaWiki->{closure}()
  17. 16 /var/lib/mediawiki/includes/MediaWiki.php(557): MediaWiki->doPostOutputShutdown('normal')
  18. 17 /var/lib/mediawiki/index.php(42): MediaWiki->run()
  19. 18 {main}

Request ended normally [session] Saving all sessions on shutdown [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "134.130.1.109",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 610 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "134.130.1.109",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 612 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [caches] cluster: SqlBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB [DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {

   "IPAddress": "134.130.1.109",
   "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko\/20100101 Firefox\/60.0",
   "ChronologyProtection": false,
   "ChronologyPositionIndex": 0

} [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'. [SQLBagOStuff] Connection 614 will be used for SqlBagOStuff [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'. [DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.

Daniel schuerhoff (talkcontribs)
Cindy.cicalese (talkcontribs)

I just tested UserAgreement 1.0.1 with MediaWiki 1.31.0, and it worked correctly. The useragreement table will stay empty until the agreement is accepted, so it makes sense that it remains empty if the agreement is never rendered. Are there any errors in the JavaScript console? I suspect that a JavaScript error is preventing the display of the agreement.

Daniel schuerhoff (talkcontribs)

JavaScript console did not really help, but I managed to find the problem by reading through

UserAgreement.php

which looks for a page called Mediawiki:Useragreement instead of the documented Mediawiki:UserAgreement which I created.

So capitalization matters and now that I added a page like that, it works like a charm. Thank you for the extension, I will make fix the documentation momentarily. You might consider making that case-insensitive in the future, but for the meantime I will make sure to point that constraint out in the extension page.