Anarchopedia:en:administration/Internal interwiki

From Anarchopedia
Jump to: navigation, search

SQL code shoud be something like:

We should take care about ISO 639 standard, but...

 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('deu','http://deu.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('de','http://deu.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('eng','http://eng.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('en','http://eng.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('epo','http://epo.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('eo','http://epo.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('spa','http://spa.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('es','http://spa.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('fra','http://fra.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('fr','http://fra.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ina','http://ina.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ia','http://ina.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ine','http://ine.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ie','http://ine.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ita','http://ita.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('it','http://ita.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('zbk','http://zbk.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('zb','http://zbk.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('w','http://www.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ww','http://www.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('www','http://www.anarchopedia.org/$1',1);

Initial SQL code is:

 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('w','http://www.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('ww','http://www.anarchopedia.org/$1',1);
 INSERT INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('www','http://www.anarchopedia.org/$1',1);