Page MenuHomePhabricator

Enable the MediaWiki Extension "Variables" for de.ws
Closed, DeclinedPublic

Description

I request a new Extension for the de.ws wiki. For some large Templates it is necessary to have local variables. https://www.mediawiki.org/wiki/Extension:Variables would fix this problem.

Event Timeline

THE_IT created this task.Nov 21 2016, 7:36 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 21 2016, 7:36 AM

Setting project to Wikimedia-Site-requests, as this request is about settings / configuration of a Wikimedia website.

For more information about how to request these kinds of changes, please see https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes

Restricted Application added subscribers: JEumerus, Matanya. · View Herald TranscriptNov 21 2016, 11:02 AM
Dereckson added a subscriber: Dereckson.EditedNov 21 2016, 11:10 AM

This extension isn't deployed on the Wikimedia cluster.

Please review T113859 for a previous declined request.

If you explain what your real problems are for templating, we can suggest more solutions, including:

  • gadgets
  • custom development in core or as a new extension
  • Lua templates

Thanks for the fast response. I have two parameter (1 and 2) in a template which activate under special circumstances several features. the {{#if ... statement for checking this two parameter is quite long. So I want to calculate a new local variable 3 out of 1 and 2 and use this parameter in further {{#if:... occurences in the template. So I want to do exactly what the extension would do. But I'm happy to use another workaround. To put the complete Template in a Lua Modul is not very ideal.

Reedy added a subscriber: Reedy.Nov 21 2016, 7:28 PM

As above, it's been previously declined, and there is no reason why it should be allowed this time; it looks similar to previous requests. Though, I don't think it's necessary to decline it yet.

Can you just port the problematic parts to Lua if porting the whole thing is problematic?

Noting, that Lua would be better future wise... Is there not an example on another wiki in Lua you could copy across?

Aklapper closed this task as Declined.Dec 21 2016, 6:19 AM

Unfortunately closing this report as no further information has been provided.

@THE_IT: Please reopen this report (by changing its status) after you have provided the information asked for. Thanks!