Last modified: 2013-02-06 16:24:49 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 T46548, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44548 - Undefined index repoScriptPath and repoUrl
Undefined index repoScriptPath and repoUrl
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-31 13:42 UTC by Aude
Modified: 2013-02-06 16:24 UTC (History)
4 users (show)

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


Attachments

Description Aude 2013-01-31 13:42:31 UTC
I am seeing the following in my error log when accessing my repo.

repoScriptPath and repoUrl are client settings.

PHP Notice:  Undefined index: repoUrl in /var/www/common/php-master/extensions/Wikibase/lib/includes/modules/RepoAccessModule.php on line 49, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP Stack trace:, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   1. {main}() /var/www/common/live-1.5/load.php:0, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   2. require() /var/www/common/live-1.5/load.php:3, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   3. ResourceLoader->respond() /var/www/common/php-master/load.php:47, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   4. ResourceLoader->makeModuleResponse() /var/www/common/php-master/includes/resourceloader/ResourceLoader.php:497, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   5. Wikibase\\RepoAccessModule->getScript() /var/www/common/php-master/includes/resourceloader/ResourceLoader.php:715, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP Notice:  Undefined index: repoScriptPath in /var/www/common/php-master/extensions/Wikibase/lib/includes/modules/RepoAccessModule.php on line 50, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP Stack trace:, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   1. {main}() /var/www/common/live-1.5/load.php:0, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   2. require() /var/www/common/live-1.5/load.php:3, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   3. ResourceLoader->respond() /var/www/common/php-master/load.php:47, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   4. ResourceLoader->makeModuleResponse() /var/www/common/php-master/includes/resourceloader/ResourceLoader.php:497, referer: http://en-wikidata.localhost/wiki/Item:Q80
[Thu Jan 31 13:29:24 2013] [error] [client 69.164.222.250] PHP   5. Wikibase\\RepoAccessModule->getScript() /var/www/common/php-master/includes/resourceloader/ResourceLoader.php:715, referer: http://en-wikidata.localhost/wiki/Item:Q80
Comment 1 Wikidata Bot 2013-01-31 17:01:43 UTC
Change I9b1d706b: (bug 44548) Fix JS error if repoScriptPath or repoUrl settings not defined
Comment 2 Alex Monk 2013-02-01 15:57:47 UTC
(In reply to comment #1)
> Change I9b1d706b: (bug 44548) Fix JS error if repoScriptPath or repoUrl
> settings not defined


Merged by Daniel Werner.
Comment 3 abraham.taherivand 2013-02-06 16:24:49 UTC
Verified in Wikidata demo sprint 31

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


Navigation
Links