Last modified: 2013-10-25 16:36:23 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 T57328, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55328 - magic removed moving category members
magic removed moving category members
Status: RESOLVED DUPLICATE of bug 55315
Product: Pywikibot
Classification: Unclassified
category.py (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 05:08 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-25 16:36 UTC (History)
3 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 05:08:55 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/523/
Reported by: siebrand
Created on: 2007-10-15 22:02:39
Subject: magic removed moving category members
Original description:
While moving some cats with "category.py move -from:a -to:b -match:.\*\/.\*", \(at least\) four of the moved objects this had an unexpected result \(links below\):

From:
\[\[Category:Images with no copyright tag as of \{\{\{day|\}\}\} \{\{\{month|unknown date\}\}\} \{\{\{year|\{\{CURRENTYEAR\}\}\}\}\}|\{\{PAGENAME\}\}\]\]  
\[\[Category:Images with no copyright tag|\{\{PAGENAME\}\}\]\]<\!-- in case the month, day, or year are given incorrectly --></includeonly><noinclude>
\[\[Category:Problem tags|\{\{PAGENAME\}\}\]\]

To:
<\!-- in case the month, day, or year are given incorrectly --></includeonly><noinclude>
\[\[Category:Internationalised problem tags|\{\{PAGENAME\}\}\]\]

Expected result is that the first two lines remain untouched.

\[1\] http://commons.wikimedia.org/w/index.php?title=Template:Untagged/es&diff=8025070&oldid=3771139 \[2\] http://commons.wikimedia.org/w/index.php?title=Template:No\_source\_since/es&diff=8025021&oldid=7922784 \[3\] http://commons.wikimedia.org/w/index.php?title=Template:Copyvio/es&diff=8024937&oldid=7561699 \[4\] http://commons.wikimedia.org/w/index.php?title=Template:No\_license/es&diff=prev&oldid=8024986
Comment 1 Amir Ladsgroup 2013-10-25 09:21:34 UTC
You should use replace.py instead of category.py because you're replacing texts, or I'm understanding incorrectly, can you check with replace.py?
Comment 2 Mpaa 2013-10-25 09:37:30 UTC
This is a duplicate of https://bugzilla.wikimedia.org/show_bug.cgi?id=55315
Comment 3 Mpaa 2013-10-25 16:36:23 UTC

*** This bug has been marked as a duplicate of bug 55315 ***

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


Navigation
Links