mirror of
				https://github.com/diocloid/LinkTitles.git
				synced 2025-10-22 05:42:32 +02:00 
			
		
		
		
	Merge branch 'release-5.0.4'
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -9,3 +9,4 @@ doxygen_sqlite3.db
 | 
			
		||||
/LinkTitles.phpproj.user
 | 
			
		||||
/LinkTitles.sln
 | 
			
		||||
/LinkTitles.v12.suo
 | 
			
		||||
release/
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										8
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								NEWS
									
									
									
									
									
								
							@@ -1,3 +1,11 @@
 | 
			
		||||
Version 5.0.4 (2017-09-23)
 | 
			
		||||
------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
- Fix: Many pages would not be linked.
 | 
			
		||||
 | 
			
		||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Version 5.0.3 (2017-09-06)
 | 
			
		||||
------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
        ],
 | 
			
		||||
        "type": "parserhook",
 | 
			
		||||
        "url": "https://www.mediawiki.org/wiki/Extension:LinkTitles",
 | 
			
		||||
        "version": "5.0.3",
 | 
			
		||||
        "version": "5.0.4",
 | 
			
		||||
        "license-name": "GPL-2.0+",
 | 
			
		||||
        "descriptionmsg": "linktitles-desc",
 | 
			
		||||
        "requires": {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								gh-pages
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								gh-pages
									
									
									
									
									
								
							 Submodule gh-pages updated: ca9037ca4e...570fcaa3c5
									
								
							@@ -113,7 +113,8 @@ class Linker {
 | 
			
		||||
			for ( $i = 0; $i < count( $arr ); $i += 2 ) {
 | 
			
		||||
				$arr[$i] = preg_replace_callback( $target->getCaseSensitiveRegex(),
 | 
			
		||||
					array( $this, 'simpleModeCallback'),
 | 
			
		||||
					$arr[$i], $limit, $count );
 | 
			
		||||
					$arr[$i], $limit, $replacements );
 | 
			
		||||
				$count += $replacements;
 | 
			
		||||
				if ( $this->config->firstOnly && ( $count > 0 ) ) {
 | 
			
		||||
					$limitReached = true;
 | 
			
		||||
					break;
 | 
			
		||||
@@ -137,7 +138,8 @@ class Linker {
 | 
			
		||||
					// even indexes will point to text that is not enclosed by brackets
 | 
			
		||||
					$arr[$i] = preg_replace_callback( $target->getCaseInsensitiveRegex(),
 | 
			
		||||
						array( $this, 'smartModeCallback'),
 | 
			
		||||
						$arr[$i], $limit, $count );
 | 
			
		||||
						$arr[$i], $limit, $replacements );
 | 
			
		||||
					$count += $replacements;
 | 
			
		||||
					if ( $this->config->firstOnly && ( $count > 0  )) {
 | 
			
		||||
						break;
 | 
			
		||||
					};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user