ja, i noticed that as well, so i added a null edit to Template:Map and that took care of
it. it seems that it depends on the order the pages are added. first Template:Map/doc,
then Template:Map. that got the templatedata to stick for Template:Map.
Template:Artwork is very odd. i add a null edit and the templatedata is there for a
moment, then gone. this is not a good sign. not sure what we can do about it for the
moment ...
o dan
On Sep 23, 2014, at 15:48 , André Costa <andre.costa(a)wikimedia.se> wrote:
Hum. Gone again. I did touch Map:Template to remove a
copy-pasted artefact referring to the Proposal so that might have triggered it. I can
however not revert to your version since doing that triggers the spamfilter.
I'll try it on Commons proper for now (it's just a pilot with a few images
anyway).
Thanks again for the assistance
André Costa | GLAM-tekniker, Wikimedia Sverige | Andre.Costa(a)wikimedia.se | +46
(0)733-964574
Stöd fri kunskap, bli medlem i Wikimedia Sverige.
Läs mer på blimedlem.wikimedia.se
On 23 September 2014 15:19, André Costa <andre.costa(a)wikimedia.se> wrote:
Thanks Dan.
I also just updated the templates manually since the Commons version contains some cruff
about it being a proposal.
Still your changes seem to have done the trick as I can now get to the next stage of the
GWoolset process.
Cheers,
André
P.S. Artwork is probably still down in case someone is intending to use that
André Costa | GLAM-tekniker, Wikimedia Sverige | Andre.Costa(a)wikimedia.se | +46
(0)733-964574
Stöd fri kunskap, bli medlem i Wikimedia Sverige.
Läs mer på blimedlem.wikimedia.se
On 23 September 2014 15:06, dan entous <dan.entous.wikimedia(a)gmail.com> wrote:
there are a few problems outstanding regarding beta and hhvm.
1. commons beta uses hvvm, facebook’s implementation of php, which currently makes it
impossible to update a template with Special:Import, not because of hhvm, but because hhvm
brings to the surface an issue with the Import.php script. i have added a patch set to
https://bugzilla.wikimedia.org/show_bug.cgi?id=66023, which would correct this issue, but
it hasn’t been accepted yet.
2. the original Template:Map on commons beta did not include templatedata. because of nr
1, a new version couldn't be uploaded with the Special:Export/Special:Import method.
3. i have just manually updated the beta Template:Map using a copy/paste of the commons
Template:Map/Proposal and Template:Map/Proposal/doc pages. this seems to have taken care
of the templatedata issue on beta:
http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=templatedata&…
4. vagrant and the puppet role for GWToolset also have an issue because of the issue with
Import.php, which i am trying to resolve, but haven't had any success with yet:
https://bugzilla.wikimedia.org/show_bug.cgi?id=69241
with kind regards,
dan
On Sep 23, 2014, at 14:55 , André Costa <andre.costa(a)wikimedia.se> wrote:
Update.
The fact that Artwork worked seems to have been a glitch which I accidentally corrected
by purging the template (see [1]).
Could this mean that betacommons does not recognise templateData in subpages?
Cheers,
André
[1]
http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=templatedata&…
André Costa | GLAM-tekniker, Wikimedia Sverige | Andre.Costa(a)wikimedia.se | +46
(0)733-964574
Stöd fri kunskap, bli medlem i Wikimedia Sverige.
Läs mer på blimedlem.wikimedia.se
On 23 September 2014 14:36, André Costa <andre.costa(a)wikimedia.se> wrote:
Hi all
I was trying to do some GWtoolset tests using the new Template:map [1] on betacommons
(equivalent to [2] on Commons proper) but I get an error message saying that there is no
TemplateData. The TemplateData is included through the TemplateBox on the documentation
subpage though.
I can't figure out what is going on since commons proper returns TemplateData [3],
and so does betacommons for the documentation subpage [4] but not for the actual page
[5].
It shouldn't be an issue with the TemplateData being in the documentation page since
this works fine for e.g. Artwork on betacommons.
Any help figuring this out would be welcome.
Cheers,
André
[1]
http://commons.wikimedia.beta.wmflabs.org/wiki/Template:Map
[2]
https://commons.wikimedia.org/wiki/Template:Map/Proposal
[3]
https://commons.wikimedia.org/w/api.php?action=templatedata&titles=Temp…
[4]
http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=templatedata&…
[5]
http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=templatedata&…
André Costa | GLAM-tekniker, Wikimedia Sverige | Andre.Costa(a)wikimedia.se | +46
(0)733-964574
Stöd fri kunskap, bli medlem i Wikimedia Sverige.
Läs mer på blimedlem.wikimedia.se
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools