Extension talk:LifeMarks
Update?
edit- Will an update be available, compatible with MediaWiki 1.11 ? --Wanja 13
- 45, 7 March 2008 (UTC)
LifeMarks 0.3.3 on the way
editI started rewriting and refactoring of LifeMarks extension. New features includes: ability to delete LifeMarks after article deletion, rendering of <lifemarklist> on the fly without having to reedit the page, internatiolization. I don't want to fork LifeMarks, so I'm asking to cooperate and maintain the code together. Lukasz Rzanek, Radical Group --83.24.170.123 10:55, 12 October 2006 (UTC)
- By all means, please contribute. Those were my exact gripes with what I'd been unable to defeat on my first extension. I'm looking forward to your contributions!--Bakerq 14:43, 14 October 2006 (UTC)
LifeMarks idea
editWould be great to intergrate it with m:EasyTimeline --Magick 18:35, 12 November 2006 (UTC)
- The timeline was actually the inspiration for this. My goal was to create a method of creating marks that could be collected and displayed in a timeline. I'm pretty sure that you can use the output from the LifeMarksList to drive the EasyTimeline, but since the LifeMarksList isn't truly dynamic, it'd mean updating the EasyTimeline each time.--Bakerq 18:56, 25 November 2006 (UTC)
Fatal Error
editWhen i try to open http://mydomain/index.php?title=Spezial:LifeMarks i got the following error:
Fatal error: Cannot access protected property OutputPage::$mParserOptions in /wiki/extensions/LifeMarks.php on line 431
which is the following line in the php-script:
$tempoutput = $localParser->parse($complete_output, $wgTitle, $wgOut->mParserOptions, false);
I have the same problem in the following line, when using the tag LIFEMARKS or LIFEMARKSLIST:
$temp_output = $localParser->parse($processedline, $wgTitle, $wgOut->mParserOptions, false);
Could someone help me? I don't know, what's the problem is.
Best regards
- Which version of MediaWiki are you running? The LifeMarks extension was developed and tested on 1.6.8, and I can't guarantee that the framework would still function on anyhthing higher. --Bakerq 14:42, 17 February 2007 (UTC)
Great extension
editBut I had to leave it behind in the upgrade to 1.9.2 with the problem with mParserOptions outlined above. Hopefully someone with more time or brains can figure out the conflict with includes/Parser.php.
Fix for Fatal Error Extension LifeMarks
editThe problem as stated above is the call to:
$wgOut->mParserOptions.
The proper call should be:
$wgOut->parserOptions()
Make these changes on lines ~263,493, the extension should work as advertised up to on 1.9.2.
I have put modified code on the discussion page of the source code, here
Other changes:
- Eliminated additional comments on lines ~559,560 from SpecialPages:LifeMarks
- Tests for null $lifemarks_buffer
URL Reference: http://www.gossamer-threads.com/lists/wiki/mediawiki/76771
Peace.
Fatal Error with MySQL while trying to install this extension
editI couldn't use it yet. When I click the Save Page button this is the error displayed.
Ha ocurrido un error de sintaxis en una consulta a la base de datos. Esto puede indicar un error en el software. La última consulta que se intentó fue: (Consulta SQL oculta) dentro de la función "Database::insert". El error de retorno de MySQL fue "1048: Column 'tags' cannot be null (localhost)".
While its in spanish I think its self explanatory. How can you help?
Thank you
That's because orderbytext just contains "ORDER BY " and then nothing.
Change the line
$options = array( 'ORDER BY'=>$orderby ); //default order
to
if ($orderbytext) $options = array( 'ORDER BY'=>$orderby ); //default order else $options = array( ); //no order by
Any chance of an update?
editIt's looking bleaker and bleaker, but it would be amazing to see this updated. Some sort of integration with Extension:WikiTimeLine to display LifeMarks on the timeline, as a whole, or per category, would be amazing too!
Updates from Original Author: Unlikely
editWhen I originally designed this extension I had high hopes of converting all of my (entirely too many) websites and blogs into a single unified installation of MediaWiki. The only thing that stopped me was the fact that there has never been a Simple For Grandparents commenting system available for MediaWiki. I understand the philosophy of a wiki enabling everyone to edit anything and that it doesn't really jive well with a threaded comment system - in my ideal world the Discussion tab would be used for discussions on the page composition while at the bottom of each page would be a comment system that anyone familiar with a blog could easily add their thoughts regarding the content of the page. Discussions for composition, comments for content. I even tried to create an extension (Extension:QWikiRemarks) that would show a simple comment box and all content to it would be placed into a namespace of its own and collected by the extension for display on each page - again philosophy got in the way (maintain style or maintain organization).
Sadly, that never came to fruition and I gave up a long time ago, my MediaWiki installation withers somewhere still running 1.6 (or older!); I've since moved on to a Drupal installation with about six thousand plugins to enable Wiki Markup and versioning history and most of the things that MediaWiki provided. I guess I hereby release this plugin for anyone who wants to complete it - I thought highly enough of the idea to create it, it was my first attempt at coding a MediaWiki extension, so feel free to laugh at the complete disregard of proper structure. I hope someone can resurrect it though - maybe if I can find a decent commenting extension I'll be able to come back to it.