Last modified: 2014-01-03 16:03:52 UTC
This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-115. Summary: Configurable edit summary for subster Issue type: New Feature - A new feature of the product, which has yet to be developed. Priority: Major Status: Resolved Assignee: drtrigon <dr.trigon@surfeu.ch> ------------------------------------------------------------------------------- From: drtrigon <dr.trigon@surfeu.ch> Date: Wed, 15 Feb 2012 12:13:22 ------------------------------------------------------------------------------- Introduce a new parameter/option in order to be able to set a specific (for this page only) edit summary the bot uses when modifying a page.
------------------------------------------------------------------------------- From: drtrigon <dr.trigon@surfeu.ch> Date: Thu, 12 Jul 2012 16:11:49 ------------------------------------------------------------------------------- Parameter/Option 'comment' that will be threatened as content to enable full substitution power: |comment=blabla example: <!--SUBSTER-val--><!--SUBSTER-val--> ... that becomes e.g. with the value 'test' the comment: blabla example: test ... Implementation: 1. threat the value in 'comment' like the usual content and do all substitutions there too 2. use e.g. 'removeDisabledParts' from textlib to remove all subster tags (but keep the tag content) 3. use the result instead of usual edit comment
------------------------------------------------------------------------------- From: drtrigon <dr.trigon@surfeu.ch> Date: Sat, 26 Jan 2013 21:03:28 ------------------------------------------------------------------------------- May it would be better to use: |comment=blabla example: <!--SUBSTER-val--> ... in order to have a clear difference and prevent the bot changing its own template on the page too!
------------------------------------------------------------------------------- From: drtrigon <dr.trigon@surfeu.ch> Date: Sun, 17 Feb 2013 16:36:24 ------------------------------------------------------------------------------- * what if multiple templates present? -> go through all and take the last one defining 'comment' param - so they overwrite each other; last in - only one out * "do all substitutions on comment too" or just some specific ones? if all are done too; how to reproduce the original value in page content? ... msg = self.subTag(msg, ...)[0] #substed_tags += tags msg = pywikibot.textlib.removeDisabledParts(msg) ...
------------------------------------------------------------------------------- From: drtrigon <dr.trigon@surfeu.ch> Date: Sun, 22 Sep 2013 08:47:16 ------------------------------------------------------------------------------- No answer on [1] so this might be intressting, but there seams to be no need for it at the moment. [1] https://de.wikipedia.org/wiki/Benutzer_Diskussion:HaeB#SubsterBot.2C_feeds_und_feature_request
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