Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 2f76cdd58b9a57a9772bb900e4f3b8219865cf93 1 parent 29ecf21
neingeist authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.