Last modified: 2014-02-07 16:21:02 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 T62192, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60192 - Documentation and API are inconsistent (action=parse, contentmodel)
Documentation and API are inconsistent (action=parse, contentmodel)
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: documentation
  Show dependency treegraph
Reported: 2014-01-18 04:55 UTC by Sorawee Porncharoenwase
Modified: 2014-02-07 16:21 UTC (History)
7 users (show)

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


Description Sorawee Porncharoenwase 2014-01-18 04:55:41 UTC
In action=parse, the documentation states that "contentmodel - Content model of the input text. Default is the model of the specified title, or wikitext if title is not specified" long ago. However, discourages doing so by showing a warning that there should be a contentmodel if title is not specified. Hence, now the code and the documentation are inconsistent. To make them consistent, either suppressing the warning or changing the documentation to discourage input without contentmodel must be done. I don't know, though, that which way is better.
Comment 1 Niklas Laxström 2014-01-19 02:12:57 UTC
Comment 2 Gerrit Notification Bot 2014-01-19 06:08:33 UTC
Change 108307 had a related patch set uploaded by Nullzero:
Update documentation and suppress warning when parsing summary
Comment 3 Gerrit Notification Bot 2014-02-07 15:29:07 UTC
Change 108307 merged by jenkins-bot:
API: update documentation and suppress warning when parsing summary
Comment 4 Brad Jorsch 2014-02-07 16:21:02 UTC
Should be deployed to WMF wikis with 1.23wmf14, see for the schedule.

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