Page MenuHomePhabricator
Feed Advanced Search

Aug 1 2016

alex-mashin added a comment to T140554: Semantic Forms can't be properly installed through Composer autoloading.

Is SMW installed on your wiki?

Yes, it is.

Aug 1 2016, 12:17 PM · MediaWiki-extensions-Page_Forms

Jul 31 2016

alex-mashin added a comment to T140554: Semantic Forms can't be properly installed through Composer autoloading.

Installation with Composer by composer require --prefer-source mediawiki/semantic-forms "3.5.*" is broken totally:

Fatal error: Uncaught Error: Call to undefined method stdClass::getPropertyLabels() in /var/www/wiki/w/extensions/SemanticForms/includes/SF_Utils.php:257\nStack trace:\n#0 /var/www/wiki/w/includes/Hooks.php(195): SFUtils::initProperties()\n#1 /var/www/wiki/w/extensions/SemanticMediaWiki/src/PropertyRegistry.php(420): Hooks::run()\n#2 /var/www/wiki/w/extensions/SemanticMediaWiki/src/PropertyRegistry.php(79): SMW\\PropertyRegistry->registerPredefinedProperties()\n#3 /var/www/wiki/w/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php(412): SMW\\PropertyRegistry::getInstance()\n#4 /var/www/wiki/w/extensions/SemanticForms/includes/SF_Utils.php(187): SMW\\DIProperty::newFromUserLabel()\n#5 /var/www/wiki/w/extensions/SemanticForms/includes/SF_FormLinker.php(164): SFUtils::getSMWPropertyValues()\n#6 /var/www/wiki/w/extensions/SemanticForms/includes/SF_FormLinker.php(384): SFFormLinker::getFormsThatPagePointsTo()\n#7 /var/www/wiki/w/extensions/SemanticForms/includes/SF_FormEditAction.php(59): SFFormLinker::getDefaultFormsForPage()\n#8 /var/www/wiki/w/extensions/SemanticForms/includes/SF_FormEditAction.php(145): SFFormEditAction::displayTab()\n#9 /var/www/wiki/w/includes/Hooks.php(195): SFFormEditAction::displayTab2()\n#10 /var/www/wiki/w/includes/skins/SkinTemplate.php(1076): Hooks::run()\n#11 /var/www/wiki/w/includes/skins/SkinTemplate.php(474): SkinTemplate->buildContentNavigationUrls()\n#12 /var/www/wiki/w/includes/skins/SkinTemplate.php(247): SkinTemplate->prepareQuickTemplate()\n#13 /var/www/wiki/w/includes/OutputPage.php(2282): SkinTemplate->outputPage()\n#14 /var/www/wiki/w/includes/MediaWiki.php(756): OutputPage->output()\n#15 /var/www/wiki/w/includes/MediaWiki.php(520): MediaWiki->main()\n#16 /var/www/wiki/w/index.php(43): MediaWiki->run()\n#17 {main}
Jul 31 2016, 5:24 PM · MediaWiki-extensions-Page_Forms
alex-mashin added a comment to T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.

Somehow, I've managed to submit this: https://gerrit.wikimedia.org/r/#/c/302088/. I'm afraid this learning curve is too steep for me.

Jul 31 2016, 1:30 PM · MediaWiki-General
alex-mashin added a comment to T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.

I think this can be worked around by setting $wgArticlePath to a full URL? Like:

$wgArticlePath = 'https://example.com/$1';

No, it can't. URLs in incoming HTTP requests are treated incorrectly, not wikilinks on pages.

Jul 31 2016, 6:28 AM · MediaWiki-General

Jul 30 2016

alex-mashin added a comment to T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.

This configuration is generally not recommended, so I doubt any MediaWiki developers would consider this high priority. We're always happy to accept patches though!

Jul 30 2016, 6:45 PM · MediaWiki-General
alex-mashin added a comment to T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.

I think this can be worked around by setting $wgArticlePath to a full URL? Like:

