Topic on Project:Village Pump

Remove Wikibase landing page from translation

6
Dan Shick (WMDE) (talkcontribs)
Shirayuki (talkcontribs)
Dan Shick (WMDE) (talkcontribs)

My understanding was that the indirect template inclusion was necessary to implement the custom stylesheet via "templatestyles". Is that in fact unnecessary to have a custom stylesheet?

Shirayuki (talkcontribs)

It seems that the base page does not need to be a template, as it can be written as src=":Wikibase/styles.css".

Tacsipacsi (talkcontribs)

The only problem is that Wikibase/styles.css is wikitext by default. However, there are solutions:

  • An admin can go to Special:ChangeContentModel/Wikibase/styles.css and create it as a TemplateStyles stylesheet. (Or you can just move the page already created in the template namespace to the mainspace.)
  • Actually, it’s technically not necessary for the stylesheet to be a subpage of the page using it. Subpages help a lot us people to find the connection, but it’s not technically enforced. So you could include Template:Wikibase main page/styles.css directly from Wikibase.
Bawolff (talkcontribs)

I think if you just move the page to a new name it retains the content model.

Reply to "Remove Wikibase landing page from translation"