[MediaWiki-l] Re: Mediawiki 1.39.5 updagrade and more Composer problems

2023-10-08 Thread Bartosz Dziewoński
. If this isn't acceptable, I'm afraid you're out of luck. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists

[MediaWiki-l] Re: MW 1.40 and StructuredDisscusion?

2023-07-03 Thread Bartosz Dziewoński
of how exactly it works. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki

[MediaWiki-l] Re: array syntax

2023-02-14 Thread Bartosz Dziewoński
Hi Jeffrey, "NS_FILE" was introduced to replace "NS_IMAGE" in MediaWiki 1.14, which was released in 2009, fourteen years ago. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsub

[MediaWiki-l] Re: array syntax

2023-02-14 Thread Bartosz Dziewoński
ace was not applying correctly), but PHP 8 treats it as an error. The solution is to just replace all occurrences of NS_IMAGE with NS_FILE (and NS_IMAGE_TALK with NS_FILE_TALK). (Congrats on running MediaWiki for long enough that your configuration still used NS_IMAGE ;) ) -

[MediaWiki-l] Re: How to upgrade old MW Postgres DB backup into much newer MW version?

2023-01-10 Thread Bartosz Dziewoński
/wiki/LTS) supports upgrading from the previous one. Occasionally they might even have bug fixes for the upgrade process missing from non-LTS releases. So you'd only need to go through 1.27, 1.31 and 1.35. -- Bartosz Dziewoński ___ MediaWiki-l mailing

[MediaWiki-l] Re: Problem migrating from 1.38.5 to 1.39.1 due to Composer dependencies

2022-12-27 Thread Bartosz Dziewoński
?keywords=composer , that would be Ubuntu 22.04 Jammy. * Or install Composer 2 manually instead of from the system repositories – https://getcomposer.org/download/ -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org

[MediaWiki-l] Re: Large files for testing

2022-10-17 Thread Bartosz Dziewoński
elt ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ -- Bartosz Dziewoński ___ MediaWiki-l mailing l

[MediaWiki-l] Re: API:Feedrecentchanges timezone?

2022-07-06 Thread Bartosz Dziewoński
Not that I know of. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

[MediaWiki-l] Re: API:Feedrecentchanges timezone?

2022-07-04 Thread Bartosz Dziewoński
If you're logged in, and change your timezone in your preferences (Preferences → Appearance → Time zone), the timestamps in the feed HTML will respect that. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org

[MediaWiki-l] Re: Security vulnerability in load.php

2022-06-09 Thread Bartosz Dziewoński
Thanks for the note. We do not consider this to be a security vulnerability. People using automated scanners occasionally report this as a problem, but it's harmless. See for example discussion here: https://phabricator.wikimedia.org/T228544 -- Bartosz Dziewoński

[MediaWiki-l] Re: magic variable {{LOGGED-IN}} or similar?

2022-01-11 Thread Bartosz Dziewoński
There are some extensions that implement similar things: https://www.mediawiki.org/wiki/Extension:RightFunctions https://www.mediawiki.org/wiki/Extension:UserFunctions I haven't used either of them, but it looks like they both can do this job. -- Bartosz Dziewoński

[MediaWiki-l] Re: Move wiki to subfolder

