Page MenuHomePhabricator

Add nap.wikisource to Wikistats
Closed, ResolvedPublic

Description

Please add nap.wikisource.org when the wiki is created, thanks.

Process: T140970#2531977 et seq.

Event Timeline

MarcoAurelio changed the task status from Open to Stalled.Jan 3 2019, 7:47 PM
MarcoAurelio created this task.
Xqt changed the task status from Stalled to Open.Apr 22 2019, 8:06 AM
Xqt subscribed.

site is online now

MariaDB [wikistats]> insert into wikisources (prefix,lang,loclang,loclanglink,method) values ('nap', 'Neapolitan', 'Nnapulitano', 'Lengua napulitana', '8');
Query OK, 1 row affected (0.00 sec)

sudo -u wikistatsuser /usr/bin/php /usr/lib/wikistats/update.php ws prefix nap
sent query: 'select * from wikisources where prefix="nap"'.
A(1/70) - nap.wikisource.org - calling API: https://nap.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5
-> http answer: 302 -> parsing answer: 1
---> ERROR - fetching via HTTP failed: id 80 (https://nap.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=php&maxlag=5) 

---> update wikisources set http="302" where id="80";

site is online now

Can't confirm. http://nap.wikisource.org/ still redirects to just http://wikisource.org/

Dzahn changed the task status from Open to Stalled.Apr 23 2019, 10:39 PM

@Xqt What happened? Was it reverted?

@Dzahn Is Nnapulitano correct? {{#language:nap}} returns Napulitano.

MarcoAurelio changed the task status from Stalled to Open.Aug 16 2019, 4:47 PM

@Dzahn Is Nnapulitano correct? {{#language:nap}} returns Napulitano.

Depending on the context, but both are correct. Double "n" is general for when the adjective is neutral. You can use "Napulitano" without any worries. Thanks

If Nnapulitano is correct as well then I said nothing :)

Yes, it is already done.

MariaDB [wikistats]> select prefix,lang,loclang from wikisources where prefix="nap";
+--------+------------+-------------+
| prefix | lang       | loclang     |
+--------+------------+-------------+
| nap    | Neapolitan | Nnapulitano |
+--------+------------+-------------+