Last modified: 2013-10-05 11:44:22 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 T57107, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55107 - let interwiki.py optionally create (used) category pages
let interwiki.py optionally create (used) category pages
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:24 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-05 11:44 UTC (History)
0 users

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:24:47 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/126/
Reported by: purodha
Created on: 2008-01-24 10:10:40
Subject: let interwiki.py optionally create (used) category pages
Original description:
When interwiki.py outputs a message like:
NOTE: \[\[en:Category:User pdc-N\]\] does not exist
and when the page is of a type that can have members listed, such as category pages, some of the Semantic MediaWiki Attribute/Relation/Properties pages, etc., then optionally find out wether or not the page is populated, and ask like this:
\[\[en:Category:User pdc-N\]\] has \(\#\) members, create it? \(\[Y\]es \[N\]o A\[l\]l \[G\]ive up\)

When receiving a confirmative answer, add the page to the interwiki link list, and when all links have been collected, and the operator has not given up meanwhile, create the page by inserting interwiki links. Under -confirm control, come up with a question telling that a page is about to be created \(not altered\), so as to remind the bot operator.

Remarks:
\- while telling the number of members is nice,
and may be helpful to avoid errors when the figure
is as small as 1, or 2, I see it as unnecessary,
if implementation is expensive.
\(If scanning a category page is involved, we could
as well scan only the 1st, and thus say ">200" if
the page is fully populated\)
\- when dealing with category population counts at all,
we could have a theshold or two thresholds given via
\(a\) command line parameter\(s\), that say:
\- skip categories having less than t1 members
\- ask for categories having t1 members or more
and less than t2 members
\- automatically create from t2 members on.
Note that, t1=t2 might be an option, too.
\- this feature should be deselected by default,
and be switched on per command line parameter.
\- I would not mind setting it via user-config-py, too.
Then we would need to both select, and disable, it
on the command line.

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


Navigation
Links