$wgArticlePath = 'https://example.com/$1';

No, it can't. URLs in incoming HTTP requests are treated incorrectly, not wikilinks on pages.

Jul 30 2016, 6:40 PM · MediaWiki-General
alex-mashin added a comment to T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.

Anydody here?

Jul 30 2016, 6:22 PM · MediaWiki-General

Jul 28 2016

alex-mashin updated the task description for T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.
Jul 28 2016, 4:45 AM · MediaWiki-General
alex-mashin added a comment to T49799: Scribunto should allow coroutines in Lua.

Coroutines, for example, are a natural way to iterate through a nested table.

Jul 28 2016, 3:21 AM · MediaWiki-extensions-Scribunto

Jul 27 2016

alex-mashin created T141444: Incorrect treatment of titles starting with a slash when URLs are ultra-short.
Jul 27 2016, 3:09 PM · MediaWiki-General

Jul 20 2016

alex-mashin updated the task description for T140878: Warning: "trim() expects parameter 1 to be string, null given" from SkinTemplate.php.
Jul 20 2016, 10:30 AM · MediaWiki-Interface
alex-mashin renamed T140864: Incorrect calls of header () breaks saving some pages from Type mismatches in error.log to Incorrect calls of header () .
Jul 20 2016, 10:26 AM · MW-1.28-release (WMF-deploy-2016-10-04_(1.28.0-wmf.21)), MW-1.28-release-notes, HHVM, MediaWiki-General
alex-mashin created T140878: Warning: "trim() expects parameter 1 to be string, null given" from SkinTemplate.php.
Jul 20 2016, 10:25 AM · MediaWiki-Interface
alex-mashin triaged T140864: Incorrect calls of header () breaks saving some pages as Unbreak Now! priority.
Jul 20 2016, 10:22 AM · MW-1.28-release (WMF-deploy-2016-10-04_(1.28.0-wmf.21)), MW-1.28-release-notes, HHVM, MediaWiki-General
alex-mashin created T140864: Incorrect calls of header () breaks saving some pages.
Jul 20 2016, 6:30 AM · MW-1.28-release (WMF-deploy-2016-10-04_(1.28.0-wmf.21)), MW-1.28-release-notes, HHVM, MediaWiki-General

Jul 17 2016

alex-mashin closed T140556: Visual Editor requires a non-existent file as Invalid.
Jul 17 2016, 12:57 PM · VisualEditor
alex-mashin added a comment to T140556: Visual Editor requires a non-existent file.

Looks like I should have done git submodule update --init after upgrade. Now the file is there.

Jul 17 2016, 12:57 PM · VisualEditor
alex-mashin created T140556: Visual Editor requires a non-existent file.
Jul 17 2016, 7:42 AM · VisualEditor
alex-mashin updated the task description for T140554: Semantic Forms can't be properly installed through Composer autoloading.
Jul 17 2016, 7:18 AM · MediaWiki-extensions-Page_Forms
alex-mashin created T140554: Semantic Forms can't be properly installed through Composer autoloading.
Jul 17 2016, 7:16 AM · MediaWiki-extensions-Page_Forms

Jun 3 2016

