mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2025-01-09 21:44:28 +00:00
9932fee563
Change-Id: Ia1f628b4f2e1af7d33dc6779a139c2800be82964
12 lines
327 B
Ruby
12 lines
327 B
Ruby
# Standard article page
|
|
class ArticlePage
|
|
include PageObject
|
|
|
|
page_url '<%= URI.encode(params[:article_name]) %>'\
|
|
'<%= URI.encode(params[:query_string]) if params[:query_string] %>'\
|
|
'<%= params[:hash] %>'
|
|
|
|
aside(:read_more, css: '.ra-read-more')
|
|
li(:read_more_cards, css: '.ext-cards-card')
|
|
end
|