r108792 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r108791
|
r108792
|
r108793
>
Date:
08:35, 13 January 2012
Author:
nikerabbit
Status:
ok
Tags:
Comment:
Don't try to show diff of definition if translation doesn't exist. This together with bogus entries in revtag table showd bogus definition diff texts.
Modified paths:
/trunk/extensions/Translate/utils/TranslationHelpers.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Translate/utils/TranslationHelpers.php
—
—
@@ -864,7 +864,7 @@
865
865
$title = $this->handle->getTitle();
866
866
$key = $this->handle->getKey();
867
867
868
- if ( $group instanceof WikiPageMessageGroup ) {
868
+ if ( $group instanceof WikiPageMessageGroup || !$title->exists() ) {
869
869
return null;
870
870
}
871
871
Follow-up revisions
Revision
Commit summary
Author
Date
r109052
MFT
r108608
r108660
r108792
r108815
r108816
nikerabbit
18:40, 16 January 2012
Status & tagging log
10:46, 19 January 2012
Nikerabbit
(
talk
|
contribs
)
changed the
tags
for r108792
[
removed:
i18ndeploy]
22:07, 13 January 2012
Siebrand
(
talk
|
contribs
)
changed the
status
of r108792
[
removed:
new
added:
ok]
11:07, 13 January 2012
Nikerabbit
(
talk
|
contribs
)
changed the
tags
for r108792
[
added:
i18ndeploy]