Last modified: 2014-11-14 09:55:49 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 T57248, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55248 - Dead code in redirect.py
Dead code in redirect.py
Status: RESOLVED WORKSFORME
Product: Pywikibot
Classification: Unclassified
redirect.py (Other open bugs)
unspecified
All All
: Lowest trivial
: ---
Assigned To: xqt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:51 UTC by Kunal Mehta (Legoktm)
Modified: 2014-11-14 09:55 UTC (History)
3 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:51:10 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1282/
Reported by: valhallasw
Created on: 2011-01-14 23:57:02
Subject: Dead code in redirect.py
Assigned to: xqt
Original description:
sd\_tagging\_sum is never defined, but is used:

if targetPage.site\(\).lang in sd\_template and \
targetPage.site\(\).lang in sd\_tagging\_sum:

and further. This code probably was used in an older version, but is apparently dead now...
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:51:12 UTC
This message was used for speedy deletion request instead of reason\_loop. But it does not make any sense to have to messages for the same reason. Of cause the code edited twice I've deactivated this part. btw I am experimenting with searching an alternative page with mw search funktion with my development instance but i'ts still to experimental yet ;\)
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:51:14 UTC
- **assigned_to**: nobody --> xqt
Comment 3 John Mark Vandenberg 2014-11-14 09:55:49 UTC
the following have no results in compat or core
git grep sd_template
git grep sd_tagging_sum

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


Navigation
Links