2022-01-10 Thread Bartosz Dziewoński
You need to update $wgScriptPath and $wgArticlePath (if it's defined) in your LocalSettings.php to point to the new paths. If you've overridden any other "...Path" configuration variables (unlikely), update them too. -- Bartosz

[MediaWiki-l] Re: new tab

2021-12-06 Thread Bartosz Dziewoński
eRelations -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

[MediaWiki-l] Re: Global parser not initialized on special pages?

2021-06-14 Thread Bartosz Dziewoński
do I need to manually unwrap the text? You can use Parser::stripOuterParagraph( $html ) to do it. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists

Re: [MediaWiki-l] Question regarding Edit Review Improvements

2021-02-25 Thread Bartosz Dziewoński
The link only appears when there are new changes to show. It works for me on <https://en.wikipedia.org/wiki/Special:RecentChanges>. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/m

Re: [MediaWiki-l] Fatal error: Interface 'MediaWiki\Hook\TestCanonicalRedirectHook' not found in /var/www/html/w/includes/HookContainer/HookRunner.php on line 22

2020-12-15 Thread Bartosz Dziewoński
the test files, using .htaccess rules or something. If you want to keep your current (scary) approach, then try changing your 'find' command to only find directories, by adding '-type d' to the arguments. -- Bartosz Dziewoński ___ MediaWiki-l mailing

Re: [MediaWiki-l] issue with editing templates in Visual Editor, Mediawiki 1.35.0

2020-11-14 Thread Bartosz Dziewoński
tion. If you can't do that, then you can instead set $wgUsePathInfo=true, allowing you to use URLs like "/w/index.php/Article". -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Issue with VisualEditor on MediaWiki 1.35

2020-10-14 Thread Bartosz Dziewoński
could probably consider that a bug, even if most of the issues being reported don't actually require any code changes on our side to fix. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman

Re: [MediaWiki-l] Mediawiki 1.33, Apache Event MDM, Wiki displays "run(); "

2020-04-17 Thread Bartosz Dziewoński
Your server is not executing the PHP code, rather it just displays the contents of index.php, and your web browser interprets it as HTML. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman

Re: [MediaWiki-l] Special pages can't be accessed

2020-03-05 Thread Bartosz Dziewoński
SpecialWhatlinkshere.php (in all lower case). -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Installing MW on windows server 2016 browser does not support Unicode

2020-03-02 Thread Bartosz Dziewoński
-to-reproduce issue so that you can report this bug elsewhere ;) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Template displays different values for Firefox, Chrome

2019-12-10 Thread Bartosz Dziewoński
hortener" on https://ddowiki.com/page/MediaWiki:Gadgets-definition , I think that's the right way to fix this. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Obvious bug in maintenance/Maintenance.php since 1.31

2019-09-18 Thread Bartosz Dziewoński
I filed a bug, since no one else did :) https://phabricator.wikimedia.org/T233257 -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] skin indicator

2019-09-18 Thread Bartosz Dziewoński
No, there isn't. However, if you install the TemplateStyles extension, you can write different CSS styles for your content for each skin: https://www.mediawiki.org/wiki/Help:TemplateStyles#How_can_I_target_specific_skins? Hope that helps. -- Bartosz Dziewoński

Re: [MediaWiki-l] Users report blank pages

2019-06-17 Thread Bartosz Dziewoński
Looks like this problem to me: https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#Avoid_document.write() -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] bounces?

2019-06-12 Thread Bartosz Dziewoński
See https://phabricator.wikimedia.org/T225553 "gmail users being suspended from mediawiki-l due to excessive bounces". It seems it should be resolved now. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go

Re: [MediaWiki-l] Hint on Media Wiki:Common.css

2019-02-01 Thread Bartosz Dziewoński
Note that the message was accidentally removed for a few versions: https://phabricator.wikimedia.org/T191800 -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Reset password mail wont send

2019-01-30 Thread Bartosz Dziewoński
You could temporarily set $wgPasswordReminderResendTime to a lower value than 24. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Create page through api very slow

2019-01-21 Thread Bartosz Dziewoński
persons/organizations. Does your wiki happen to have approximately 7 times more persons than organizations? :) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] CSS for QuestyCaptcha question on Create Account page

2019-01-07 Thread Bartosz Dziewoński
it with the configuration option $wgAllowSiteCSSOnRestrictedPages = true. https://www.mediawiki.org/wiki/Manual:$wgAllowSiteCSSOnRestrictedPages -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org

Re: [MediaWiki-l] Database exceeds size limit

2018-12-27 Thread Bartosz Dziewoński
You can empty the ‘objectcache’ table. Data in it will be computed again when needed. Note that doing this may also cause all users to get logged out, depending on your wiki configuration. -- Matma Rex ___ MediaWiki-l mailing list To unsubscribe, go

Re: [MediaWiki-l] Why are usernames force Ucfirst?

2018-09-19 Thread Bartosz Dziewoński
There is no good reason. But now it's scary to change it, since there could be places where we assume that usernames can not begin with a lowercase letter. There is task https://phabricator.wikimedia.org/T28396 about this. Although folks are complaining about it, it seems that no one has proposed

Re: [MediaWiki-l] Importing XML files into MW 1.31.x

2018-05-16 Thread Bartosz Dziewoński
For reference, this was implemented in this patch: https://gerrit.wikimedia.org/r/#/c/386625/ Perhaps you can find an answer there, or in the linked Phabricator tasks (or at least find someone who will know the answer). -- Bartosz Dziewoński

Re: [MediaWiki-l] Importing XML files into MW 1.31.x

2018-05-16 Thread Bartosz Dziewoński
that will be prefixed to the usernames in the imported edits. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Does MediaWiki officially require JavaScript?

