https://bugzilla.wikimedia.org/show_bug.cgi?id=65915

            Bug ID: 65915
           Summary: Flow: Interwiki exceptions from Special:WhatLinksHere
           Product: MediaWiki extensions
           Version: master
          Hardware: All
               URL: https://en.wikipedia.org/wiki/Special:WhatLinksHere/Fi
                    le:OUYA-Console-set-h.jpg
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: agarr...@wikimedia.org, dh...@wikimedia.org,
                    ebernhard...@wikimedia.org, mpinc...@wikimedia.org,
                    pandiculat...@gmail.com, sp...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

It seems asking for WhatLinkshere on one wiki causes exceptions when there are
links to it on another wiki.

Happens on enwiki for File:OUYA-Console-set-h.jpg, which I linked on mw.org,
also on enwiki for Talk:Sandbox, Template:Bug, etc. But this doesn't happen on
meta-wiki which is running the same version, or on mw.org.  Confusing.

Perhaps the Flow hook that tries to create a link on WhatLinksHereProp needs to
be more robust. Or maybe we need to run maintenance/FlowPopulateLinksTables.php
against multiple wikis.

Here's one:

2014-05-29 17:52:55 mw1076 enwiki: [12257f85]
/wiki/Special:WhatLinksHere/File:OUYA-Console-set-h.jpg   Exception from line
182 of
/usr/local/apache/common-local/php-1.24wmf5/extensions/Flow/includes/Model/Workflow.php:
Interwiki to mediawikiwiki not implemented 
#0
/usr/local/apache/common-local/php-1.24wmf5/extensions/Flow/includes/BaseUrlGenerator.php(171):
Flow\Model\Workflow->getArticleTitle()
#1
/usr/local/apache/common-local/php-1.24wmf5/extensions/Flow/includes/UrlGenerator.php(202):
Flow\BaseUrlGenerator->resolveTitle(NULL, Object(Flow\Model\UUID))
#2
/usr/local/apache/common-local/php-1.24wmf5/extensions/Flow/includes/ReferenceClarifier.php(50):
Flow\UrlGenerator->postLink(NULL, Object(Flow\Model\UUID),
Object(Flow\Model\UUID))
#3
/usr/local/apache/common-local/php-1.24wmf5/extensions/Flow/includes/ReferenceClarifier.php(28):
Flow\ReferenceClarifier->getObjectLink(Object(Flow\Model\UUID), 'post',
Object(Flow\Model\UUID))
#4 /usr/local/apache/common-local/php-1.24wmf5/extensions/Flow/Hooks.php(620):
Flow\ReferenceClarifier->getWhatLinksHereProps(Object(stdClass), Object(Title),
Object(Title))
#5 [internal function]: FlowHooks::onWhatLinksHereProps(Object(stdClass),
Object(Title), Object(Title), Array)
#6 /usr/local/apache/common-local/php-1.24wmf5/includes/Hooks.php(206):
call_user_func_array('FlowHooks::onWh...', Array)
#7
/usr/local/apache/common-local/php-1.24wmf5/includes/GlobalFunctions.php(4004):
Hooks::run('WhatLinksHerePr...', Array, NULL)
#8
/usr/local/apache/common-local/php-1.24wmf5/includes/specials/SpecialWhatlinkshere.php(329):
wfRunHooks('WhatLinksHerePr...', Array)
#9
/usr/local/apache/common-local/php-1.24wmf5/includes/specials/SpecialWhatlinkshere.php(272):
SpecialWhatLinksHere->listItem(Object(stdClass), Object(Title), Object(Title))

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to