User "Krinkle" changed the status of MediaWiki.r96863.

Old Status: ok
New Status: resolved

User "Krinkle" also posted a comment on MediaWiki.r96863.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96863#c22482
Commit summary:

RL2: Move category title message logic to GadgetRepo::getCategoryTitle(). This 
BREAKS using wikitext in category titles (->plain() is used throughout), which 
was already broken in some places, wasn't documented that I know of. Besides, 
enwiki didn't even use it :)

Comment:

<pre>
+                       global $wgLang;
+                       $langObj = $lang === null ? $wgLang : 
Language::factory( $lang );
+                       return $lang->ucfirst( $category );
</pre>
Causes Fatal error: Call to a member function ucfirst() on a non-object in 
/Sites/local/mediawiki/branches/RL2/extensions/Gadgets/backend/GadgetRepo.php 
on line 110.

Fixed in r97003.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to