2018-04-16 Thread Bartosz Dziewoński
some fancy features, such as e.g. sortable tables or editing toolbar. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Using JQuery in a tag extension

2018-03-14 Thread Bartosz Dziewoński
"localBasePath": "", "remoteExtPath": "IFrame" }, (Where "IFrame" is the name of your extension's directory.) Make sure to avoid typos, "Iframe" and "IFrame" are not the same, you

Re: [MediaWiki-l] Problems installing mediawiki, please, help!

2018-03-14 Thread Bartosz Dziewoński
everything on that page that mentions LocalSettings.php :) ) Once you have a reasonable error message, we should be able to find out what is going wrong. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wik

Re: [MediaWiki-l] Multiple foreign file repos for one wiki

2018-03-14 Thread Bartosz Dziewoński
ch would not help me. But one never knows. Trying to somehow create an array of arrays with the "ForeignAPIRepo" class does not work. It's in a separate file: https://noc.wikimedia.org/conf/highlight.php?file=filebackend.php Search for '$wgForeignFileRepos' near t

Re: [MediaWiki-l] Multiple foreign file repos for one wiki

2018-03-14 Thread Bartosz Dziewoński
We have this setup in Wikimedia production (kinda…): test2.wikipedia.org has both test.wikipedia.org and commons.wikimedia.org configured as foreign file repos. Conveniently it's a testing wiki, so you can try out how exactly this works. -- Bartosz Dziewoński

Re: [MediaWiki-l] Category: Pages where template include size is exceeded.

2018-01-22 Thread Bartosz Dziewoński
Looks like this uses the same limit as article size: $wgMaxArticleSize. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Highest PHP version with MW v1.26.3

2018-01-07 Thread Bartosz Dziewoński
On 2018-01-04 14:42, Daryl Rose wrote: What is the highest version of php I can use with MW v1.26.3? According to https://www.mediawiki.org/wiki/Compatibility#PHP , PHP 5.6.x is the highest compatible version. Only MediaWiki 1.27 and later is supported on PHP 7+. -- Bartosz Dziewoński

Re: [MediaWiki-l] Dump of recents changes

2017-12-19 Thread Bartosz Dziewoński
On 2017-12-19 22:46, John wrote: That is for revision I'd based dumping. Once the dump is imported, just run rebuild recent changes and it will recreate the recent changes information I have no idea why you keep talking about recent changes when no one asked anything about them. -- Bartosz

Re: [MediaWiki-l] Dump of recents changes

2017-12-19 Thread Bartosz Dziewoński
I've never used this myself, but dumpBackup.php has options like --revrange, --revstart and --revend. Perhaps these can do it? -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] Problems applying the patch for 1.27.4

2017-11-20 Thread Bartosz Dziewoński
If you have problems applying the patch, you can download the .tar release for 1.27.4 and just replace the files instead. https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.4.tar.gz -- Bartosz Dziewoński ___ MediaWiki-l mailing list

Re: [MediaWiki-l] using $wgAutopromote based on session header variable

2017-11-03 Thread Bartosz Dziewoński
Looks like you can define custom conditions using the AutopromoteCondition hook: https://www.mediawiki.org/wiki/Manual:Hooks/AutopromoteCondition -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org

Re: [MediaWiki-l] One-time per logon pop-up notification for site acknowledgment.

2017-10-17 Thread Bartosz Dziewoński
Looks like you can set $wgRedirectOnLogin to a title of a page on your wiki that has those rules written down, instead of the main page. https://www.mediawiki.org/wiki/Manual:$wgRedirectOnLogin -- Bartosz Dziewoński ___ MediaWiki-l mailing list

Re: [MediaWiki-l] help with updating a wiki

2017-10-13 Thread Bartosz Dziewoński
For future reference, the problem you experienced was probably <https://phabricator.wikimedia.org/T60640>. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] extension to get Mediawiki version in copy/paste text form for support

2017-09-15 Thread Bartosz Dziewoński
to ask) No, you can only get the entire JSON structure. If the goal is to "to have a nice simple way to attach that info to a support thread", then you can probably just copypaste the entire thing? Otherwise, you'll have to extract extensions' names from it. -- Bartosz

Re: [MediaWiki-l] Unit testing your patch before submitting to gerrit

2017-09-11 Thread Bartosz Dziewoński
failures don't exist: https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Running_the_unit_tests#Running_other_sets_of_tests -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki

Re: [MediaWiki-l] Unit testing your patch before submitting to gerrit

