Mpaa created this task.
Mpaa added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**List of steps to reproduce** (step by step, including full links if
applicable):
import pywikibot
from pywikibot import proofreadpage as pp
site = pywikibot.Site('en', 'wikisource')
page = pp.IndexPage(site, 'Index:Pywikibot_test_page_2')
page.save(summary='test edit')
**What happens?**:
~/python/core/pywikibot/proofreadpage.py in save(self, *args, **kwargs)
858 """
859 if not self.has_valid_content():
--> 860 raise OtherPageSaveError(
861 self, 'An IndexPage must consist only of a single
call to '
862 '{{%s}}.' % self.INDEX_TEMPLATE)
OtherPageSaveError: Edit to page [[Index:Pywikibot test page 2]] failed:
An IndexPage must consist only of a single call to
{{:MediaWiki:Proofreadpage_index_template}}.
**What should have happened instead?**:
Page is saved without errors.
**Software version (if not a Wikimedia wiki), browser information,
screenshots, other information, etc.**:
Pywikibot: [ssh] pywikibot-core.git (48e05cf, g15783, 2022/01/09, 12:47:08,
OUTDATED)
Release version: 7.0.0.dev0
setuptools version: 58.0.4
mwparserfromhell version: 0.6.2
wikitextparser version: n/a
requests version: 2.27.1
Python: 3.8.3 (default, Jul 2 2020, 16:21:59)
[GCC 7.3.0]
TASK DETAIL
https://phabricator.wikimedia.org/T299806
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa
Cc: Aklapper, pywikibot-bugs-list, Mpaa, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]