Skip to content

Instantly share code, notes, and snippets.

@hertsch
Last active August 29, 2015 14:01
Show Gist options
  • Save hertsch/ae7fee50bd217fc8f81d to your computer and use it in GitHub Desktop.
Save hertsch/ae7fee50bd217fc8f81d to your computer and use it in GitHub Desktop.
~~ page_modifified_by ~~

##~~ page_modified_by ~~

The kitcommand ~~ page_modified_by ~~ return the display name of the user who has last modified the current page or the page with the given PAGE_ID.

Parameters

All parameters are optional.

page_id[]

By default the kitCommand will show the modification date and time for the current page.

You can specify an PAGE_ID:

~~ page_modified_by page_id[123] ~~

will show the date and time for the page with the PAGE_ID 123.

locale[]

By default page_modified_by will use the locale of the current page to translate the result - unknown -, you can specify another locale:

~~ page_modified_by locale[it] ~~

will try to translate into it (Italian). The locale file must exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment