Last modified: 2014-07-30 12:45:20 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 T68662, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66662 - test behavior of double-redirects for entity redirects
test behavior of double-redirects for entity redirects
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=2 s=2014-07-29
:
Depends on:
Blocks: 66067
  Show dependency treegraph
 
Reported: 2014-06-16 13:24 UTC by Daniel Kinzler
Modified: 2014-07-30 12:45 UTC (History)
4 users (show)

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


Attachments

Description Daniel Kinzler 2014-06-16 13:24:07 UTC
The automatic resolution of double-redirects relies on title-based redirects; but at present, knowing the target title is not sufficient for creating an EntityContent representing a redirect, which also needs the entity ID to be redirected.
Comment 1 Daniel Kinzler 2014-07-30 12:44:21 UTC
EntityHandle::makeRedirectContent() always fails, since an EntityRedirect needs to know it's own ID. Because of this, the generic method of creating redirects, as used by MediaWiki core, will fail.

Some manual testing revealed to following:

* EntityView can not display entities that *reference* double-redirects (critical, filed as bug 68852)
* maintenance/fixDoubleRedirects.php will skip and report double-redirects of entities.
* Creating a chain of redirects using wbcreateredirect works as expected.
* Automatic creation of redirects on page moves is not an issue, since entity pages cannot be moved.
Comment 2 Daniel Kinzler 2014-07-30 12:45:20 UTC
investigation complete, remaining task is bug 68852.

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


Navigation
Links