Last modified: 2013-03-05 19:48:28 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 T47512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45512 - Request support for retrieving raw wikitext with Lua
Request support for retrieving raw wikitext with Lua
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-27 19:21 UTC by Robert Rohde
Modified: 2013-03-05 19:48 UTC (History)
3 users (show)

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


Attachments

Description Robert Rohde 2013-02-27 19:21:51 UTC
Presently, Lua allows one to import preprocessed templates / pages using frame.preprocess.  This is useful for many applications.

However, there does not appear to be any way to get at a page's raw wikitext without processing.

There are a number of meta tasks and tools that might operate more logically and faster on the raw wikitext rather than the already parsed and expanded code.  So it would be nice to add a method of allowing Lua to access the unparsed wikitext of a page.
Comment 1 Brad Jorsch 2013-03-05 02:12:49 UTC
Gerrit change #52203
Comment 2 Brad Jorsch 2013-03-05 19:48:28 UTC
Merged

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


Navigation
Links