alex-mashin created T136909: Syntactic sugar for {{#invoke:}}.
Jun 3 2016, 3:44 AM · MediaWiki-extensions-Scribunto

Apr 3 2016

alex-mashin added a comment to T52454: Include a RegEx library for Lua.

thus we need a Perl-type lib for Lua of some kind.

Consider rrthomas.github.io/lrexlib.

Apr 3 2016, 7:24 AM · MediaWiki-extensions-Scribunto

Feb 15 2016

alex-mashin added a comment to T126871: Type mismatches in MW 1.26.2 under HHVM 3.12.

These seem to be the logging engine uselessly whining,

So, is this an HHVM bug? Broken type hinting?

Feb 15 2016, 3:41 AM · Technical-Debt, MediaWiki-extensions-Scribunto
alex-mashin added a comment to T126871: Type mismatches in MW 1.26.2 under HHVM 3.12.

Without the specific version of MediaWiki being used, these line numbers are less than helpful.

1.26.2 as is written in the task title.

Feb 15 2016, 3:37 AM · Technical-Debt, MediaWiki-extensions-Scribunto

Feb 13 2016

alex-mashin updated the task description for T126871: Type mismatches in MW 1.26.2 under HHVM 3.12.
Feb 13 2016, 3:28 PM · Technical-Debt, MediaWiki-extensions-Scribunto
alex-mashin created T126871: Type mismatches in MW 1.26.2 under HHVM 3.12.
Feb 13 2016, 3:15 PM · Technical-Debt, MediaWiki-extensions-Scribunto

Feb 4 2016

Unicornisaurous awarded T125804: InstantCommons API requests to Commons are erroring out a Like token.
Feb 4 2016, 4:58 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2016-02-09_(1.27.0-wmf.13)), Patch-For-Review, MediaWiki-File-management, Multimedia, Commons
alex-mashin created T125804: InstantCommons API requests to Commons are erroring out.
Feb 4 2016, 1:24 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2016-02-09_(1.27.0-wmf.13)), Patch-For-Review, MediaWiki-File-management, Multimedia, Commons
alex-mashin updated the task description for T125800: TitleBlacklist treats empty lines in MediaWiki:TitleBlacklist incorrectly.
Feb 4 2016, 1:02 PM · MW-1.30-release-notes (WMF-deploy-2017-06-20_(1.30.0-wmf.6)), Patch-For-Review, TitleBlacklist
alex-mashin created T125800: TitleBlacklist treats empty lines in MediaWiki:TitleBlacklist incorrectly.
Feb 4 2016, 12:55 PM · MW-1.30-release-notes (WMF-deploy-2017-06-20_(1.30.0-wmf.6)), Patch-For-Review, TitleBlacklist

Jan 13 2016

alex-mashin created T123476: ContactPage fails if $wgContactConfig ['default'] ['AdditionalFields'] not set.
Jan 13 2016, 12:17 PM · MediaWiki-extensions-ContactPage

Jan 3 2016

alex-mashin created T122760: Non-existent files are (conditionally?) included by MW, vendors' libraries and extensions.
Jan 3 2016, 9:52 AM · HHVM, MediaWiki-Vendor, MediaWiki-extensions-SemanticResultFormats, TimedMediaHandler, MediaWiki-extensions-Score, MediaWiki-extensions-PagedTiffHandler

Dec 25 2015

alex-mashin added a comment to T116266: Undefined property: DiffEngine::$seq.

What about backporting to REL1_26?

Dec 25 2015, 12:26 PM · affects-translatewiki.net, MediaWiki-Page-History, MW-1.26-release, MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), MW-1.27-release-notes, Patch-For-Review, MediaWiki-Page-Diffs

Dec 24 2015

alex-mashin added a comment to T122300: ReCaptchaNoCaptcha always in English.

Wondering how it can gather the wiki user language (API) in case a contributor would like to work on this task.

If the contributor is anonymous, which is not always the case, obviously, the wiki interface language.

Dec 24 2015, 3:06 PM · MW-1.27-release (WMF-deploy-2016-01-12_(1.27.0-wmf.10)), Patch-For-Review, Google-Code-In-2015, ConfirmEdit (CAPTCHA extension)

Dec 23 2015

alex-mashin created T122302: Undefined property DiffEngine::$seq in /var/www/wiki/w/includes/diff/DairikiDiff.php twice.
Dec 23 2015, 3:31 PM · MediaWiki-Page-History, MediaWiki-Page-Diffs
alex-mashin created T122300: ReCaptchaNoCaptcha always in English.
Dec 23 2015, 2:53 PM · MW-1.27-release (WMF-deploy-2016-01-12_(1.27.0-wmf.10)), Patch-For-Review, Google-Code-In-2015, ConfirmEdit (CAPTCHA extension)

Dec 19 2015

alex-mashin closed T115779: Luasandbox is broken under HHVM 3.10 as Resolved.
Dec 19 2015, 8:42 AM · HHVM, MediaWiki-extensions-Scribunto
alex-mashin added a comment to T115779: Luasandbox is broken under HHVM 3.10.

I can't reproduce this with the current HEAD of facebook/hhvm (3.12):

Dec 19 2015, 8:41 AM · HHVM, MediaWiki-extensions-Scribunto
alex-mashin added a comment to T52454: Include a RegEx library for Lua.

http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html looks nice, including lpeg.setmaxstack to cause crazy regex to fail.

Just like lrexlib it won't work until you hack luasandbox (and so I did).

Dec 19 2015, 7:42 AM · MediaWiki-extensions-Scribunto

Dec 12 2015

alex-mashin closed T121311: Strange warning in the log for gadgets: "OutputPage::getModuleStyles: style module should define its position explicitly" as Invalid.
Dec 12 2015, 2:41 PM · mediawiki-extensions-gadgets
alex-mashin added a comment to T121311: Strange warning in the log for gadgets: "OutputPage::getModuleStyles: style module should define its position explicitly".

After I upgraded Gadgets extension to REL1_26, the message went away, so the bug can be closed now.

Dec 12 2015, 2:41 PM · mediawiki-extensions-gadgets
alex-mashin added a comment to T121311: Strange warning in the log for gadgets: "OutputPage::getModuleStyles: style module should define its position explicitly".

CSS-only (gadget) modules should define the ResourceLoader module "position", i.e. top (the other alternative is bottom, but you don't want this when you have a CSS-only module, as that'll cause a "flash of unstyled content" when the CSS is being loaded). For a good example, see the English Wikipedia's various Watchlist* gadgets, such as WatchlistBase.
That being said, I don't quite get why you're seeing this warning for a gadget which seems to have no CSS, only JS. That definitely sounds like a bug or I'm missing something here.

Dec 12 2015, 2:35 PM · mediawiki-extensions-gadgets
alex-mashin added a comment to T121311: Strange warning in the log for gadgets: "OutputPage::getModuleStyles: style module should define its position explicitly".

P.S. If I switch debug mode off, the warnings remain.

Dec 12 2015, 2:00 PM · mediawiki-extensions-gadgets
alex-mashin updated the task description for T121311: Strange warning in the log for gadgets: "OutputPage::getModuleStyles: style module should define its position explicitly".
Dec 12 2015, 1:18 PM · mediawiki-extensions-gadgets
alex-mashin created T121311: Strange warning in the log for gadgets: "OutputPage::getModuleStyles: style module should define its position explicitly".
Dec 12 2015, 1:18 PM · mediawiki-extensions-gadgets
alex-mashin added a comment to T106148: PHP Fatal error: Call to undefined function MediaWiki\suppressWarnings() in ... Maintenance.php on line 960.

I managed to run the update script after

composer install --no-dev
composer update --prefer-source
Dec 12 2015, 12:33 PM · MediaWiki-Installer
alex-mashin edited projects for T121307: MW 1.26 maintenance/update.php is broken, added: MediaWiki-Maintenance-scripts; removed MediaWiki-General.
Dec 12 2015, 12:10 PM · MediaWiki-Maintenance-scripts
Restricted Application updated subscribers of T115779: Luasandbox is broken under HHVM 3.10.

Anybosy here? Anybody cares?

Dec 12 2015, 11:35 AM · HHVM, MediaWiki-extensions-Scribunto
alex-mashin closed T115195: SyntaxHighlight: Object of class Parser could not be converted to string as Invalid.
Dec 12 2015, 11:29 AM · SyntaxHighlight
alex-mashin updated the task description for T121307: MW 1.26 maintenance/update.php is broken.
Dec 12 2015, 11:22 AM · MediaWiki-Maintenance-scripts
alex-mashin created T121307: MW 1.26 maintenance/update.php is broken.
Dec 12 2015, 11:21 AM · MediaWiki-Maintenance-scripts

