Difference between revisions of "Bliki 1.0"
From Organic Design wiki
m |
(headings) |
||
| Line 3: | Line 3: | ||
I've needed to set up blog-like functionality on a few wikis now, so I want to get the common features into one place so it's easier to implement in future. | I've needed to set up blog-like functionality on a few wikis now, so I want to get the common features into one place so it's easier to implement in future. | ||
| + | == Blog roll == | ||
| + | == Comments == | ||
Adding this code to the [http://www.mediawiki.org/Manual:Hooks/ArticleSave ArticleSave hook] makes sure that signatures are consistent and CSS addressable in any new sections that are added to talk pages. | Adding this code to the [http://www.mediawiki.org/Manual:Hooks/ArticleSave ArticleSave hook] makes sure that signatures are consistent and CSS addressable in any new sections that are added to talk pages. | ||
{{code|<php> | {{code|<php> | ||
| Line 24: | Line 26: | ||
</php>}} | </php>}} | ||
| + | == Adding new items == | ||
| + | |||
| + | == RSS feed == | ||
== See also == | == See also == | ||
*[[Wordpress]] | *[[Wordpress]] | ||
*[[MediaWiki code snippets]] | *[[MediaWiki code snippets]] | ||
Revision as of 00:37, 5 January 2012
I've needed to set up blog-like functionality on a few wikis now, so I want to get the common features into one place so it's easier to implement in future.
Blog roll
Comments
Adding this code to the ArticleSave hook makes sure that signatures are consistent and CSS addressable in any new sections that are added to talk pages.
Adding this code to the ArticleUpdateBeforeRedirect hook allows a returnto parameter to be added to the link for adding a comment (which is actually a new-section-edit link to a talk page) so that it returns back to the news page or the news item being commented on.




