mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 02:50:08 +00:00 
			
		
		
		
	reqorked liks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									2c16aed436
								
							
						
					
					
						commit
						477cb63f43
					
				| @ -42,8 +42,7 @@ var activateWikiWords = text => | |||||||
| 		// set new... | 		// set new... | ||||||
| 		.replace( | 		.replace( | ||||||
| 			RegExp('('+[ | 			RegExp('('+[ | ||||||
| 				'[A-Z][a-z0-9]+[A-Z][a-z0-9][a-zA-Z0-9]*\/\\w+', | 				'[A-Z][a-z0-9]+[A-Z\/][a-zA-Z0-9\/]*', | ||||||
| 				'[A-Z][a-z0-9]+[A-Z][a-z0-9][a-zA-Z0-9]*', |  | ||||||
| 				'\\[[^\\]]+\\]', | 				'\\[[^\\]]+\\]', | ||||||
| 				].join('|') +')', 'g'), | 				].join('|') +')', 'g'), | ||||||
| 			'<a class="WikiWord" href="#" onclick="go($(this).text().replace(/^\\[|\\]$/g, \'\'))">$1</a>') | 			'<a class="WikiWord" href="#" onclick="go($(this).text().replace(/^\\[|\\]$/g, \'\'))">$1</a>') | ||||||
|  | |||||||
							
								
								
									
										4
									
								
								wiki.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wiki.js
									
									
									
									
									
								
							| @ -22,7 +22,7 @@ | |||||||
| // 		}
 | // 		}
 | ||||||
| // 	}
 | // 	}
 | ||||||
| var data = { | var data = { | ||||||
| 	'TemplatePages/DefaultPage': { | 	'Templates/DefaultPage': { | ||||||
| 		text: 'This page is empty.<br><br>WikiHome', | 		text: 'This page is empty.<br><br>WikiHome', | ||||||
| 	}, | 	}, | ||||||
| } | } | ||||||
| @ -45,7 +45,7 @@ var Wiki = { | |||||||
| 
 | 
 | ||||||
| 	__home_page__: 'WikiHome', | 	__home_page__: 'WikiHome', | ||||||
| 	__default_page__: 'DefaultPage', | 	__default_page__: 'DefaultPage', | ||||||
| 	__templates__: 'TemplatePages', | 	__templates__: 'Templates', | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	// current location...
 | 	// current location...
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user