Extension:DeleteOwn
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Extension }}</tvar> infobox.</translate> |
DeleteOwn Release status: unmaintained |
|
---|---|
Implementation | Page action , User rights |
Description | Allows users to delete pages only they edited. |
Author(s) | Tyler Romeo (Parent5446talk) |
Latest version | 1.2.0 (2017-08-18) |
MediaWiki | 1.23+ |
PHP | 5.3+ |
License | GNU General Public License 2.0 or later |
Download | |
$wgDeleteOwnExpiry |
|
deleteown |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the DeleteOwn extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The DeleteOwn extension add a user right deleteown which, if granted, allows users to delete pages that they authored, are the only editor on (excluding minor and bot edits), and have not been moved to another namespace. Also, a configuration option allows this permission to expire, i.e., after the page reaches a certain age the author cannot delete it, even if they are still the only editor.
Download
<translate> The extension can be retrieved directly from Git</translate> [?]:
- <translate> Browse code</translate>
- <translate> Some extensions have tags for stable releases.</translate>
- <translate> Browse tags</translate>
- <translate> Select the tag</translate>
- <translate> Click "snapshot"</translate>
- <translate> Each branch is associated with a past MediaWiki release.</translate> <translate> There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).</translate>
- <translate> Browse branches</translate>
- <translate> Select a branch name</translate>
- <translate> Click "<tvar name=1>⧼extdist-submit-version⧽</tvar>"</translate>
<translate> Extract the snapshot and place it in the <tvar name=name>extensions/DeleteOwn/</tvar> directory of your MediaWiki installation.
If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows: </translate>
cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DeleteOwn.git
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/DeleteOwn</tvar>|Download]] and move the extracted <tvar name=name>
DeleteOwn
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DeleteOwn - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
require_once "$IP/extensions/DeleteOwn/DeleteOwn.php";
- Configure as required.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
- $wgDeleteOwnExpiry
- Sets how young (in seconds) a page must be for the author to still be able to delete it if they are the only editor. The value can be an integer, which is applied to all pages, or an array mapping namespaces to expiries. Using a value of 0 (or if a namespace is left out of the array in the latter case) has the effect of disabling the expiry.
User rights
- deleteown
- Gives users the right to delete pages that
- they authored,
- they are the only editor for (except minor and bot edits),
- have not been moved to another namespace, and
- are younger than the configured expiry, if applicable.
See also
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Extensions without an image
- Page action extensions
- User rights extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- Extensions which add rights
- TitleQuickPermissions extensions
- All extensions
- Extensions not in ExtensionJson
- Extensions not using extension registration
- Page specific user rights extensions