Extension talk:ComplexList
Add topic
Cl.php source code is shown in homepage
[edit]Hi!
Finally a solution to the numbered list (1. 1. 1.) problem. But I tried this extensions and it messed up my Wiki homepage. After adding the required "cl.php" to LocalSettings.php, the homepage shows all the php source code of this extension. Only after some "page downs" key, I could see my wiki homepage. What could be wrong ?
Eduardo
- The extension code didn't have a PHP opening tag, so your Web server was including it as plain text. I've added a PHP opening tag to the code. —Emufarmers(T|C) 21:31, 6 December 2010 (UTC)
Indented Headings
[edit]I'm using Complex Lists on several of my pages. When keeping the <cl> code inside of a single heading everything is formatted correctly;
=Heading= <cl> 1. List goes here * More list </cl> =Next Heading=
But when using <cl> across headings the first heading will be correct (not indented), but other headings will be indented;
<cl> =Correct Heading= 1. List goes here * More list =Uncorrect Indented Heading= * Continuation of list </cl>
Installation
[edit]The installation section is bugged out. I can't figure out where I'm supposed to download what from and do what other than the small addition to the config. --98.191.121.244 23:09, 12 May 2016 (UTC)
- fluffed. --[[kgh]] (talk) 23:23, 12 May 2016 (UTC)
Using for mediawiki 1.26
[edit]Hello, just recently downloaded the extension, but the parsing does not seem to work anymore, at least not for version 1.26? The preview runs fine but when I try to publish / save page I get the following errors;
( ! ) Notice: Undefined offset: 1 in C:\wamp\www\mediawiki-1.26.2\extensions\cl\cl.php on line 157 Call Stack # Time Memory Function Location 1 0.0010 258152 {main}( ) ..\index.php:0 2 0.2310 14036808 MediaWiki->run( ) ..\index.php:41 3 0.2310 14038344 MediaWiki->main( ) ..\MediaWiki.php:508 4 0.2940 17071336 MediaWiki->performRequest( ) ..\MediaWiki.php:714 5 0.3080 17997392 MediaWiki->performAction( ) ..\MediaWiki.php:287 6 0.3090 17997808 SubmitAction->show( ) ..\MediaWiki.php:490 7 0.3090 17997992 EditAction->show( ) ..\SubmitAction.php:40 8 0.3170 18983032 EditPage->edit( ) ..\EditAction.php:58 9 0.4990 21330384 EditPage->attemptSave( ) ..\EditPage.php:560 10 0.4990 21334824 EditPage->internalAttemptSave( ) ..\EditPage.php:1331 11 0.5181 22028240 doEditContent ( ) ..\EditPage.php:1957 12 0.5181 22028976 Article->__call( ) ..\EditPage.php:1957 13 0.5181 22029392 call_user_func_array:{C:\wamp\www\mediawiki-1.26.2\includes\page\Article.php:2049} ( ) ..\Article.php:2049 14 0.5181 22031872 WikiPage->doEditContent( ) ..\Article.php:2049 15 0.5231 22040696 WikiPage->prepareContentForEdit( ) ..\WikiPage.php:1757 16 0.5861 24657176 AbstractContent->getParserOutput( ) ..\WikiPage.php:2117 17 0.5861 24661992 WikitextContent->fillParserOutput( ) ..\AbstractContent.php:497 18 0.5861 24664272 Parser->parse( ) ..\WikitextContent.php:331 19 0.5861 24672104 Parser->internalParse( ) ..\Parser.php:439 20 0.5861 24673688 Parser->replaceVariables( ) ..\Parser.php:1239 21 0.5921 24675224 PPFrame_DOM->expand( ) ..\Parser.php:3364 22 0.5921 24681824 Parser->extensionSubstitution( ) ..\Preprocessor_DOM.php:1262 23 0.5931 24683208 call_user_func_array:{C:\wamp\www\mediawiki-1.26.2\includes\parser\Parser.php:4308} ( ) ..\Parser.php:4308 24 0.5931 24683712 efClRender( ) ..\Parser.php:4308
( ! ) Notice: Undefined variable: list_stack in C:\wamp\www\mediawiki-1.26.2\extensions\cl\cl.php on line 199 Call Stack # Time Memory Function Location 1 0.0010 258152 {main}( ) ..\index.php:0 2 0.2310 14036808 MediaWiki->run( ) ..\index.php:41 3 0.2310 14038344 MediaWiki->main( ) ..\MediaWiki.php:508 4 0.2940 17071336 MediaWiki->performRequest( ) ..\MediaWiki.php:714 5 0.3080 17997392 MediaWiki->performAction( ) ..\MediaWiki.php:287 6 0.3090 17997808 SubmitAction->show( ) ..\MediaWiki.php:490 7 0.3090 17997992 EditAction->show( ) ..\SubmitAction.php:40 8 0.3170 18983032 EditPage->edit( ) ..\EditAction.php:58 9 0.4990 21330384 EditPage->attemptSave( ) ..\EditPage.php:560 10 0.4990 21334824 EditPage->internalAttemptSave( ) ..\EditPage.php:1331 11 0.5181 22028240 doEditContent ( ) ..\EditPage.php:1957 12 0.5181 22028976 Article->__call( ) ..\EditPage.php:1957 13 0.5181 22029392 call_user_func_array:{C:\wamp\www\mediawiki-1.26.2\includes\page\Article.php:2049} ( ) ..\Article.php:2049 14 0.5181 22031872 WikiPage->doEditContent( ) ..\Article.php:2049 15 0.5231 22040696 WikiPage->prepareContentForEdit( ) ..\WikiPage.php:1757 16 0.5861 24657176 AbstractContent->getParserOutput( ) ..\WikiPage.php:2117 17 0.5861 24661992 WikitextContent->fillParserOutput( ) ..\AbstractContent.php:497 18 0.5861 24664272 Parser->parse( ) ..\WikitextContent.php:331 19 0.5861 24672104 Parser->internalParse( ) ..\Parser.php:439 20 0.5861 24673688 Parser->replaceVariables( ) ..\Parser.php:1239 21 0.5921 24675224 PPFrame_DOM->expand( ) ..\Parser.php:3364 22 0.5921 24681824 Parser->extensionSubstitution( ) ..\Preprocessor_DOM.php:1262 23 0.5931 24683208 call_user_func_array:{C:\wamp\www\mediawiki-1.26.2\includes\parser\Parser.php:4308} ( ) ..\Parser.php:4308 24 0.5931 24683712 efClRender( ) ..\Parser.php:4308
Any way to fix this?
Thanks in advance!
Best regards, Stavflel