Anarchopedia:en:administration/Internal interwiki

From Anarchopedia
< Anarchopedia:en:administration
Revision as of 07:08, 10 November 2004 by Millosh (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);