http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11702
Revision: 11702
Author: legoktm
Date: 2013-06-30 02:03:30 +0000 (Sun, 30 Jun 2013)
Log Message:
-----------
Update documentation, ItemPage.getSiteLink() returns a string
Modified Paths:
--------------
branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py
===================================================================
--- branches/rewrite/pywikibot/page.py 2013-06-30 01:47:43 UTC (rev 11701)
+++ branches/rewrite/pywikibot/page.py 2013-06-30 02:03:30 UTC (rev 11702)
@@ -2510,7 +2510,7 @@
def getSitelink(self, site, force=False):
"""
- Returns a page object for the specific site
+ Returns the title (unicode string) for the specific site
site is a pywikibot.Site or database name
force will override caching
If the item doesn't have that language, raise NoPage