2017-09-11 Thread Bartosz Dziewoński
page title not existing. If you run into something like this, please file a task about it. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Where is the documentation for creating "Portals" in a small MediaWiki site?

2017-09-08 Thread Bartosz Dziewoński
I'm not sure I understand what you're looking for. Can you give an example of a "portal"? There are several things we call by that name :) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.o

Re: [MediaWiki-l] Is namespace specific CSS possible?

2017-08-02 Thread Bartosz Dziewoński
sses on the tag, so the selector should be: body.mediawiki.ns-4012 -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Get value from URL

2017-07-07 Thread Bartosz Dziewoński
To clarify, is this question about the SemanticForms extension or something? What kind of "form" do you mean? (If it's about Sematic stuff, try asking at their mailing list too: https://www.semantic-mediawiki.org/wiki/Help:Getting_support) -- Bartosz

Re: [MediaWiki-l] How to see ImportWizard

2017-07-05 Thread Bartosz Dziewoński
UploadWizard has its own special page: https://drivrsdu.fr/dicof/w/index.php/Spécial:UploadWizard (it does not replace the default upload system). You can set $wgUploadNavigationUrl to that URL to change where the link in the sidebar points. -- Bartosz Dziewoński

Re: [MediaWiki-l] Mediawiki installation asking for already provided components

2017-06-14 Thread Bartosz Dziewoński
Hmm. Make sure the mbstring and xml extensions are enabled in your php.ini file? -- Matma Rex ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] New tab

2017-05-16 Thread Bartosz Dziewoński
Have you tried https://www.mediawiki.org/wiki/Extension:NamespaceRelations ? -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Magic word

2017-05-16 Thread Bartosz Dziewoński
On 2017-05-16 21:26, אחיקם אלירז wrote: Hello, When I use the magic word 'FULLURL' in my wiki, it's give back a message that 'the title including a wrong note D%'. What can be the problem? THanks. Can you copy-paste the exact error message? (It's OK if it's not in English.) -- Bartosz

Re: [MediaWiki-l] Debian packages for a localhost installation?

2017-05-05 Thread Bartosz Dziewoński
You'll need these: https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu#Install_LAMP_Stack -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] From https to http but i don't want

2017-04-16 Thread Bartosz Dziewoński
Make sure your $wgServer configuration variable is set to the HTTPS address. ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] How to set up and use columns?

2017-04-06 Thread Bartosz Dziewoński
On 2017-04-06 03:29, Sharon Kimble wrote: - How can I get rid of 'From DrugFacts' under every level one heading please? Does anyone know please? You can change or remove this text by editing the page "MediaWiki:Tagline" on your wiki. -- Bartosz

Re: [MediaWiki-l] Subject: Wikipedia Training Site

2017-03-27 Thread Bartosz Dziewoński
of the parsing problems can be resolved by setting `$wgUseTidy = true;` in your LocalSettings: https://www.mediawiki.org/wiki/Manual:$wgUseTidy I don't know why some of the pages are missing. -- Bartosz Dziewoński ___ MediaWiki-l mailing list

Re: [MediaWiki-l] MediaWiki mailing list emails exposed to potential spam

2017-03-08 Thread Bartosz Dziewoński
I don't think it's possible to get them removed. This mailing list is public and fairly widely mirrored, not just on Gossamer Threads. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman

Re: [MediaWiki-l] Understanding the generation of thumbs ...

2017-02-27 Thread Bartosz Dziewoński
thumbnail of that size. As far as I know there is currently no option to disallow generation of thumbnails of arbitrary sizes, and limit it to some preset list. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wik

Re: [MediaWiki-l] Spawning images for test purposes

2017-02-13 Thread Bartosz Dziewoński
he uploads, and teardownUploadBackend() for cleaning them up afterwards. I'm not sure how easy this code will be to extricate… -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] how to clean up the shown URL

2017-02-10 Thread Bartosz Dziewoński
I suspect you have the double slash set in $wgScriptPath in LocalSettings.php. As for the 'mat54_Wiki', you would probably have to move your wiki's files to a parent directory on the server. -- Bartosz Dziewoński ___ MediaWiki-l mailing list

Re: [MediaWiki-l] fatal error

2017-02-10 Thread Bartosz Dziewoński
ask your hosting about it). -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Linking to Wikipedia and Commons

