Siebrand has submitted this change and it was merged.

Change subject: Added framework for key generation algorithms in GettextFFS
......................................................................


Added framework for key generation algorithms in GettextFFS

This is the most common local mod I've done in various wikies.
The algo can be specified in YAML using key keyAlgorithm in
the FILES section.

Added simple as alternative algorithm, but kept the current one
as default for BC.

Also simplified parseGettextSection by moving some logic to
the caller. That avoids passing 5 (one more would have been added
in this commit) parameters to it.

Change-Id: I4bcd984e7e2d1fca63428c31326d45629b68738e
---
M ffs/GettextFFS.php
A tests/GettextFFSTest.php
2 files changed, 97 insertions(+), 41 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified


--
To view, visit https://gerrit.wikimedia.org/r/27411
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4bcd984e7e2d1fca63428c31326d45629b68738e
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to