Page MenuHomePhabricator

Look at using Lua for donatewiki
Closed, ResolvedPublic

Description

We have very complicated templates on donatewiki, that do things like read from GET query parameters. Perhaps we should consider porting some of the trickier stuff to Lua.

Event Timeline

awight raised the priority of this task from to Needs Triage.
awight updated the task description. (Show Details)
awight added a project: Wikimedia-Fundraising.
awight added subscribers: awight, Pcoombe.
atgo set Security to None.
atgo subscribed.

@awight @Pcoombe what would merit this change? I'm trying to figure out priority.

Donate wiki is a bit of a mess, but it's stable. Also it's now only used for a small portion of donations (those not from banners).

Lua might help improve code maintainability, and slightly improve performance (?) but realistically I'd have to say this is a low priority.

Pcoombe added a project: Wikimedia-Fundraising.
Pcoombe moved this task from Inbox to Donatewiki issues on the Wikimedia-Fundraising board.
Pcoombe claimed this task.

I've rewritten a few of the trickier templates to use Lua now. It does make the code much clearer, will probably do some more later.

https://donate.wikimedia.org/wiki/Module:Main