[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2013-08-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #8 from denny vrandecic denny.vrande...@wikimedia.de ---
Closed older resolved bugs as verified.

-- 
You are receiving this mail because:
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


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Depends on||42948

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

Bug 42825 depends on bug 42948, which changed state.

Bug 42948 Summary: Revision::getRevisionText should take wiki identifier
https://bugzilla.wikimedia.org/show_bug.cgi?id=42948

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
fixed by Change I14a7ebb8: (bug 42948) $wiki parameter for getRevisionText().

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

Quim Gil q...@wikimedia.org changed:

   What|Removed |Added

 CC||q...@wikimedia.org
   Assignee|wikidata-bugs@lists.wikimed |daniel.kinz...@wikimedia.de
   |ia.org  |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

Aude aude.w...@gmail.com changed:

   What|Removed |Added

Summary|Wikidata test client can't  |test2.wikipedia can't load
   |load wikidata.org's |wikidata.org's revision
   |revision content from ES|content from ES

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

Aaron Schulz aschulz4...@gmail.com changed:

   What|Removed |Added

 CC||aschulz4...@gmail.com

--- Comment #5 from Aaron Schulz aschulz4...@gmail.com ---
As brion remarked on IRC, the external store servers have a DB for each wiki.
If you look at addWiki.php you can see how each cluster master has the new DB
initialized for a new wiki. Also see storage/blobs.sql. In order to access text
blobs saved from a foreign wiki, one would need to change getRevisionText() to
pass down some optional wiki ID and change ExternalStore to except it. So if
you know you are fetching a text for wikidatawiki that wiki ID could be passed
in.

This is a case of some subtle global state (the wiki ID is assumed to be the
current wiki ID).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 42825] test2.wikipedia can't load wikidata.org's revision content from ES

2012-12-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=42825

--- Comment #6 from Aaron Schulz aschulz4...@gmail.com ---
(In reply to comment #3)
 In eval.php, try this:
 
 $row = new stdClass();
 $row-old_text = DB://cluster25/316188;
 $row-old_flags = utf-8,gzip,external;
 Revision::getRevisionText( $row );
 
 Apparently, when Chad tried this, it worked. Yet, if tried in a web request,
 it
 fails...

Works when run on wikidatawiki, not elsewhere.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l