Last modified: 2012-09-27 01:10:43 UTC
(like this) becomes (like this) 'name' => 'TEST', <br> 'version' => '5', <br> 'author' => 'daniel keller', <br> 'url' => 'http://spyinginc.com/wiki', <br> 'descriptionmsg' => 'test-desc'); <br> $wgavailablerights <br> $wgSpecialPages = 'test'; <br> $permit [popcorn]; <br> $permit[DONE]; <br> $wgGroupPermissions['spyinginc.com']['/wiki'] = true; //view all pages pages $wgGroupPermissions['test']['DONE']= true; // to delete text $wgGroupPermissions['test']['popcorn'] = true; //add text through [[special:TEST]] $wgGroupPermissions['test']['kill'] = true; //for broken glass $wgGroupPermissions['USE the vote']['codedwiki'] // allows voting of code $wgGroupPermissions['test']['kickbanpage'] </source> becomes this is an extension which adds test to special:version i need help changing this so there is a special page (special:TEST) which says "test "and that has a place to put text in, and all text goes to special:TESTtext and a checkbox which puts it in 2 categories (coding and other) and rights to remove text from special:TESTtext and other rights which are used to add to special:TEST (all by default) also, you can't add text directly to special:TESTtext but can delete it. all text for the page must be put in through special:TEST also an <addTEST> tag which would do something like <addTEST>text to be tested to see if it works in red<nowiki><addTEST> and has all of that text in a special:TESTtextfromPage and that shows a picture of broken glass on the user's user page (for x amount of time determined by $wgglasstime)if the text has "failed". users with the kill right determine that using special:kill (if it has failed) or special:pass to submit it to special:passedcode (to be put on the site) also another page to hide all of or certain pages with <addTEST> (picked from a list) on it [[special:testing the test]] for an amount of time specified on hiding also the current wiki's code will be on a special page ([[special:code of wiki]]) where it will have a voting for pass or fail (code will not include localsettings.php) the current code is: <br> <BR> <source lang="php"> <?php <br> $wgExtensionCredits['specialpage'][] = array( <br> 'path' => __FILE__, <br> 'name' => 'TEST', <br> 'version' => '5', <br> 'author' => 'daniel keller', <br> 'url' => 'http://spyinginc.com/wiki', <br> 'descriptionmsg' => 'test-desc'); <br> $wgavailablerights <br> $wgSpecialPages = 'test'; <br> $permit [popcorn]; <br> $permit[DONE]; <br> $wgGroupPermissions['spyinginc.com']['/wiki'] = true; //view all pages pages $wgGroupPermissions['test']['DONE']= true; // to delete text $wgGroupPermissions['test']['popcorn'] = true; //add text through [[special:TEST]] $wgGroupPermissions['test']['kill'] = true; //for broken glass $wgGroupPermissions['USE the vote']['codedwiki'] // allows voting of code $wgGroupPermissions['test']['kickbanpage'] </source> even without the line break
Looks like you're having a problem with the <source> tag? Have you properly installed the extension? Are you using an opening tag (like <source lang="text">)?
it is on mediqwiki
*mediawiki also it is before the source part. I also need help coding
You have an unclosed <nowiki> on your extension page.