I've been running the wmf series of MW since late into 1.27. I've gone
through all the 1.28/1.29 wmf updates up to 1.30.0-wmf.4 and never
really had an issue with them. Yesterday I up'd to 1.30.0.wmf.5 from .4
and it appears the Category namespace died as I now receive http 500
errors on each Category page. All the other namespaces seem to be
working as normal.
I found this error when tailing my MW log file.
[fatal] [ab557217] PHP Fatal Error: Access level to
CategoryTreeCategoryPage::$mCategoryViewerClass must be public (as in
class CategoryPage)
[session] Saving all sessions on shutdown
Reverting back to 1.30.0.wmf.4 re-initiates the Category namespace.
Version .4 Works
Version 1.30.0-wmf.4
your root ../includes/page/CategoryPage.php
LINE 30: protected $mCategoryViewerClass = 'CategoryViewer';
Version .5 Fails.
Version 1.30.0-wmf.5
your root ../includes/page/CategoryPage.php
LINE 30: public $mCategoryViewerClass = 'CategoryViewer';
Editing CategoryPage.php in version 1.30.0-wmf.5 to *protected* instead
of *public* resolves the http 500 error on Category pages.
I have no clue as to whether or not that is a correct fix but it fixed
my lost Category problem.
Chap @ jonesipedia.com
Hello all,
Currently the syntax highlighter of the Wikipedia android app seems to
be slow except on high-end devices. It has been proposed to change the
implementation to provide users with a better (streamlined) experience
while editing[1].
As a first attempt it has been thought to use regular expression to
highlight the appropriate wikitext. To avoid re-inventing the wheel, I
thought it would be better to ask if the regular expressions to
identify various wiki syntax elements is in use somewhere ?
I guess there has to be at least some form of formal definition for the
wiki-text syntax somewhere. It would be of great use though it isn't in
the form of regular expressions. Please reply with anything that seems
related. Thanks!
Note: Any suggestions regarding the improvement of the syntax highlight
implementation would be helpful.
Links
-----
[1]: https://phabricator.wikimedia.org/T164936
--
Regards,
Kaartic Sivaraam <kaarticsivaraam91196(a)gmail.com>
I'm getting this error when I try to install MediaWiki:
Tables creation failed. Make sure that the user "foouser" can write to the
schema "mediawiki".
What command should I run in psql to set up foouser so that it can write to
that schema?
After installing Debian 9 after a hard-drive died I'm now having
problems getting my local installation of mediawiki up and running. I'm
using this page as my guide [1] and copied and pasted the stanza "sudo
apt-get install apache2 mysql-server php php-mysql libapache2-mod-php
php-xml php-mbstring" and installed everything for a 'stretch'
installation.
This was not an upgrade of my OS but a straight install using the
'stretch' net-install.iso.
I have installed 'php-xml:all 1:7.0+49' and 'php7.0-mbstring:amd64
7.0.19-1' but the "http://localhost/mediawiki/" is saying -
--8<---------------cut here---------------start------------->8---
MediaWiki 1.28 internal error
Installing some PHP extensions is required.
Required components
You are missing a required extension to PHP that MediaWiki requires to run. Please install:
mbstring (more information)
xml (more information)
--8<---------------cut here---------------end--------------->8---
So what versions are required then please for a successful mediawiki
local installation please?
Thanks
Sharon.
[1] - https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Running_MediaWiki_…
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7
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 | ageary(a)seg.org
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA
-----Original Message-----
From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of mediawiki-l-request(a)lists.wikimedia.org
Sent: Saturday, June 10, 2017 7:01 AM
To: mediawiki-l(a)lists.wikimedia.org
Subject: MediaWiki-l Digest, Vol 165, Issue 4
Send MediaWiki-l mailing list submissions to
mediawiki-l(a)lists.wikimedia.org
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
mediawiki-l-request(a)lists.wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner(a)lists.wikimedia.org
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,EzykVigClDwD57… (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 <bawolff(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] DISPLAYTITLE warning message
Message-ID:
<CA+oo+DWe3wnkRTvwnam-QCa+3Ks-9wizdssVZtOJu-SGGc1v1A(a)mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
On Thu, Jun 8, 2017 at 3:54 PM, Daniel Barrett <danb(a)vistaprint.com> 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 <bawolff(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] PDFHandler and https://linkprotect.cudasvc.com/url?a=https://limit.sh&c=E,1,lhEBRfQGdyT_Xw…
Message-ID:
<CA+oo+DXmfK97JGNudWp7aQYGMmDTP3t+z=MS7pP_ZiReBVNEYQ(a)mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
On Fri, Jun 9, 2017 at 2:04 AM, John <phoenixoverride(a)gmail.com> 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 <bawolff(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] DISPLAYTITLE warning message
Message-ID:
<CA+oo+DU64Qnmch0du8ocPwY2oORNKMuXSdkAGvQ1tE3CMqcoaw(a)mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
On Fri, Jun 9, 2017 at 5:55 PM, Brian Wolff <bawolff(a)gmail.com> wrote:
> On Thu, Jun 8, 2017 at 3:54 PM, Daniel Barrett <danb(a)vistaprint.com> 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/Extens… extension, which is causing the error.
--
bawolff
------------------------------
Message: 4
Date: Fri, 9 Jun 2017 20:34:17 +0000
From: Brian Wolff <bawolff(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] REL1_28 error
Message-ID:
<CA+oo+DW-XBAJZOVBzGoXe=v=7cYEgFALZ5eRnyiFEDcw-bc5fQ(a)mail.gmail.com>
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 <phoenixoverride(a)gmail.com> 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 <paulfkeffer(a)yahoo.com> wrote:
>
>> Not sure what the issue is, maybe someone else can help.
>>
>> On Thursday, June 8, 2017 5:22 PM, John
>> <phoenixoverride(a)gmail.com>
>> wrote:
>>
>>
>> I did a rel1_28 within the last 24 hours
>>
>> On Thu, Jun 8, 2017 at 5:11 PM Paul <paulfkeffer(a)yahoo.com> wrote:
>>
>> > What version of MediaWiki are you using?
>> >
>> > > On Jun 8, 2017, at 15:12, John <phoenixoverride(a)gmail.com> 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
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
End of MediaWiki-l Digest, Vol 165, Issue 4
*******************************************
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?
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/eshttp://wiki.seg.org/wiki/Dictionary:F-k_domain/es
Thanks,
Andrew
Andrew Geary | publications outreach editor
+1.918.497.4615 | ageary(a)seg.org
Society of Exploration Geophysicists (SEG)
8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA
Im working with several large PDFs and Im running into the message *limit.sh:
timed out executing command "'pdftotext' *is there a way to let that run
until it finishes?
Hi
This is an issue I am experiencing on Persian Wikipedia (FAWP) for the last
couple of weeks. I have replicated it in different machines, and after
clearing the cache (or using incognito). I have replicated it in Firefox
and in Chrome.
When you open a page, some times certain widgets (e.g. Twinkle) or
user-specific JS scripts don't load. Refreshing the page will fix it 99% of
the time (that 1% requires refreshing 2 or 3 times).
Looking at the console shows an error that indicates "mw.util" is not
defined. See the error message in Firefox[1] and Chrome[2] But because none
of the scripts have changed recently, to me it means somehow that mw.util
is not loaded *some of the time*.
The problem manifests itself mostly when you open a tab in the background
(i.e. you middle-click a link), and especially when I open several tabs in
the background.
If I turn ResourceLoader off, the error does not occur. So I am thinking it
has to do with RL. Any ideas on the next steps to investigate this are
appreciated.
Huji
[1] https://commons.wikimedia.org/wiki/File:Firefox-mw.util-error.png
[2] https://commons.wikimedia.org/wiki/File:Chrome-mw.util-error.png