Page MenuHomePhabricator

DRTRIGON-110 Improve postproc functions
Closed, ResolvedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-110.
Summary: Improve postproc functions
Issue type: New Feature - A new feature of the product, which has yet to be developed.
Priority: Major
Status: Closed
Assignee: drtrigon <dr.trigon@surfeu.ch>


From: drtrigon <dr.trigon@surfeu.ch>

Date: Fri, 13 Jan 2012 14:45:27

  1. try to merge 'list' with 'formatedlist', or count how many usage of 'list' are in dewiki and others - may be 'list' can be dropped at all (may be others too...?)
  2. add a new function 'chain' or similar to use multiple postproc functions in sequence, may be hold all the data in DATA[1:] to re-use it later on
  3. with 2) and 'replacetext' the 'notag' parameter could become obsolete... ![][1]

    [1]: https://jira.toolserver.org/images/icons/emoticons/wink.gif

Version: unspecified
Severity: major

Details

Reference
bz59509

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:35 AM
bzimport set Reference to bz59509.

From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 18 Feb 2012 15:19:37

'formatedlist' adopted in order to ba able to replace 'list'. Thus 'list' and 'wikilist' removed since rarely used.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 18 Feb 2012 16:42:52

'chain' implemented and all data are stored before function execution in DATA[i] (for i=1,2,...) and the most recent always in DATA[0]. All data are accessible this way.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 18 Feb 2012 22:22:21

Indeed 'notag' becomes obsolete, is rarely (never) used and can be replaced by

|postproc=('replacetext', '<.*?>', '\'')

and - if another postproc is needed - combined with 'chain'.

The needed changes to http://de.wikipedia.org/wiki/Benutzer:DrTrigon/DrTrigonBot/subster-postproc.css and other languages are done. The changes in code are done in r279.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 18 Feb 2012 22:23:28

All 3 implemented and done.

This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: dr.trigon@surfeu.ch
CC list: dr.trigon@surfeu.ch