r85308 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85307‎ | r85308 | r85309 >
Date:03:07, 4 April 2011
Author:nikola
Status:ok
Tags:
Comment:
@since 1.17 → @since 1.18
Modified paths:
  • /branches/nikola/phase3/languages/LanguageConverter.php (modified) (history)
  • /branches/nikola/phase3/languages/classes/LanguageSr.php (modified) (history)

Diff [purge]

Index: branches/nikola/phase3/languages/LanguageConverter.php
@@ -779,8 +779,8 @@
780780 * @param string $variant language code of the variant to be checked for
781781 * @return bool true if $text appears to be written in $variant, false if not
782782 *
783 - * @author Nikola Smolenski <smolensk@eunet.yu>
784 - * @since 1.17
 783+ * @author Nikola Smolenski <smolensk@eunet.rs>
 784+ * @since 1.18
785785 */
786786 public function guessVariant($text, $variant) {
787787 return false;
Index: branches/nikola/phase3/languages/classes/LanguageSr.php
@@ -153,7 +153,7 @@
154154 * Guess if a text is written in Cyrillic or Latin.
155155 *
156156 * @author Nikola Smolenski <smolensk@eunet.rs>
157 - * @since 1.17
 157+ * @since 1.18
158158 */
159159 public function guessVariant( $text, $variant ) {
160160 $numCyrillic = preg_match_all("/[шђчћжШЂЧЋЖ]/u", $text, $dummy);

Follow-up revisions

RevisionCommit summaryAuthorDate
r86623(bug 28643) Merge Serbian language variant conversion improvements to trunk (...demon14:02, 21 April 2011
r103327bug 28643 improvement to serbian variants conversion...hashar15:12, 16 November 2011

Status & tagging log