LocDB Alpha 20080922 bugs

Please roport all bugs in the LocDB alpha testing version from 2008-09-22 here. Try to explain as excactly as possible:
 * what page(s) is/are affected
 * what part of the page
 * which location
 * what links or buttons you have hit
 * what browser you have used
 * when the bug has occured, date and time is important in order to identify the entry in the error logs
 * what you have done before
 * whether the bug is critical, normal or of low priority

Add a new section for each bug and sign your report. Before you write a new report, check the list of known bugs.

- (bug reports start here)

Images in main page are not shown
-- Gobbler 19:41, 22 September 2008 (UTC)


 * On which wiki? If you mean on it: or even de: or shared:, pls see LocDB Alpha 20080922. Not a bug, but a limitation of the testing environment. -- Hansm 19:56, 22 September 2008 (UTC)
 * Sorry, I mean it Gobbler 19:11, 28 September 2008 (UTC)

Recent changes displays target of meging, not the merged location
I merged Ldb:de:Schottland with Ldb:shared:Scotland. The recent changes say: "Ldb:shared:Scotland‎; 21:47 (merged with Ldb:shared:Scotland)". Is it the same bug as Recent_changes_and_revision_history_show_internal_location_titles?


 * Yes. The problem is that I can't refere to the original locations by their old aliases because they have been merged to one location that now has all aliases of the previously separated locations. At the other hand, if a sysop merges two locations with aliases for the same interwiki prefix, one of the old aliases can be kept and the comment of the edit would make sense. This is somewhat tricky and it always makes me confused myself. So far, I don't have a real idea how to solve this problem. Maybe it would be the best not make a link to the second location but simply write some of its aliases as text into the comment. -- Hansm 21:53, 23 September 2008 (UTC)


 * Now it seems fine: "Ldb:shared:Moldova‎; 20:03 (merged with Ldb:de:Moldawien)". This solution is absolutely sufficient. Thanks. LukeWestwalker ⇔ 11:35, 26 September 2008 (UTC)


 * Hm, I didn't do any modifications on the code ;-) -- Hansm 15:35, 26 September 2008 (UTC)


 * Ok, so not a solution, but still sufficient. If it persists (as I'll do more merging anyway) we recall it a bug. LukeWestwalker ⇔ 17:41, 26 September 2008 (UTC)
 * Well it persists, and looks almost random at first glance: "Ldb:shared:Transnistria‎; 18:52 (merged with Ldb:shared:Transnistria)", while I expected rather "Ldb:shared:Transnistria‎; 18:52 (merged with Ldb:de:Transnistrien)" according to the pattern I noticed previously and quoted above. LukeWestwalker ⇔ 16:57, 28 September 2008 (UTC)


 * Fixed now for normal cases. -- Hansm 16:49, 4 October 2008 (UTC)

Baku

 * Check Baku article in :it, please. A added "Contents column" appears on the bottom. I was unable to fix it Gobbler 19:18, 28 September 2008 (UTC)
 * BTW - just noticed in http://www.wikivoyage.org/it9/Baku TOC is fine. LukeWestwalker ⇔ 08:33, 29 September 2008 (UTC)
 * This was just a forgotten ">" for the sleep tag. It has nothing to do with the locDB which only affects the testing wiki it9, not the productive it:. -- Hansm 09:16, 29 September 2008 (UTC)

aliases on shared:
There is no alias to de:Phnom Penh on shared: But there is a interwiki-Link on de: to the existing Category on shared:. Was there a problem during the processing the interwiki-links when you "feeded" the database, or did you wanted it? -- DerFussi 08:51, 7 October 2008 (UTC)


 * There is a lot of articles that cause logical problems for the automatical data import. In this case, the bc trails lead to different parents: For shared:Category:Phnom Penh, it is

Index > Countries > Cambodia > Phnom Penh but the trail for de:Phnom Penh is Welt > Asien > Südostasien > Kambodscha > Phnom Penh


 * When the data import script tried to import shared:Category:Phnom Penh, it first had to create its parent locations. This has failed since "Countries" is no valid location. For this reason, no location for shared:Phnom Penh could be created. If the parent of shared:Category:Cambodia were shared:Category:Asia, it had worked.


 * -- Hansm 12:38, 7 October 2008 (UTC)

Automap DB error on table amvoro
Sie taucht nicht immer auf, aber so mit schöner Regelmäßigkeit zum wiederholten Mal beim Aufruf von Kinzigtal (Schwarzwald). Einige Zeit später ist sie meist wieder verschwunden, und alles sieht normal aus.

A database error has occurred Query: INSERT INTO amvoro (amv_proj,amv_sloc,amv_md5,amv_facet,amv_area,amv_lblpoint) SELECT 2667,vl_loc,vl_md5,NULL,0,NULL FROM voroloc WHERE vl_loc = '18277' Function: LdbAutoMap::insertAMVoro Error: 1 ERROR: null value in column "amv_md5" violates not-null constraint

Backtrace:


 * 1) 0 /home/www/mediawiki-1.13.1/includes/db/Database.php(564): DatabasePostgres->reportQueryError('ERROR: null va...', 1, 'INSERT INTO am...', 'LdbAutoMap::ins...', false)
 * 2) 1 /home/www/mediawiki-1.13.1/includes/db/Database.php(1732): Database->query('INSERT INTO am...', 'LdbAutoMap::ins...')
 * 3) 2 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/AMap.php(774): Database->insertSelect('amvoro', 'voroloc', Array, Array, 'LdbAutoMap::ins...')
 * 4) 3 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/AMap.php(732): LdbAutoMap->insertAMVoro(Array)
 * 5) 4 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/AMap.php(1124): LdbAutoMap->updateAMVoroInsert
 * 6) 5 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/AMap.php(1042): LdbAutoMap->generateSysImg(10)
 * 7) 6 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/Hooker.php(58): LdbAutoMap->generateSysImgForLocation
 * 8) 7 [internal function]: LdbAutoMapHooker::onSysImageDoesntExist(Object(ForeignDBSysFile), true)
 * 9) 8 /home/www/mediawiki-1.13.1/includes/Hooks.php(117): call_user_func_array(Array, Array)
 * 10) 9 /home/www/mediawiki-1.13.1/extensions/SysImage/SysFile.php(442): wfRunHooks('SysImageDoesntE...', Array)
 * 11) 10 /home/www/mediawiki-1.13.1/includes/filerepo/FileRepo.php(96): SysFile->exists
 * 12) 11 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/Hooker.php(106): FileRepo->findFile('AutoMap-Loc1808...', 0)
 * 13) 12 /home/www/locDB2-mw-1.11.0/extensions/LocDB/AutoMap/Hooker.php(80): LdbAutoMapHooker::funcAutoMap(Object(Parser), 'click')
 * 14) 13 [internal function]: LdbAutoMapHooker::tagAutoMap('', Array, Object(Parser))
 * 15) 14 /home/www/mediawiki-1.13.1/includes/parser/Parser.php(3287): call_user_func_array(Array, Array)
 * 16) 15 /home/www/mediawiki-1.13.1/includes/parser/CoreParserFunctions.php(383): Parser->extensionSubstitution(Array, Object(PPTemplateFrame_DOM))
 * 17) 16 [internal function]: CoreParserFunctions::tagObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
 * 18) 17 /home/www/mediawiki-1.13.1/includes/parser/Parser.php(2860): call_user_func_array(Array, Array)
 * 19) 18 /home/www/mediawiki-1.13.1/includes/parser/Preprocessor_DOM.php(915): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
 * 20) 19 /home/www/mediawiki-1.13.1/includes/parser/Parser.php(2986): PPFrame_DOM->expand(Object(PPNode_DOM))
 * 21) 20 /home/www/mediawiki-1.13.1/includes/parser/Preprocessor_DOM.php(915): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
 * 22) 21 /home/www/mediawiki-1.13.1/includes/parser/Parser.php(2678): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
 * 23) 22 /home/www/mediawiki-1.13.1/includes/parser/Parser.php(966): Parser->replaceVariables('{{LdbAutoMap|cl...')
 * 24) 23 /home/www/mediawiki-1.13.1/includes/parser/Parser.php(321): Parser->internalParse('{{LdbAutoMap|cl...')
 * 25) 24 /home/www/mediawiki-1.13.1/includes/Article.php(3390): Parser->parse('{{LdbAutoMap|cl...', Object(Title), Object(ParserOptions), true, true, 298786)
 * 26) 25 /home/www/mediawiki-1.13.1/includes/Article.php(865): Article->outputWikiText('{{LdbAutoMap|cl...')
 * 27) 26 /home/www/mediawiki-1.13.1/includes/Wiki.php(437): Article->view
 * 28) 27 /home/www/mediawiki-1.13.1/includes/Wiki.php(59): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 29) 28 /home/www/mediawiki-1.13.1/index.php(93): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
 * 30) 29 {main}