Page MenuHomePhabricator

Add an add_only parameter to replaceCategoryInPlace in textlib
Closed, ResolvedPublic

Description

Currently, the replaceCategoryInPlace function in textlib can only replace or remove a category in place. It would be nice to also add an add_only parameter to the function to add a newcat after the oldcat in place, just like the addOnly parameter of replaceCategoryLinks.

Event Timeline

Change 400264 had a related patch set uploaded (by Eflyjason; owner: Eflyjason):
[pywikibot/core@master] Add an add_only parameter to replaceCategoryInPlace in textlib

https://gerrit.wikimedia.org/r/400264

eflyjason renamed this task from Add a add_only parameter to replaceCategoryInPlace in textlib to Add an add_only parameter to replaceCategoryInPlace in textlib.Dec 27 2017, 1:51 AM
eflyjason updated the task description. (Show Details)
This comment was removed by Dalba.

Change 400264 merged by jenkins-bot:
[pywikibot/core@master] Add an add_only parameter to replaceCategoryInPlace in textlib

https://gerrit.wikimedia.org/r/400264