Bugs item #3141384, was opened at 2010-12-21 20:31 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3141384...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None
Status: Pending
Resolution: Invalid Priority: 5 Private: No Submitted By: Yevhen Movsesov () Assigned to: Nobody/Anonymous (nobody) Summary: add_text don't creates the page if the page doesn't exist
Initial Comment: 1. Try to add some string to page, that currently doesn't exist, for example add_text.py -page:Inexistent_page -text:"test string" Page will not be created.
2. It seems, that in add_text.py on line 430 should be "create=True" instead "create=talkPage"
-- Pywikipedia [http] trunk/pywikipedia (r8785, 2010/12/21, 00:11:55) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-12-22 23:37
Message: I agree with valhallasw's resolution: it's not a bug, maybe a feature request. I guess add_text is able to create a new talk page if it doesn't exist. But I also do not see any reason to change this behavior for other pages too and intend this request may to be closed.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2010-12-21 20:35
Message: I see no reason to assume it should create new pages. It's add_text, after all. If you want to create new pages, you can use the classes offered by add_text.py.
To clarify my last note: don't assign stuff to people unless they ask you to or if they are the only one in the world who knows how the stuff works.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2010-12-21 20:32
Message: Eh. No.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3141384...
pywikipedia-bugs@lists.wikimedia.org