Page MenuHomePhabricator

add properties to output of action=parse
Closed, ResolvedPublic

Description

The parsed pageprops are not avaiable by action=parse.


Version: 1.18.x
Severity: enhancement

Details

Reference
bz28814

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:33 PM
bzimport set Reference to bz28814.
bzimport added a subscriber: Unknown Object (MLST).

njh wrote:

Would really like to see this implemented - would save making a second call to the API for action=query&prop=info in order to get the last modified timestamp.

(In reply to comment #2)

Would really like to see this implemented - would save making a second call to
the API for action=query&prop=info in order to get the last modified timestamp.

I think you misunderstand what this bug is about. lastmodified timestamp is not stored in the page_props (Which is quite different from what action=query&prop=info shows. page_props stores stuff like if HIDDENCAT is on a category). Additionally, in theory action=parse is primarily working with the wikitext, not the page, so I don't think adding a last modified timestamp would make sense there.

*** This bug has been marked as a duplicate of bug 25134 ***

reopen per comment 3

it is *not* prop=info in this bug. This bug is for prop=pageprops for the current parsed wikitext (ParserOutput::getProperties()). Sorry, if this was unclear in my bug description.

a patch commited with gerrit 6715