Skip to content
Browse files

Nicer descpription of Article#url and Article#talk_url

git-svn-id: svn://78.47.249.61/ruby-mediawiki/trunk@67 ba9c31aa-a806-0410-9a81-9f13d15ee83b
  • Loading branch information...
1 parent 2d593b6 commit 6c2a7c28fac4a8c44ceeb2e637827ffa16ff7242 neingeist committed Nov 21, 2006
Showing with 7 additions and 4 deletions.
  1. +7 −4 lib/mediawiki/article.rb
View
11 lib/mediawiki/article.rb
@@ -53,8 +53,9 @@ def full_name
##
# Return the URL of the article as configured
#
- # This will return a nice human-readable URL if your MediWiki
- # is configured that way, unlike Wiki#full_article_url
+ # This will return a nice human-readable URL if your MediaWiki
+ # is configured that way, unlike the generic URL returned by
+ # Wiki#full_article_url.
# result:: [String] URL
def url
uri = @wiki.url.dup
@@ -65,8 +66,10 @@ def url
##
# Return the URL of the talk page of the article
#
- # This will return a nice human-readable URL if your MediWiki
- # is configured that way.
+ # This will return a nice human-readable URL to the talk page
+ # of an article if your MediWiki is configured that way.
+ # For empty talk pages this will return an ugly URL just
+ # as MediaWiki dos.
# result:: [String] URL
def talk_url
uri = @wiki.url.dup

0 comments on commit 6c2a7c2

Please sign in to comment.
Something went wrong with that request. Please try again.