Nov 1 2015

alex-mashin updated the task description for T115779: Luasandbox is broken under HHVM 3.10.
Nov 1 2015, 12:29 PM · HHVM, MediaWiki-extensions-Scribunto

Oct 18 2015

alex-mashin updated the task description for T115779: Luasandbox is broken under HHVM 3.10.
Oct 18 2015, 10:10 AM · HHVM, MediaWiki-extensions-Scribunto
alex-mashin updated the task description for T115779: Luasandbox is broken under HHVM 3.10.
Oct 18 2015, 9:55 AM · HHVM, MediaWiki-extensions-Scribunto

Oct 17 2015

alex-mashin updated the task description for T115779: Luasandbox is broken under HHVM 3.10.
Oct 17 2015, 6:46 AM · HHVM, MediaWiki-extensions-Scribunto
alex-mashin updated the task description for T115779: Luasandbox is broken under HHVM 3.10.
Oct 17 2015, 4:50 AM · HHVM, MediaWiki-extensions-Scribunto
alex-mashin added a comment to T63986: incompatible with ForeignDBRepo.

I should notice that videos are transcludable. Only MP3 files handled by MP4 handler aren't.

Oct 17 2015, 4:17 AM · TimedMediaHandler
alex-mashin created T115779: Luasandbox is broken under HHVM 3.10.
Oct 17 2015, 3:57 AM · HHVM, MediaWiki-extensions-Scribunto

Oct 12 2015

alex-mashin added a comment to T115197: Undefined index in handlers/Mp4Handler.php.

I'm assuming that using Mp4Handler for mp3 files is a hack of some kind that should not be done.

Any alternatives to handle MP3?

Oct 12 2015, 8:26 AM · MW-1.27-release (WMF-deploy-2015-10-27_(1.27.0-wmf.4)), Patch-For-Review, TimedMediaHandler

Oct 11 2015

alex-mashin created T115220: Cannot transclude an MP3 file from a ForeignDBRepo.
Oct 11 2015, 6:21 PM · TimedMediaHandler

Oct 10 2015

alex-mashin created T115197: Undefined index in handlers/Mp4Handler.php.
Oct 10 2015, 11:00 PM · MW-1.27-release (WMF-deploy-2015-10-27_(1.27.0-wmf.4)), Patch-For-Review, TimedMediaHandler
alex-mashin added a comment to T115195: SyntaxHighlight: Object of class Parser could not be converted to string.

Please close. I forgot that the really stable SyntaxHighlight version is 2.0.

Oct 10 2015, 10:36 PM · SyntaxHighlight
alex-mashin created T115195: SyntaxHighlight: Object of class Parser could not be converted to string.
Oct 10 2015, 9:56 PM · SyntaxHighlight

Oct 3 2015

alex-mashin added a comment to T73391: Wrong options for H264: -wpred-dct8x8.

I did git reset --hard HEAD; git pull; git checkout REL1_25 and still see -wpred-dct8x8 -level 13.

Oct 3 2015, 4:03 PM · WMF-deploy-2015-06-23_(1.26wmf11), Patch-For-Review, Multimedia, TimedMediaHandler
alex-mashin added a comment to T73391: Wrong options for H264: -wpred-dct8x8.

Will you please backport the patch to REL1_25?

Oct 3 2015, 7:09 AM · WMF-deploy-2015-06-23_(1.26wmf11), Patch-For-Review, Multimedia, TimedMediaHandler

Sep 21 2015

alex-mashin added a comment to T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.


What happens if you set $wgArticlePath = '/./$1'?

In this case, MW engine forms ugly-looking but correctly working URLs, which are prettyfied by browsers (I have checked Firefox and Opera): [[/etc]] → <a href="/.//etc"> in page's source code → http://my-server//etc in browser's status bar, in the clipboard when the link is copied and in the address bar if the link is opened. But I don't know how search engines will treat such internal links.