2017-02-06 Thread Bartosz Dziewoński
to manage them. (The extension is bundled with recent MediaWiki tarballs.) Answer 2: Just set $wgUseInstantCommons = true; in your LocalSettings.php <https://www.mediawiki.org/wiki/Manual:$wgUseInstantCommons>. The MediaWiki installer gives you an option to enable this, too. -- B

Re: [MediaWiki-l] Update to php 7.0.15 breaking MW 1.23

2017-01-30 Thread Bartosz Dziewoński
;'): if ( !$obj ) { throw new MWException( "No result for XML: $xml" ); } And report the new error message and backtrace you should get? -- Bartosz Dziewoński ___ MediaWiki-l mailing list To u

Re: [MediaWiki-l] Extension Calendar (Kenyu73) with MW 1.27.1?

2017-01-20 Thread Bartosz Dziewoński
TP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see <https://www.mediawiki.org/wiki/Manual:How_to_debug>. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://l

Re: [MediaWiki-l] Creating branches of all articles

2017-01-13 Thread Bartosz Dziewoński
You could export the set of pages, edit the resulting XML file to your liking, and import them back under new titles. https://www.mediawiki.org/wiki/Help:Export https://www.mediawiki.org/wiki/Manual:Importing_XML_dumps -- Matma Rex ___ MediaWiki-l

Re: [MediaWiki-l] Creating branches of all articles

2017-01-13 Thread Bartosz Dziewoński
This doesn't really exist, but I think you could use namespaces for this? So you'd have namespaces like "Version 3:" and "Version 4:", and page titles like "Version 3:Main menu" and "Version 4:Main menu". (You could use something shorter like "V3", "V4".) -- Matma Rex

Re: [MediaWiki-l] How to update all links including an anchor that changed

2017-01-04 Thread Bartosz Dziewoński
Neither of these currently exists. Links to anchors/sections are not tracked in any way. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Upgrading to MediWiki 1.28.0 Getting the homepage to flash and then goes to blank

2017-01-04 Thread Bartosz Dziewoński
/wiki/ResourceLoader/Migration_guide_(users)#Avoid_document.write.28.29 -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Mediawiki 1.28

2016-12-11 Thread Bartosz Dziewoński
You're almost certainly actually running PHP 5.3 or older. You should, however, get a nice error message explaining the problem rather than a syntax error. This is a bug, I submitted a patch to fix it: https://gerrit.wikimedia.org/r/326364 -- Bartosz Dziewoński

Re: [MediaWiki-l] Phabricator tags: patch-for-review and WMF-deploy-*

2016-11-24 Thread Bartosz Dziewoński
delay. It should do this within a couple hours. (But if doesn't, yes, it's fine to add the tag by hand.) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Revision deletion timestamp

2016-11-13 Thread Bartosz Dziewoński
::getParametersForApi() if you want to do this. If I were you, I would really just use the API for this. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] 404 Not Found when moving to a new server

2016-11-08 Thread Bartosz Dziewoński
You probably need to adjust $wgServer and $wgScriptPath in your LocalSettings.php to match the URL where the site is served. https://www.mediawiki.org/wiki/Manual:$wgServer https://www.mediawiki.org/wiki/Manual:$wgScriptPath -- Bartosz Dziewoński

Re: [MediaWiki-l] Special:UserLogin return to current page

2016-11-02 Thread Bartosz Dziewoński
SpecialPage::getTitleFor( 'UserLogin' )->getLocalURL( [ 'returnto' => $skin->getTitle()->getPrefixedText(), ] ); -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] OOjs UI help needed

2016-11-02 Thread Bartosz Dziewoński
clicks the buttons. So after the second time the (for example) "add comment" button is clicked, `commentInSection.constructor` will no longer be equal to `CommentInSection`. This could cause hard-to-debug problems in the future. -- Bartosz

Re: [MediaWiki-l] jQuery vs. CSS

2016-10-20 Thread Bartosz Dziewoński
the exact error message, because not everyone has magic guessing powers like I do ;) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Help with link to file

2016-10-10 Thread Bartosz Dziewoński
n your server to use VisualEditor. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Help with link to file

2016-10-10 Thread Bartosz Dziewoński
/www.mediawiki.org/wiki/Help:Links#Internal_links>. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Moved site providers and now my URLs are /wiki/index.php?title=page

2016-09-30 Thread Bartosz Dziewoński
.htaccess and rewrite rules would be needed for short URLs like http://terminals-wiki.org/wiki/Category:DEC (without the 'index.php' part). -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman

Re: [MediaWiki-l] MediaWiki 1.27.1 Extension CSS

