Skin talk:Timeless

About this board

Previous discussion was archived at Skin talk:Timeless/Archive 1 on 28 April 2021.

Issue with search result navigation

2
RajanD100 (talkcontribs)

This happens to me with every skin besides default, so I wasn't sure where to put this. But,

When I search something and try navigating through the suggestions up or down with arrow keys, the search selection jumps randomly instead of progressing through each result.

Tacsipacsi (talkcontribs)

Unfortunately, this is far too little information to even understand the bug. Please see w:WP:JSERROR for how to report a bug. In addition to the pieces of information listed there, please also tell us which wiki you experience this on (with a link if it’s not a Wikimedia wiki, or the MediaWiki and skin versions as listed on Special:Version if you can’t share a link for some reason).

Reply to "Issue with search result navigation"

How do I get the code for the skin?

6
AJlikeSUAVE (talkcontribs)

How do I get the code for the skin?

Samwilson (talkcontribs)
AJlikeSUAVE (talkcontribs)

It just says "Not Found". Weird...

Jack Phoenix (talkcontribs)

Seems like the correct gerrit URL is https://gerrit.wikimedia.org/g/mediawiki/skins/Timeless (/g/, not /r/). Took me a while to figure it out as well. At least the GitHub mirror repositories have an easy-to-remember URL structure, and you can always use things like Phabricator's search etc. to try to locate a(nother) mirror most gerrit repos are mirrored on both Diffusion (in Phabricator) and GitHub as well.

Samwilson (talkcontribs)

That's true, for browsing the repo, but git clone https://gerrit.wikimedia.org/r/mediawiki/skins/Timeless (with the /r/ URL)does work for cloning it.

This post was hidden by Tacsipacsi (history)
Reply to "How do I get the code for the skin?"
Spiros71 (talkcontribs)

This was available in the skin's TimelessTemplate.php up to 1.31

$html .= Html::rawElement( 'form', [ 'action' => $this->get( 'wgScript' ), 'id' => 'searchform' ],
	Html::rawElement( 'div', [ 'id' => 'simpleSearch' ],
		Html::rawElement( 'div', [ 'id' => 'searchInput-container' ],
			$this->makeSearchInput( [
				'id' => 'searchInput'
				'placeholder' => $this->getMsg( 'timeless-search-placeholder' )->text(),
			] )
		) .

I tried to apply to 1.39 version of the skin (by also adding below line in en.json)

"timeless-search-placeholder": "Search {{NUMBEROFARTICLES}} pages",

But I got parsing errors. Can someone recommend the best way to bring this functionality back?

Reply to "Search x pages"

Source editor sizing on 1.42?

1
MahtMBah (talkcontribs)

I admin several wikis on Miraheze and Timeless is my skin of choice in majority of cases. The farm just updated MediaWiki to 1.42 and I noticed source editor started behaving differently in Timeless - it's trying to fit the entire editor, with bottom block (with summary/save/show/cancel) into window size (either actually windowed or full screen on my modest laptop), resulting in pretty small actual editor area, while it wasn't an issue before. Disabling all custom CSS/JS doesn't do anything, the issue remains. It doesn't replicate here tho, but mw.org is on 1.43. Was it a legit problem that got fixed or it's something funky on farm's side?

UPD: With another user came to conclusion that there's something with CodeMirror extension; turning off syntax highlight brings normal sizing back, however some other Timeless wikis on Miraheze with syntax highlight don't have such problem.

Reply to "Source editor sizing on 1.42?"

Where do i find technical support?

1
Summary by Tacsipacsi
AuguMaugu (talkcontribs)

In iphone 14 in chrome browser on desktop mode. WP:ANI looks like this:

template bug on iphone 14 using chrome browser in desktop mode

AuguMaugu (talk) 01:10, 6 July 2024 (UTC)

Can't uncollapse sections when using Timeless with MobileFrontend

2
129.27.203.22 (talkcontribs)

when using the Timeless skin in MediaWiki 1.41 with Extension:MobileFrontend, all sections in pages except the first section are collapsed and can't be un-collapsed. setting the <code>$wgMFCollapseSectionsByDefault</code> setting to false does not help.

Is this a bug? Is this a bug of Skin:Timeless or Extension:MobileFrontend?

Jack Phoenix (talkcontribs)

If memory serves me correctly, MobileFrontend has a lot of content processing built into it. I guess the bigger question is simply: why would you be using both at the same time? Timeless is responsive out-of-the-box and should provide a nice, usable view for mobile users just as well as traditional desktop users. (I'm just trying to understand the use case here.) Regardless, it's likely more to do with MobileFrontend as MF is "actively" being developed, i.e. it's more likely to receive significant amounts of new code, whereas Timeless is currently decently feature-complete (which, contrary to popular belief, is not a bad thing at all) and thus more stable.

Reply to "Can't uncollapse sections when using Timeless with MobileFrontend"

Move mw-portlet-body up?

2
WhichBrain (talkcontribs)

Hello! I'm trying to implement Timeless on a 1.41 wiki, moving from the old Vector skin. I like the overall look of Timeless, but one thing bothers me:

The mw-portlet-body row with discussion links, watch, version history etc. kind of breaks the flow as it is ordered below the page title (the first-heading).

Is it possible to move the mw-portlet-body row to above the first-heading (to the level of mw-indicators)? If so, how can I do this?

Tacsipacsi (talkcontribs)

I’m not sure if it’s possible, but Vector-2022 (which had quite some user research put in it) also moved those link below the title, so maybe it’s actually what more users expect?

Reply to "Move mw-portlet-body up?"
70.80.227.121 (talkcontribs)

Hi, non-breaking spaces are not displaying correctly (inserted both with HTML syntax and using the template). On mobile and while logged out, they display fine, but when I'm logged in using this skin no space displays at all. Anyone else? Is this a bug?

Reply to "non-breaking spaces"

Sidebar and Hook SkinAfterPortlet

2
WikiForMen (talkcontribs)

I am currently answering a question regarding the setting of advertising banners in the sidebar. The extension WimaAdvertising does this job. However, the adverts appear in all skins, but not in skin Timeless, which is why I am wondering whether hook SkinAfterPortlet is supported in skin Timeless at all.

WikiForMen (talkcontribs)

Skin Timeless has an issue with Hook SkinAfterPortlet when the portlet is empty, that is, it contains no elements.

I made a dirty hack for the DonateButton and WimaAdvertising extension by inserting a default item.

Is it a bug? Is there a workaround for that?

So the injection by SkinAfterPortlet works with sidebar

* AD1
**something

The injection by SkinAfterPortlet is not displayed with sidebar

* AD1

The entiry Portlet "AD1" is not displayed. But - for example to display ads - it should work.

Reply to "Sidebar and Hook SkinAfterPortlet"

Is there a way to make this skin fullscreen?

1
2806:2F0:1000:A706:489C:7974:B9D1:7938 (talkcontribs)

Hi, I've been having some issues with the display. Some information is just not available in fullscreen (such as tables), and it makes articles hard to read. Is there an option to remove the side bars?

Reply to "Is there a way to make this skin fullscreen?"
Return to "Timeless" page.