Sep 21 2015, 10:42 AM · MediaWiki-General

Sep 20 2015

alex-mashin updated the task description for T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 20 2015, 7:29 PM · MediaWiki-General
alex-mashin updated the task description for T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 20 2015, 7:29 PM · MediaWiki-General
alex-mashin updated the task description for T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 20 2015, 7:28 PM · MediaWiki-General
alex-mashin updated the task description for T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 20 2015, 7:28 PM · MediaWiki-General
alex-mashin updated the task description for T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 20 2015, 7:24 PM · MediaWiki-General
alex-mashin renamed T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash from Super-short URLs and articles that start with a / to Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 20 2015, 7:23 PM · MediaWiki-General

Sep 19 2015

alex-mashin created T113160: Super-short URLs are formed incorrectly for articles with titles starting with a slash.
Sep 19 2015, 11:45 PM · MediaWiki-General

Aug 16 2015

alex-mashin updated the task description for T73391: Wrong options for H264: -wpred-dct8x8.
Aug 16 2015, 3:24 AM · WMF-deploy-2015-06-23_(1.26wmf11), Patch-For-Review, Multimedia, TimedMediaHandler
alex-mashin updated the task description for T76272: jquery.tipsy broken.
Aug 16 2015, 3:23 AM · MediaWiki-JavaScript
alex-mashin added a comment to T90412: Document how luasandbox should be installed under HHVM at http://www.mediawiki.org/wiki/Extension:Scribunto.

I guess, the bug can be closed now.

Aug 16 2015, 3:19 AM · Documentation, MediaWiki-extensions-Scribunto

Aug 7 2015

alex-mashin added a comment to T90412: Document how luasandbox should be installed under HHVM at http://www.mediawiki.org/wiki/Extension:Scribunto.

So I did: https://www.mediawiki.org/w/index.php?diff=1654307&oldid=1516911.

Aug 7 2015, 12:08 PM · Documentation, MediaWiki-extensions-Scribunto
alex-mashin added a comment to T108022: SyntaxHighlight GeSHi 1.25: incompability with HHVM.

Since the reasons that prevented using the master branch of Syntax Highlight with MW 1.25 are removed, I think the obscure remotes/origin/REL1_25 can be abandoned now and this issue closed.

Aug 7 2015, 12:05 PM · SyntaxHighlight

Aug 5 2015

alex-mashin updated the task description for T108024: hhvm-repo-mode not compiling file listed in LoggerFactory.php in 1.25.1.
Aug 5 2015, 1:05 PM · good first bug, HHVM, MW-1.25-release
alex-mashin created T108024: hhvm-repo-mode not compiling file listed in LoggerFactory.php in 1.25.1.
Aug 5 2015, 1:04 PM · good first bug, HHVM, MW-1.25-release
alex-mashin created T108022: SyntaxHighlight GeSHi 1.25: incompability with HHVM.
Aug 5 2015, 12:58 PM · SyntaxHighlight

Aug 1 2015

Restricted Application updated subscribers of T74564: Parsoid extremely slow to render a short article.
Aug 1 2015, 9:48 AM · Performance Issue, Parsoid

Jul 18 2015

alex-mashin added a comment to T69747: phpsh fails with memory limit in hhvm.

I cannot find bug 67746 this bug is supposed to duplicate. Can anyone give me a URL, please?

Jul 18 2015, 9:45 AM · MediaWiki-Vagrant
alex-mashin added a comment to T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.
git pull:
 Already up-to-date.
Jul 18 2015, 7:31 AM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight
alex-mashin added a comment to T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.

git branch in extensions/SyntaxHighlight_GeSHi.

Jul 18 2015, 6:57 AM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight
alex-mashin added a comment to T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.

T102522: Setting manifest_version should not explode in REL1_25. It's fixed in REL1_25 and will be part of 1.25.2.

BTW, git branch currently reports only one branch: master.

