Extension:SimpleBlogPage
Appearance
Outdated translations are marked like this.
État de la version : stable |
|
|---|---|
| Implémentation | Page spéciale |
| Description | Système de blog avec une page spéciale pour créer des articles de blog, une page spéciale pour répertorier tous les articles de blog. Both individual user blogs and general blogs can be created. |
| Auteur(s) | |
| Maintenance | Hallo Welt! GmbH |
| Dernière version | 5.0.0-alpha |
| Politique de compatibilité | Pour chaque version de MediaWiki qui est une version avec support à long terme (LTS - Long Term Support) il existe une branche correspondante dans l'extension. |
| MediaWiki | 1.43+ |
| Modifie la base de données |
Oui |
| Licence | Licence publique générale GNU v3.0 |
| Téléchargement | |
NS_USER_BLOG (NS_USER_BLOG_TALK)NS_BLOG (NS_BLOG_TALK) |
|
|
|
|
|
| Traduire l’extension SimpleBlogPage sur translatewiki.net si elle y est disponible | |
Usage / features
- L'extension SimpleBlogPage permet aux utilisateurs de créer des articles de blog. The page content model is "blog-post".
- Blog posts are organized as subpages of the page "General" in the "Blog" namespace.
- De nouveaux articles peuvent être créés via « Special:ArticlesHome ».
- La liste de tous les articles de blog de tous les utilisateurs est visible à « Special:ArticlesHome ».
- La page « Special:ArticlesHome/User_blog:[Username] » répertorie tous les articles de blog de cet utilisateur.
Installation
- Téléchargez et placez le(s) fichier(s) dans un répertoire appelé
SimpleBlogPagedans votre dossierextensions/.
Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SimpleBlogPage
- Ajoutez le code suivant à la fin de votre fichier LocalSettings.php :
wfLoadExtension( 'SimpleBlogPage' );
Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.
Informations complémentaires
SimpleBlogPage
MediaWiki extension based on BlogPage with different features & no dependencies.
Major changes:
Note: The changes listed below were made by the original author and might no longer apply.
- Got rid of dependencies on SocialProfile, VoteNY and Comments. So this extension has NO dependencies!
- SimpleBlogPage is NOT compatible with BlogPage, you MUST NOT have both extensions installed at the same time!
Features added:
- Added support for the
<!--more-->tag in the blurb, so that it knows to stop grabbing text for the blurb after the tag. Made the default blurb grab much bigger so you can more easily tell when you forgot to use the<!--more-->tag. - Added button to the WikiEditor toolbar to insert the
<!--more-->tag. I drew the logo myself from scratch, pixel by pixel, so there are no copyright/licensing issues. Obviously, you'll only see the button if you actually have the WikiEditor extension enabled. - Added button to add syntax highlighting (the icon for which I again drew from scratch, to avoid licensing issues), which is a poor man's substitute for CodeEditor which I just can't seem to get working on my setup.
- Added the author name to the "created" line under every listed blog post.
- Added the word count next to the blog post title.
Features removed:
- Got rid of avatars, votes, comments, "most popular", "opinions count", "about the author", and a few other social features
- Got rid of all special pages except: Articles Home and Create Blog Post
- Blog posts can now only have a single author. Anyone can still edit everyone else's blog posts.
Potentially breaking changes:
- Switched to using subpages in order to get the author name for various functions.
- CreateBlogPost has been changed to create blog posts under User_blog:username/blogposttitle rather than Blog:blogposttitle.
- The URL User_blog:[username] has been hijacked to display a list of all of the user's posts in order of time created with the showUserPosts function
- Pages with titles of the form User_blog:[username] are not treated as blog posts, in fact they are hidden completely and cannot be viewed normally
Quality of life improvements / pessimizations:
- Got rid of all uses of cache (it wasn't coded properly which was causing the blog home page to always be 15 minutes stale)
- Changed "created x days ago" in homepage to "created by [username] on datetime".
- Added hideContentsub.css to articlesHome and blogpage in extension.json to hide messages like "go back to …" and "View or restore 2 deleted revisions". If you want to see those messages just delete that filename from extension.json.
- Removed padding in main-page-left CSS to get rid of annoying gap between title and content.
- Disallow users from creating blog posts under another user's name. Make sure to disallow 'move' permissions for normal users as they can still move pages to under other user's names. Do this by adding the line to your LocalSettings.php
$wgGroupPermissions['user']['move'] = false;
- Increased number of posts on home page to ALL blog posts (well, 1 billion) rather than just the last 25
- Changed the right hand side "other editors" box to only appear when other people have edited the page. I got rid of the avatars and replaced them with just the usernames of the editors.
Bug fixes:
- Fixed misspelling of "cahce" to "cache", which was a critical bug that was breaking homepage. Then I removed cache completely.
- Got rid of duplicate categories bottom bar
See also
| Cette extension est incluse dans les fermes de wikis ou les hôtes suivants et / ou les paquets : Cette liste ne fait pas autorité. Certaines fermes de wikis ou hôtes et / ou paquets peuvent contenir cette extension même s'ils ne sont pas listés ici. Vérifiez toujours cela avec votre ferme de wikis ou votre hôte ou votre paquet avant de confirmer. |
