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.)
Here the message: כותרת שגויה https://www.betmidrash.org.il/index.php?title=%25D7%25A0%25D7%2595%25D7%2598%25D7%259C_%25D7%2590%25D7%2593%25D7%259D_%25D7%2590%25D7%25AA_%25D7%2591%25D7%25A0%25D7%2595&action=edit#mw-head https://www.betmidrash.org.il/index.php?title=%25D7%25A0%25D7%2595%25D7%2598%25D7%259C_%25D7%2590%25D7%2593%25D7%259D_%25D7%2590%25D7%25AA_%25D7%2591%25D7%25A0%25D7%2595&action=edit#p-search
כותרת הדף המבוקש מכילה תווים בלתי תקינים: "%D7".
חזרה לדף עמוד ראשי https://www.betmidrash.org.il/index.php/%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99 .
2017-05-17 7:51 GMT+03:00 mediawiki-l-request@lists.wikimedia.org:
Send MediaWiki-l mailing list submissions to mediawiki-l@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@lists.wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@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:
- Loading Javascript files that use import (George, Garrett J. (JSC-CB111)[SGT, INC])
- New tab (אחיקם אלירז)
- Magic word (אחיקם אלירז)
- Re: New tab (Tom Bishop, Wenlin Institute)
- Re: New tab (tangmu@wenlin.com)
- Re: Search feature / Change in behaviour (Pine W)
- Re: Magic word (Bartosz Dziewoński)
- Re: New tab (Bartosz Dziewoński)
Message: 1 Date: Tue, 16 May 2017 14:03:13 +0000 From: "George, Garrett J. (JSC-CB111)[SGT, INC]" garrett.j.george@nasa.gov To: "mediawiki-l@lists.wikimedia.org" mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Loading Javascript files that use import Message-ID: 760DED71F5821B4D96EDD06D78AFF334015A4B71@NDJSMBX101.ndc.nasa.gov Content-Type: text/plain; charset="us-ascii"
Hey all,
I'm currently trying to implement a third party library into an extension I'm developing and was running into the error unexpected token import when the Javascript will run import X from Y. I believe it wants var X = require(Y) but I don't necessarily want to go through all the import statements and rewrite them. If I use the libraries CDN link and add a
<script> tag at the head of the page and it gets executed by the browser (Chrome) the library loads fine. I'm not sure where it originates from, but it seems to have to do with load.php and how it handles javascript files and ResourceLoader. Thanks, Garrett ------------------------------ Message: 2 Date: Tue, 16 May 2017 22:16:10 +0300 From: אחיקם אלירז <ahikamel@gmail.com> To: mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] New tab Message-ID: <CAKexSqCTh9szeAkvPQQ9F3+XdFoAp+5KX8K5O-K8yPQzHshJJg@ mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Hello. I want to a add a new tab, neer the tab 'discussion', and to call it 'draft'. There is some extensions for new tabs, but all of them made the tabs in the page. How can I do it? is it possible? THanks. ------------------------------ Message: 3 Date: Tue, 16 May 2017 22:26:19 +0300 From: אחיקם אלירז <ahikamel@gmail.com> To: mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Magic word Message-ID: <CAKexSqAiaHt8V1Neyt_Y_vAsZZ3wyK_vTN32+tDn2+SiMQ-1ng@ mail.gmail.com> Content-Type: text/plain; charset="UTF-8" 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. ------------------------------ Message: 4 Date: Tue, 16 May 2017 13:20:52 -0700 From: "Tom Bishop, Wenlin Institute" <tangmu@wenlin.com> To: MediaWiki announcements and site admin list <mediawiki-l@lists.wikimedia.org> Subject: Re: [MediaWiki-l] New tab Message-ID: <70450572-7369-4742-AF7F-0D52829D5176@wenlin.com> Content-Type: text/plain; charset=utf-8 > On May 16, 2017, at 12:16 PM, אחיקם אלירז <ahikamel@gmail.com> wrote: > > Hello. > I want to a add a new tab, neer the tab 'discussion', and to call it > 'draft'. > There is some extensions for new tabs, but all of them made the tabs in the > page. > How can I do it? is it possible? I'm not sure I understand your question exactly. Something like this might work in YourExtension.hooks.php: public static function onGetPreferences(User $user, array &$preferences) { $preferences['foo'] = array( 'type' => 'toggle', 'label' => 'foofoo', 'section' => "draft/sectionxyz" ); return true; } With this in extension.json: "Hooks": { "GetPreferences": [ "YourExtensionHooks::onGetPreferences" ] } And, in en.json, items like "prefs-draft": "Draft" and "prefs-draft-sectionxyz": "Section XYZ". Good luck! Tom Wenlin Institute, Inc. SPC (a Social Purpose Corporation) 文林研究所社会目的公司 Software for Learning Chinese E-mail: wenlin@wenlin.com Web: http://www.wenlin.com Telephone: 1-877-4-WENLIN (1-877-493-6546) ☯ ------------------------------ Message: 5 Date: Tue, 16 May 2017 13:37:21 -0700 From: tangmu@wenlin.com To: MediaWiki announcements and site admin list <mediawiki-l@lists.wikimedia.org> Subject: Re: [MediaWiki-l] New tab Message-ID: <BE572473-F2ED-4CA2-A23C-3E4054D0116E@wenlin.com> Content-Type: text/plain; charset=utf-8 Sorry, I just realized your question wasn't about Preferences tabs. You should probably ignore my reply below. Tom > On May 16, 2017, at 1:20 PM, Tom Bishop, Wenlin Institute < tangmu@wenlin.com> wrote: > > >> On May 16, 2017, at 12:16 PM, אחיקם אלירז <ahikamel@gmail.com> wrote: >> >> Hello. >> I want to a add a new tab, neer the tab 'discussion', and to call it >> 'draft'. >> There is some extensions for new tabs, but all of them made the tabs in the >> page. >> How can I do it? is it possible? > > > I'm not sure I understand your question exactly. Something like this might work in YourExtension.hooks.php: > > public static function onGetPreferences(User $user, array &$preferences) > { > $preferences['foo'] = array( > 'type' => 'toggle', > 'label' => 'foofoo', > 'section' => "draft/sectionxyz" > ); > return true; > } > > With this in extension.json: > > "Hooks": { > "GetPreferences": [ > "YourExtensionHooks::onGetPreferences" > ] > } > > And, in en.json, items like "prefs-draft": "Draft" and "prefs-draft-sectionxyz": "Section XYZ". > > Good luck! > > Tom > > Wenlin Institute, Inc. SPC (a Social Purpose Corporation) > 文林研究所社会目的公司 > Software for Learning Chinese > E-mail: wenlin@wenlin.com Web: http://www.wenlin.com > Telephone: 1-877-4-WENLIN (1-877-493-6546) > ☯ > > > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l Wenlin Institute, Inc. SPC (a Social Purpose Corporation) 文林研究所社会目的公司 Software for Learning Chinese E-mail: wenlin@wenlin.com Web: http://www.wenlin.com Telephone: 1-877-4-WENLIN (1-877-493-6546) ☯ ------------------------------ Message: 6 Date: Tue, 16 May 2017 19:31:14 -0700 From: Pine W <wiki.pine@gmail.com> To: MediaWiki announcements and site admin list <mediawiki-l@lists.wikimedia.org>, A public mailing list about Wikimedia Search and Discovery projects <discovery@lists.wikimedia.org> Subject: Re: [MediaWiki-l] Search feature / Change in behaviour Message-ID: <CAF=dyJh6bm0RZ893xwP2j0PRUwn+EpOjWS41oBF0yZAzHMuYvw@mail. gmail.com> Content-Type: text/plain; charset="UTF-8" Cross-posting this to the Discovery mailing list with hopes that someone from WMF Discovery can shed some light on this situation. Pine On Mon, May 15, 2017 at 2:08 PM, Tom <tom@hutch4.us> wrote: > I actually think there is a drop in page content results too. Searching > for example, pages using a tag <FooBar>text</FooBar> would report content > found in x pages. Now search <FooBar> no content in pages found. Search > <FooBar no > found on 3 pages but expect 50. > > I do want to do more testing. Rebuilding the index seems to be super fast > unlike before which would take up to a few minutes to complete. > > Tom > > > On May 15, 2017, at 10:02 AM, [[kgh]] <mediawiki@kghoffmeyer.de> wrote: > > > > Heiya, > > > > it's me again. :) Does somebody at least see the issue. Probably a bug > > that should be reported? > > > > Thanks and cheers > > > > Karsten > > > > > >> Am 09.05.2017 um 16:32 schrieb [[kgh]]: > >> Heiya, > >> > >> I have upgraded from 1.23 to 1.27 which was now possible since the > >> latest release. > >> > >> After the process I observe a changed behavior regarding the rudimentary > >> full-text search MediaWiki provides out of the box, i.e. I am not > >> talking about the Cirrus/Elastica duo available as an extra. > >> > >> When adding a search term to the search field on MW 1.27 like e.g. > >> "Lorem ipsum" (note: including the ") than only the page names for the > >> findings are shown and not the page names and some text extract wrapping > >> the searched term as MW 1.23 did. When adding just Lorem ipsum (note: > >> excluding the ") I get the page names and some text extract wrapping the > >> searched term as I did with 1.23. The results for Lorem ipsum however > >> are a much worse fit than for "Lorem ipsum" so that's why I am here. > >> > >> Perhaps I missed some setting I now have to make or perhaps there is > >> some script I overlooked to get things running. I'd like to get the > >> wrapping text back. Pointers highly appreciated. > >> > >> Thanks for your time > >> > >> Karsten > >> > >> > >> _______________________________________________ > >> 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 > ------------------------------ Message: 7 Date: Wed, 17 May 2017 06:48:55 +0200 From: Bartosz Dziewoński <matma.rex@gmail.com> To: MediaWiki announcements and site admin list <mediawiki-l@lists.wikimedia.org> Subject: Re: [MediaWiki-l] Magic word Message-ID: <b8db183d-80fd-bc85-6dac-3976b1600379@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed 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 Dziewoński ------------------------------ Message: 8 Date: Wed, 17 May 2017 06:50:53 +0200 From: Bartosz Dziewoński <matma.rex@gmail.com> To: MediaWiki announcements and site admin list <mediawiki-l@lists.wikimedia.org> Subject: Re: [MediaWiki-l] New tab Message-ID: <432a5def-6db6-6b78-e8a5-22476ba953df@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Have you tried https://www.mediawiki.org/wiki/Extension:NamespaceRelations ? -- Bartosz Dziewoński ------------------------------ Subject: Digest Footer _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ------------------------------ End of MediaWiki-l Digest, Vol 164, Issue 9 *******************************************
For reference, the English message for this ('title-invalid-characters') is: "The requested page title contains invalid characters: "%D7"."
I think you're double-encoding the URL somehow – are you doing something like {{fullurl:{{urlencode:Title}}}}? Just {{fullurl:Title}} should work in this case.
mediawiki-l@lists.wikimedia.org