Every time I try to look up my editing statistics on French Wikipedia, it tells me that "fr.wikipedia.org is not a valid project". See screenshot:
Still broken for me. Steps to reproduce:
- In Firefox, go to http://xtools.wmflabs.org/ec
- Fill in "fr.wikipedia.org" as the project
- Fill in "Kaldari" as the Username
- Hit Submit.
If I try "en.wikipedia.org" it works fine, but any other wiki, like de.wikipedia.org or es.wikipedia.org causes it to give me the error consistently.
When it submits the form, it sends a request to http://xtools.wmflabs.org/api/normalizeProject/fr.wikipedia.org, which returns a 500 Internet Server error (often after waiting a long time).
The API that it is using works at the time of writing: http://xtools.wmflabs.org/api/namespaces/fr.wikipedia.org
Compare to http://xtools.wmflabs.org/api/namespaces/fr.wikipedia.orggg (invalid)
Good plan. Is it okay for a composer script to call composer install? I guess so. :-)
The prod script is currently:
#!/bin/bash export SYMFONY_ENV=prod cd /var/www git pull origin master composer install --no-dev --optimize-autoloader ./bin/console cache:clear --env prod ./bin/console assetic:dump --env prod
And similar on the staging server.
(I guess T167217 is the place for that discussion though.)