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&titles=Template:Map 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 <[email protected]> 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&titles=Template:Artwork&format=jsonfm > > André Costa | GLAM-tekniker, Wikimedia Sverige | [email protected] | > +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 <[email protected]> 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=Template:Map/Proposal&format=jsonfm > [4] > http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=templatedata&titles=Template:Map/doc&format=jsonfm > [5] > http://commons.wikimedia.beta.wmflabs.org/w/api.php?action=templatedata&titles=Template:Map&format=jsonfm > > André Costa | GLAM-tekniker, Wikimedia Sverige | [email protected] | > +46 (0)733-964574 > > Stöd fri kunskap, bli medlem i Wikimedia Sverige. > Läs mer på blimedlem.wikimedia.se > > > _______________________________________________ > Glamtools mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/glamtools _______________________________________________ Glamtools mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/glamtools
