Last modified: 2014-11-08 15:48:02 UTC
All of the Wikia families nicepath() values are incorrect for some of their sites. $ python pwb.py shell Welcome to the Pywikibot interactive shell! >>> import pywikibot >>> s = pywikibot.Site('en', 'lyricswiki') >>> s.nicepath() '/wiki/' The same occurs for families wikia and wowwiki. However the nicepath should be '' http://lyrics.wikia.com/Category:Artists_A Likewise the main Wikia and main WOW sites do not have a /wiki/ prefix http://www.wikia.com/Main_Page http://www.wowwiki.com/Portal:Main However Wikia has a redirect on the server from /wiki/ to / for those sites. However the /wiki/ is needed for some sites. http://cs.wow.wikia.com/wiki/Hlavn%C3%AD_strana works But http://cs.wow.wikia.com/Hlavn%C3%AD_strana redirects to http://cs.wow.wikia.com/wiki/Speci%C3%A1ln%C3%AD:Our So keeping the nicepath as /wiki/ is necessary, and we have to hope Wikia has redirects in place for all wikis where the wiki nice titles are not located at /wiki/Foo
Note that I have a patch pending re Wikia family at https://gerrit.wikimedia.org/r/#/c/171616/ , and more to come
(In reply to John Mark Vandenberg from comment #0) > > However Wikia has a redirect on the server from /wiki/ to / for those sites. > > However the /wiki/ is needed for some sites. > > http://cs.wow.wikia.com/wiki/Hlavn%C3%AD_strana works > > But http://cs.wow.wikia.com/Hlavn%C3%AD_strana redirects to > http://cs.wow.wikia.com/wiki/Speci%C3%A1ln%C3%AD:Our > > So keeping the nicepath as /wiki/ is necessary, and we have to hope Wikia > has redirects in place for all wikis where the wiki nice titles are not > located at /wiki/Foo Yep, we do. There are only about 26 or so wikis on Wikia that use short URLs without the /wiki/, the rest all use the standard /wiki/$1 article path. All those that do have short URLs have redirects from /wiki/.