Jul 18 2015, 6:48 AM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight
alex-mashin added a comment to T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.

Also, running hhvm maintenance/updateLexerList.php or hhvm maintenance/updateCSS.php under MW 1.25.1 gives this warning:
Warning: Invalid operand type was used: storeToArray expects array(s) in /var/www/traditio.ru/w/includes/registration/ExtensionProcessor.php on line 294.

Jul 18 2015, 6:23 AM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight

Jul 15 2015

alex-mashin added a comment to T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.
>>! In T105796#1452935, @TTO wrote:
> Are you sure you downloaded the 1.25 snapshot? https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_name=SyntaxHighlight_GeSHi&extdist_version=REL1_25&extdist_submit=
I used git, master branch, as README there said it was tested under MW 1.25.
Jul 15 2015, 12:37 PM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight

Jul 14 2015

alex-mashin updated the task description for T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.
Jul 14 2015, 2:42 PM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight
alex-mashin created T105796: SyntaxHighlight GeSHi doesn't really work under MediaWiki 1.25.
Jul 14 2015, 2:33 PM · WMF-deploy-2015-07-21_(1.26wmf15), MW-1.25-release, SyntaxHighlight

Jun 12 2015

alex-mashin added a comment to T100938: Special:NewPages ignores parameters.

Indeed, there was an ? at the end of nginx rewrite rule. I don't know what I was thinking when I put it there. I'm at a loss what could mask this error under MW 1.24.2 and previous versions.

Jun 12 2015, 4:18 PM · MediaWiki-Special-pages
alex-mashin added a comment to T100938: Special:NewPages ignores parameters.

If your wiki is public, please provide a link to it so we can see it happening

Jun 12 2015, 6:17 AM · MediaWiki-Special-pages
alex-mashin added a comment to T100938: Special:NewPages ignores parameters.

Also, check in server logs or in a debug log that the parameters are actually arriving to mediawiki and not being lost in some obscure rewrite-rule your server could be applying.

Jun 12 2015, 6:16 AM · MediaWiki-Special-pages
alex-mashin added a comment to T100938: Special:NewPages ignores parameters.

Has this been brought up on the MediaWiki.org Support Desk? I'm just wondering if other users have also run into this problem...

Honestly, I thought this is Mediawiki's support desk.

Jun 12 2015, 6:11 AM · MediaWiki-Special-pages

May 31 2015

alex-mashin added a comment to T76264: User::$mCoreRights made protected in 1.24, breaking stuff.

@alex-mashin: Any comments?

May 31 2015, 3:08 PM · MediaWiki-General
alex-mashin added a project to T100938: Special:NewPages ignores parameters: MediaWiki-Change-tagging.
May 31 2015, 2:59 PM · MediaWiki-Special-pages
alex-mashin created T100938: Special:NewPages ignores parameters.
May 31 2015, 2:58 PM · MediaWiki-Special-pages

May 19 2015

alex-mashin added a comment to T63432: Wiki system admins should be able to whitelist installed Lua libraries.

Some features are provided only by Lua libraries in C (.so). Do you know a way to link such a library via a call into PHP from luasandbox?

May 19 2015, 6:32 PM · MediaWiki-extensions-Scribunto

May 15 2015

alex-mashin added a comment to T63432: Wiki system admins should be able to whitelist installed Lua libraries.


The enclosed patch links two .so libraries for Lua to luasandbox. This is but a hack, far from what is desired. In particular, you need to know what libraries will be used before compilation. A better solution would be to link a library by a php function provided by luasandbox extension (just as dl () loads PHP extensions), in turn, called from Scribunto engine class; this function has to be wrapped up as a module loader in package.lua.

May 15 2015, 10:52 AM · MediaWiki-extensions-Scribunto

May 12 2015

alex-mashin added a comment to T85104: mw.callParserFunction demands unnamed parametre.

So now I have to glue it like this:

May 12 2015, 10:16 AM · MediaWiki-extensions-Scribunto