Last modified: 2014-01-03 16:03:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61406, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59406 - DRTRIGON-115 Configurable edit summary for subster
DRTRIGON-115 Configurable edit summary for subster
Status: RESOLVED WONTFIX
Product: Tool Labs tools
Classification: Unclassified
DrTrigonBot - subster (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 16:03 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 16:03 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:43 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.
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:45 UTC
-------------------------------------------------------------------------------
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
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:46 UTC
-------------------------------------------------------------------------------
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!
Comment 3 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:48 UTC
-------------------------------------------------------------------------------
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)
    ...
Comment 4 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:49 UTC
-------------------------------------------------------------------------------
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
Comment 5 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:03:52 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links