[MediaWiki-l] DISPLAYTITLE warning message

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] DISPLAYTITLE warning message

Andrew Geary
I am seeing this message displayed on our wiki: "Warning: Display title
"Dictionary:Shepherd’s cane" overrides earlier display title
"Instrumento de Shepard"." This message appears anytime there is a special
character in the original article title, e.g., apostrophes and italics. We
are using the Translate extension and this warning message is appearing on
the Spanish version of the page. On the English (original) version, there
was a DISPLAYTITLE called, but it has been removed. However, I am still
getting this error message. There are no other templates on these pages. I
have tried using noerror, e.g., {{DISPLAYTITLE: Dictionary:Shepherd's
cane|noerror}}, but the error message still appears. If the original call
for DISPLAYTITLE did not have a special character, the Spanish translation
appears in the title and there is no error message. Any guidance would be
appreciated. A couple examples are linked below:

http://wiki.seg.org/wiki/Dictionary:Shepard%27s_cane/es
http://wiki.seg.org/wiki/Dictionary:F-k_domain/es

Thanks,
Andrew

Andrew Geary | publications outreach editor
+1.918.497.4615 | [hidden email]
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] DISPLAYTITLE warning message

Daniel Barrett
Andrew Geary laments:
>I am seeing this message displayed on our wiki: "Warning: Display title
>"Dictionary:Shepherd’s cane" overrides earlier display title
>"Instrumento de Shepard"."

Each of your articles contain *two* DISPLAYTITLE lines. I think that's a mistake: an article should have only one DISPLAYTITLE. (After all, there's just one way to display a title.)

DanB
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] DISPLAYTITLE warning message

Brian Wolff
On Thu, Jun 8, 2017 at 3:54 PM, Daniel Barrett <[hidden email]> wrote:
> Andrew Geary laments:
>>I am seeing this message displayed on our wiki: "Warning: Display title
>>"Dictionary:Shepherd’s cane" overrides earlier display title
>>"Instrumento de Shepard"."
>
> Each of your articles contain *two* DISPLAYTITLE lines. I think that's a mistake: an article should have only one DISPLAYTITLE. (After all, there's just one way to display a title.)
>
> DanB

If you really need two displaytitles, you can use
{{DISPLAYTITLE:title|noerror}} to suppress the error message.

--
bawolff

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] DISPLAYTITLE warning message

Brian Wolff
On Fri, Jun 9, 2017 at 5:55 PM, Brian Wolff <[hidden email]> wrote:

> On Thu, Jun 8, 2017 at 3:54 PM, Daniel Barrett <[hidden email]> wrote:
>> Andrew Geary laments:
>>>I am seeing this message displayed on our wiki: "Warning: Display title
>>>"Dictionary:Shepherd’s cane" overrides earlier display title
>>>"Instrumento de Shepard"."
>>
>> Each of your articles contain *two* DISPLAYTITLE lines. I think that's a mistake: an article should have only one DISPLAYTITLE. (After all, there's just one way to display a title.)
>>
>> DanB
>
> If you really need two displaytitles, you can use
> {{DISPLAYTITLE:title|noerror}} to suppress the error message.
>
> --
> bawolff

Sorry, I misread your post, you are using "noerror".

I suspect the issue is actually your first {{DISPLAYTITLE:...}} (the
one without the noerror) is overriding the display title set by
https://www.mediawiki.org/wiki/Extension:HideNamespace extension,
which is causing the error.

--
bawolff

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] DISPLAYTITLE warning message

Andrew Geary
In reply to this post by Andrew Geary
I appreciate the responses. As I was writing a response I realized the issue. I had made edits to the English version, but I did not mark the most recent version for translation. So the Spanish translation was working off the first version I marked for translation, not the most recent English version. Once I realized this I was able to address the issue. Thanks.

Andrew

Andrew Geary | publications outreach editor
+1.918.497.4615 | [hidden email]
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA

-----Original Message-----
From: MediaWiki-l [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Saturday, June 10, 2017 7:01 AM
To: [hidden email]
Subject: MediaWiki-l Digest, Vol 165, Issue 4

Send MediaWiki-l mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."


Today's Topics:

   1. Re: DISPLAYTITLE warning message (Brian Wolff)
   2. Re: PDFHandler and https://linkprotect.cudasvc.com/url?a=https://limit.sh&c=E,1,EzykVigClDwD57nv1fpQcIzwgdKnUq32FjUV0Y5HRd30aqePp6B4xuwsK0QPSvjuVar0Z5J6XwmCGJ2EUo4z4FGRYcns5Yqite0Siev8g0YHe_4z6WQ70Q,,&typo=1 (Brian Wolff)
   3. Re: DISPLAYTITLE warning message (Brian Wolff)
   4. Re: REL1_28 error (Brian Wolff)


----------------------------------------------------------------------

Message: 1
Date: Fri, 9 Jun 2017 17:55:24 +0000
From: Brian Wolff <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] DISPLAYTITLE warning message
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="UTF-8"

On Thu, Jun 8, 2017 at 3:54 PM, Daniel Barrett <[hidden email]> wrote:

> Andrew Geary laments:
>>I am seeing this message displayed on our wiki: "Warning: Display
>>title "Dictionary:Shepherd’s cane" overrides earlier display title
>>"Instrumento de Shepard"."
>
> Each of your articles contain *two* DISPLAYTITLE lines. I think that's
> a mistake: an article should have only one DISPLAYTITLE. (After all,
> there's just one way to display a title.)
>
> DanB

If you really need two displaytitles, you can use {{DISPLAYTITLE:title|noerror}} to suppress the error message.

--
bawolff



------------------------------

Message: 2
Date: Fri, 9 Jun 2017 18:04:06 +0000
From: Brian Wolff <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] PDFHandler and https://linkprotect.cudasvc.com/url?a=https://limit.sh&c=E,1,lhEBRfQGdyT_XwXhyQrtJTCuRgy9iNJUediAuj3qJ6gaOEh2ISlaDt0jcdVxBJyZTsXqLgKqFhMTBN3Qe8XMPZCsxSf03fyF-D1nN0Tg&typo=1
Message-ID:
        <CA+oo+DXmfK97JGNudWp7aQYGMmDTP3t+z=[hidden email]>
Content-Type: text/plain; charset="UTF-8"

On Fri, Jun 9, 2017 at 2:04 AM, John <[hidden email]> wrote:
> Im working with several large PDFs and Im running into the message *https://linkprotect.cudasvc.com/url?a=https://limit.sh&c=E,1,5tzzmh6jgd7feRDbAIebkVzFUcIeoc92vGMtux5kQuo66iQJu5wLUXSqyOdDq9CazmFVBloaeSwgjK4JIFjuzzuRzGlOtU5Eh4wK6w,,&typo=1:
> timed out executing command "'pdftotext' *is there a way to let that
> run until it finishes?


Set $wgMaxShellWallClockTime = 0; (0 should mean disable the check.
Default is 180. its measured in seconds). Other related settings
include: $wgMaxShellTime, $wgMaxShellFileSize, $wgMaxShellMemory.

--
bawolff



------------------------------

Message: 3
Date: Fri, 9 Jun 2017 18:51:37 +0000
From: Brian Wolff <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] DISPLAYTITLE warning message
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="UTF-8"

On Fri, Jun 9, 2017 at 5:55 PM, Brian Wolff <[hidden email]> wrote:

> On Thu, Jun 8, 2017 at 3:54 PM, Daniel Barrett <[hidden email]> wrote:
>> Andrew Geary laments:
>>>I am seeing this message displayed on our wiki: "Warning: Display
>>>title "Dictionary:Shepherd’s cane" overrides earlier display title
>>>"Instrumento de Shepard"."
>>
>> Each of your articles contain *two* DISPLAYTITLE lines. I think
>> that's a mistake: an article should have only one DISPLAYTITLE.
>> (After all, there's just one way to display a title.)
>>
>> DanB
>
> If you really need two displaytitles, you can use
> {{DISPLAYTITLE:title|noerror}} to suppress the error message.
>
> --
> bawolff

Sorry, I misread your post, you are using "noerror".

I suspect the issue is actually your first {{DISPLAYTITLE:...}} (the one without the noerror) is overriding the display title set by
https://linkprotect.cudasvc.com/url?a=https://www.mediawiki.org/wiki/Extension:HideNamespace&c=E,1,nl3TQzcTpIy1tefNrFT4MNanIV5RRJPHFcv2TetZdfv-8Ws-U4Sg8LQEYv_-0nmIHl99pc3T2wWFEKSobv0wlVkRmjwG7IpzBZRWnpWP3MMo&typo=1 extension, which is causing the error.

--
bawolff



------------------------------

Message: 4
Date: Fri, 9 Jun 2017 20:34:17 +0000
From: Brian Wolff <[hidden email]>
To: MediaWiki announcements and site admin list
        <[hidden email]>
Subject: Re: [MediaWiki-l] REL1_28 error
Message-ID:
        <CA+oo+DW-XBAJZOVBzGoXe=v=[hidden email]>
Content-Type: text/plain; charset="UTF-8"

It would be helpful if you could get a full backtrace (Add a "throw new MWException();" at the point causing the issue, and set $wgShowExceptionDetails=true;). It sounds like the maintenance script is calling into the Skin code, which assumes you're viewing an actual page, which isn't true in the script.

--
bawolff

On Fri, Jun 9, 2017 at 1:55 AM, John <[hidden email]> wrote:

> After doing some digging it looks like lines 210-220 of skin.php where
> refactored. I pulled an older version of that function and it made the
> issue go away.
>
> On Thu, Jun 8, 2017 at 5:57 PM, Paul Keffer <[hidden email]> wrote:
>
>> Not sure what the issue is, maybe someone else can help.
>>
>>     On Thursday, June 8, 2017 5:22 PM, John
>> <[hidden email]>
>> wrote:
>>
>>
>>  I did a rel1_28 within the last 24 hours
>>
>> On Thu, Jun 8, 2017 at 5:11 PM Paul <[hidden email]> wrote:
>>
>> > What version of MediaWiki are you using?
>> >
>> > > On Jun 8, 2017, at 15:12, John <[hidden email]> wrote:
>> > >
>> > > I am running
>> > > php refreshImageMetadata.php -f
>> > >
>> > > PHP Fatal error:  Call to a member function canExist() on null in
>> > > /var/www/html/pfs/includes/skins/Skin.php on line 212
>> > >
>> > >
>> > > Any ideas what is going on?
>> > > _______________________________________________
>> > > MediaWiki-l mailing list
>> > > To unsubscribe, go to:
>> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>> > _______________________________________________
>> > MediaWiki-l mailing list
>> > To unsubscribe, go to:
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



------------------------------

Subject: Digest Footer

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


------------------------------

End of MediaWiki-l Digest, Vol 165, Issue 4
*******************************************
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l