Extension:Personal Notepad
From MediaWiki.org
Note: my extension doesn't work. It fails: Security issues with authorization extensions. I think I'll get this deleted. I dont know if this can work.
|
Release status: unstable |
|||
|---|---|---|---|
| Implementation | User rights | ||
| Description | Personal notepad page accessible only to the owner. See below for details. | ||
| Author(s) | Choshi | ||
| Last Version | 1.1 | ||
| MediaWiki | 1.15 | ||
| License | GPL | ||
| Download | Download | ||
|
|||
|
check usage (experimental) |
|||
Contents |
[edit] Description
This page for a wiki user:
[[User:TheUser/Notepad]]
will be a page that can only be accessed (read/edit/move/history/diff) by that user. Sysops too cannot access the page in any way. The page's size is limited currently to 512KB which can be changed inside the extension. Currently the only way to delete a Notepad page is to disable the extension and then deleting the page. Edits to a Notepad page do not appear in Recent Changes because they are marked as a "bot" edit. How will you know its your notepad? If you've made the correct page title (case sensitive for Notepad), it will tell you above the edit form that its your personal notepad when you're editing it.
Needless to say, its better not to use the notepad for storing any confidential information.
[edit] Installation
- Download and extract the file to /extensions
- Add the following line in the LocalSettings.php file:
-
-
require_once("$IP/extensions/PersonalNotepad.php");
-
[edit] Versions
This code has been tested on MediaWiki 1.15. It should work in other versions too but it has not been tested.
[edit] Troubleshooting
If there are any errors, make sure:
- You have followed the correct format (Notepad is case-sensitive) for naming the page:
[[User:TheUser/Notepad]]
[edit] Questions/Requests
Sorry I haven't made any effort to translate this or add additional features or make it work for other versions of MW. I don't plan on doing any of that due to lack of time. I just wanted to do something quick for myself and wanted to share it with anyone else who could use it and wanted to give back to the MW community. I hope this is useful for someone. Its a good small useful utility to have for wikis that are small and don't have many edits frequently from new users. The code may not be clean but it works.