ArchiveWallThread allows users to archive a thread on their wall with a click of a button.
Installation
Usage
To use the script, you must first configure it, by using the following options in the window.ArchiveWallThread
object:
string
is the format of the line that will get added to your archive; use$id
,$title
,$user
, and$date
as placeholders for the thread id, thread title, user who posted the thread, and date the thread was posted.text
is the text that will be added to the end of your message wall greeting; use$string
as a placeholder for the line with the thread title and etc.number
is the amount of characters that will be removed from your message wall greeting beforetext
is appended; it must be a positive number.
Example:
window.ArchiveWallThread = { string: '[[Thread:$id|$title]]', text: '# $string', number: 0 }
(which will append # [[Thread:123456|Example]]
to your message wall greeting.)
The script also supports setting page
in the above object, which allows you to set a custom page name for the archives to be added to.
The following things can be changed via a i18n-js override:
button-label
: the text of the button.reason
: the reason used for removing the thread (supports basic wikitext)summary
: the summary used when editing the archive page (supports basic wikitext)
Text above can be found here (edit)
Community content is available under CC-BY-SA
unless otherwise noted.