On Sun, Jun 17, 2012 at 10:55 PM, Haim (Howard) Roman <[email protected]> wrote:
> Is there a way to see the wikitext of an article in read-only mode, i.e.,
> such that I cannot accidentally change it?  This can be useful, of course,
> for copying wikitext to another article.
>

You could get it via the API. What you're looking for is prop=revisions with
rvprop=content[0]. An example query for [[API]] on MediaWiki.org[1].

-Chad

[0] http://www.mediawiki.org/wiki/API:Properties#revisions_.2F_rv
[1] 
http://www.mediawiki.org/w/api.php?action=query&prop=revisions&titles=API&rvprop=content

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to