https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
Jackmcbarn jackmcbarn+w...@gmail.com changed:
What|Removed |Added
CC|
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #8 from FelixReimann fe...@fex-it.de ---
Another example: The module under test behaves differently depending on the
namespace:
if mw.title.getCurrentTitle().nsText == 'Module' then
mw.log('found Module namespace')
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
Lydia Pintscher lydia.pintsc...@wikimedia.de changed:
What|Removed |Added
Priority|Unprioritized |High
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
Brad Jorsch bjor...@wikimedia.org changed:
What|Removed |Added
Component|Scribunto |WikidataClient
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #2 from Marius Hoch h...@online.de ---
(In reply to Brad Jorsch from comment #1)
[...]
At any rate, the bug is in WikidataRepo, not Scribunto, so reassigning.
I think what's meant over here is the debug console on action edit (it
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #3 from FelixReimann fe...@fex-it.de ---
Marius is right: The missing tracking feature prohibits a module to display the
data for a different item, with mw.wikibase.getEntityObject('Q1234'). This is
not the problem.
However, most
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #4 from Brad Jorsch bjor...@wikimedia.org ---
(In reply to Marius Hoch from comment #2)
I think what's meant over here is the debug console on action edit (it
should be possible to set a context title over there). So this is not
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #5 from Marius Hoch h...@online.de ---
(In reply to Brad Jorsch from comment #4)
(In reply to Marius Hoch from comment #2)
I think what's meant over here is the debug console on action edit (it
should be possible to set a
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #6 from Brad Jorsch bjor...@wikimedia.org ---
(In reply to Marius Hoch from comment #5)
Wikibase uses mw.title.getCurrentTitle() to get the title of the current
page. This should be mockable in the Lua debug console on the edit
https://bugzilla.wikimedia.org/show_bug.cgi?id=63623
--- Comment #7 from Marius Hoch h...@online.de ---
(In reply to Brad Jorsch from comment #6)
If Wikibase wants a mockable title, it should take a frame somehow and use
frame:getTitle(). That's what frames are for. Or it could just take a
10 matches
Mail list logo