Skip to content
Browse files

Fix what_links_here_url to return URL and not nil

git-svn-id: svn://78.47.249.61/ruby-mediawiki/trunk@77 ba9c31aa-a806-0410-9a81-9f13d15ee83b
  • Loading branch information...
1 parent 29ecf21 commit 2f76cdd58b9a57a9772bb900e4f3b8219865cf93 neingeist committed Feb 9, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/mediawiki/article.rb
View
1 lib/mediawiki/article.rb
@@ -219,6 +219,7 @@ def unprotect(reason)
def what_links_here_url(count = nil)
url = @wiki.article_url("Special:Whatlinkshere/#{full_name}")
url << "&limit=#{count}" if count
+ url
end

0 comments on commit 2f76cdd

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