Questions tagged [mediawiki-templates]

In MediaWiki, templates provide a way to include one page into other pages. This tag is for questions about template code and functionality.

From Help:Templates:

If you have standard texts you want to include on several pages, the MediaWiki template feature comes into play.

Templates are standard wiki pages whose content is designed to be transcluded (embedded) inside other pages. Templates follow a convention that the name is prefixed with "Template:", assigning it to that namespace; besides this, you can create them like any other wiki page.

191 questions
0
votes
1 answer

Semantic Mediawiki not tracking redirects

I have a few pages that I recently renamed (and updated all of the redirects), and ever since that time none of their redirects have been appearing in {{#ask}} queries based on their pagenames. For example, I have a page that I renamed from…
0
votes
1 answer

Horizontal scrolling skin for mediawiki

I want to create a mediawiki horizontal scrolling skin based on the wikipedia metro app. wikipedia metro github video of wikipedia metro The skin is intented for a normal website and not a metro app.So how can i convert the code that is already…
vkefallinos
  • 717
  • 1
  • 9
  • 24
0
votes
1 answer

Template variable substitution

I have a template with a parameter url (this works fine, I am able to output its value). I have a plugin that takes also a parameter path (this works fine when I hard code the value). I'd like to pass the {{{url}}} value from the template to my…
poussma
  • 7,033
  • 3
  • 43
  • 68
0
votes
1 answer

CSS and MediaWiki - auto-expanding a DIV correctly with absolute and relative DIVs

Here is my fiddle: http://jsfiddle.net/XKs8H/1/ And here's my problem: I'm creating a wiki using MediaWiki. I'm trying to avoid using a lot of extensions and third-party stuff in my installation. What I'm using is a MediaWiki Template to generate…
CXL
  • 1,094
  • 2
  • 15
  • 38
0
votes
1 answer

wikimedia api getting relavant data from json string

This is the question I asked yesterday. I was able to get the required data. The final data is like this. Please follow this link. I tried with the following code to get all the infobox data content =…
Krishna Deepak
  • 1,735
  • 2
  • 20
  • 31
-1
votes
1 answer

How can i edit right sidebar of "Timeless" Skin of Mediawiki?

I want to edit the right sidebar as shown in the below image. please suggest how can I edit this sidebar. Right sidebar of Timeless skin Mediawiki
-1
votes
1 answer

Different links in the logo depending on the selected language page

Please tell me how can I change the link address depending on the selected language of the site? If I use Russian language, the link of Main_Page/ru if the French Main_Page/fr. I puzzled over it for about a month and can't do it. Help me,…
-1
votes
2 answers

Collapsible infoboxes in MediaWiki

I am trying to make something like that: http://en.wikipedia.org/wiki/Bible On the right you'll see an infobox with buttons "Show": What i've done so far following this guide:…
Alexander Kim
  • 17,304
  • 23
  • 100
  • 157
-1
votes
1 answer

When creating MediaWiki skins, are there files to change other than [SkinName].php and the [skinname] directory?

I am creating a MediaWiki skin based on an existing skin. Per suggestion from multiple sources(including MediaWiki documentation) I have copied an existing skin's .php file and its associated directory. In both file names and in the files…
FLGMwt
  • 706
  • 4
  • 18
-2
votes
2 answers

Hand over parameters from a MediaWiki template to a included one

I'm using the MediaWiki extension DynamicPageList (third-party) which can be used as a template: {{#dpl: |category=foo |notcategory=bar }} I try to use this template in one of my templates which uses more parameter…
Ray
  • 99
  • 1
  • 7
-2
votes
1 answer

How do I force MediaWiki to evaluate a function with high priority?

I have a persistent issue with a default tag in a "show on select" form.
{{#show: MyPage | ?MyAttribute}} {|class="formtable" ! A: | {{{field|input type = text|default= {{#show SomePage | ?SomeAttribute}} }}} |- ! B: |…
user1258361
  • 1,133
  • 2
  • 16
  • 25
1 2 3
12
13