https://bugzilla.wikimedia.org/show_bug.cgi?id=73137

            Bug ID: 73137
           Summary: Wikia family nicepath is incorrect, but is functional
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to