There are a couple of actions in index.php that I don't think I understand.
Specifically, revert, validate, info, markpatrolled, print, dublincore, and creativecommons.
Especially with revert, validate, info, and print, I would like detail as to specifically what they do.
It appears the revert is an older action (since it ends up calling $wgArticle->revert(), which doesn't exist).
info and validate take me to the "No such action" error page.
markpatrolled takes me to the "<markedaspatrollederror>" error page
print appears to be exactly the same as view.
dublincore and creativecommons both give me "406 Not Acceptable" HTTP errors. (though creativecommons does output "</rdf:RDF>".)
Can someone enlighten me as to what these actions do?
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail!
On Thu, 6 Jan 2005 10:58:00 -0500, Jamie Bliss astronouth7303@gmail.com wrote:
There are a couple of actions in index.php that I don't think I understand.
Specifically, revert, validate, info, markpatrolled, print, dublincore, and creativecommons.
Well, I don't know much about all of these, but to my knowledge:
* "validate" refers to code that hasn't been finished yet (it's been live on test.wikipedia.org for a while, but I don't it's been put into a release yet). It's a mechanism for users to "vote" on the quality of an article, under various headings.
* "markpatrolled" is presumably to do with the new "Recent Changes patrol" system, and therefore applies to specific *edits*, not *pages*.
* "print" is obsolete, having been replaced by CSS rules which cause the site to appear different when printed *anyway*. This tends to confuse people, because they're not used to things changing dramatically from screen to printer, but it is technically "nicer" than having to load a "printable version".
* "dublincore" and "creativecommons" are, I think, generated licensing metadata - presumably only available on sites that have been configured to "know" what license the content is under.
* "revert" is possibly for the admin-only one-click revert procedure, although if it calls a non-existent function, perhaps it's obsolete, like "print".
* "info" I've never heard of, but checking the source, I see it has to be enabled with $wgAllowInfo=true; It appears to output some basic page stats: number of watchers, number of edits, number of distinct authors.
HTH
mediawiki-l@lists.wikimedia.org