Page MenuHomePhabricator

pagefromfile: use content as edit summary
Closed, ResolvedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/patches/570/
Reported by: t-shrinivasan
Created on: 2012-10-25 19:02:20
Subject: Showing content as summary of a page
Original description:
It will be nice to have an option to have the contnet of a page as summary.

for the file pagefromfile.py

I added this feature and attaching the diff file.


Version: compat-(1.0)
Severity: enhancement
See Also:
https://sourceforge.net/p/pywikipediabot/patches/570

Details

Reference
bz54556

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:11 AM
bzimport set Reference to bz54556.
bzimport added a subscriber: Unknown Object (????).

diff file of adding FullContentAsSummary feature

The summary should indicate the bot edit and it also should trunctated to e.g. 250 chars. Maybe it is a good idea to append a part of the created text to the current default summary.

It's not a good idea for articles because they need to have at least some materials (more than 200 chars) but maybe for categories

jayvdb renamed this task from Showing content as summary of a page to pagefromfile: use content as edit summary.Nov 30 2014, 1:51 PM
jayvdb removed a project: Pywikibot-compat.
jayvdb set Security to None.
jayvdb removed a subscriber: Unknown Object (????).

If page is created on Wiki by hand and no summary is given, MediaWiki adds summary New page: {page content}. Maybe pwb should generate a similar one.

Xqt claimed this task.
Xqt subscribed.

Already done via -autosummary option
See: https://www.mediawiki.org/wiki/Autosummary