2016-09-26 Thread Bartosz Dziewoński
I don't have any practical examples handy, but the documentation is here: https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_%28users%29#Inline_scripts It was discussed on wikitech-l a couple months ago: http://www.gossamer-threads.com/lists/wiki/wikitech/665178

Re: [MediaWiki-l] MediaWiki 1.27.1

2016-09-21 Thread Bartosz Dziewoński
The script passed to the Html::inlineScript() call in CSS.php has to first be wrapped in ResourceLoader::makeInlineScript(). -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] Timestamping template

2016-09-06 Thread Bartosz Dziewoński
is something like "19:07, 6 September 2016 (UTC)". Perhaps your users can just use that? -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Page move results in deletion

2016-08-28 Thread Bartosz Dziewoński
The logging is new: https://gerrit.wikimedia.org/r/#/c/225284/ ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] API edit token question

2016-08-03 Thread Bartosz Dziewoński
No. You can do it from JavaScript code, if you have set up both wikis to allow CORS. See: <https://www.mediawiki.org/wiki/Manual:CORS>. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/m

Re: [MediaWiki-l] Specific search page

2016-07-25 Thread Bartosz Dziewoński
No, I mean killing the original Special:Search page and callings yours Special:Search. Using that hook you should my able to set `$list['Search'] = 'MySpecialSearchWhatever'`. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go

Re: [MediaWiki-l] Specific search page

2016-07-25 Thread Bartosz Dziewoński
You could probably take over the core Special:Search entirely and replace it with your own special page with the 'SpecialPage_initList' hook from SpecialPageFactory. (I didn't test that it works.) -- Bartosz Dziewoński ___ MediaWiki-l mailing list

Re: [MediaWiki-l] Vektor Skin

2016-07-19 Thread Bartosz Dziewoński
an extension. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] [mwstake] Discussion about a MediaWiki organisation

2016-05-06 Thread Bartosz Dziewoński
What was the outcome of the discussion? Are there minutes/notes available? -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Please help

2016-04-18 Thread Bartosz Dziewoński
Looks like you con configure it with $wgTransactionalTimeLimit. https://www.mediawiki.org/wiki/Manual:$wgTransactionalTimeLimit -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] Post Save notification

2016-03-18 Thread Bartosz Dziewoński
This page has a CSS solution: https://meta.wikimedia.org/wiki/Post-edit_feedback There's some more documentation on https://www.mediawiki.org/wiki/Post-edit_feedback and linked pages. -- Bartosz Dziewoński ___ MediaWiki-l mailing list

[MediaWiki-l] A second, Duplicate Wiki

2016-02-16 Thread Bartosz Dziewoński
It's not that crazy a thing to do. Wikimedia cluster has https://wikitech-static.wikimedia.org/, a read-only copy of https://wikitech.wikimedia.org/, acting as a backup copy of documentation in case of a catastrophic outage. According to https://wikitech.wikimedia.org/wiki/wikitech-static, it's

Re: [MediaWiki-l] Does $wgOpenSearchDefaultLimit work?

2016-02-15 Thread Bartosz Dziewoński
Search without the 'wg': https://github.com/wikimedia/mediawiki/blob/master/includes/api/ApiOpenSearch.php#L276 It apparently only affects the default limit, which as you say is overridden for the search box code. I don't know why, just noting. -- Bartosz Dziewoński

Re: [MediaWiki-l] Broken categories management after upgrading from 1.25.3 to 1.27.0-wmf.10

2016-02-15 Thread Bartosz Dziewoński
This code now runs from the job queue (CategoryMembershipChangeJob). Perhaps the job adding code can't handle your job queue setup (or perhaps your setup is broken and doesn't run jobs at all). -- Bartosz Dziewoński ___ MediaWiki-l mailing list

Re: [MediaWiki-l] More Lua stuff not working

2016-02-01 Thread Bartosz Dziewoński
available in the history, but it's going to be tedious). -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] MediaWiki 1.26.2

2016-01-09 Thread Bartosz Dziewoński
error messages. You might need to tweak some PHP or MediaWiki settings for the errors to be displayed: https://www.mediawiki.org/wiki/Manual:How_to_debug#PHP_errors -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https

Re: [MediaWiki-l] search inside wiki shows page wiki markup (templates, params, etc.) in search results summary

2016-01-03 Thread Bartosz Dziewoński
HTML, among other things. https://www.mediawiki.org/wiki/Extension:CirrusSearch -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

  1   2   3   >