Hello,
I did customization (BugMonkey) that adding to my wiki page some useful info (Last modified day, W#, Company logo) when the page is printed.
My question is how can I get revision number? There is any API to retrieve it?
Thanks!
|
0
|
|
|
|
|
1
|
I'm not sure if you can get at the revision number via JavaScript or not, but there is a
HTML:
CSS:
Note: There is a summary of all the other template placeholders available to you on this question. |
||
|
|
|
1
|
If you already know the wiki number, then you can use ajax to read the first link node (which is the latest revision) from the RSS feed for the article, which would look something like this:
You can also get a lot of other information about the other revisions, if you look at the rest of the link nodes. For reference, the XML response will look something like this:
... and in the code above, I just found the first |
|||
|
|