Movatterモバイル変換


[0]ホーム

URL:


Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
List overview
Download

Wikitech-lJanuary 2021

wikitech-l@lists.wikimedia.org
  • 35 participants
  • 45 discussions
Start a nNew thread
Database dumps
by Byrial Jensen 17 Apr '25

17 Apr '25
Until some weeks agohttp://dumps.wikimedia.org/backup-index.html usedto show 4 dumps in progress at the same time. That meant that newdatabase dumps normally was available within about 3 weeks for alldatabases except for enwiki and maybe dewiki where the dump process dueto size took longer time.However the 4 dumps processes at one time become 3 some weeks ago. Andafter massive failures at June 4, only one dump has been in progress atthe same time. So at the current speed it will take several months tocome thru all dumps.Is it possible to speed up the process again using several dumpprocesses at the same time?Thank you,Byrial
3 2
0 0
User-Agent:
by Domas Mituzas 17 Apr '25

17 Apr '25
Hi!from now on specific per-bot/per-software/per-client User-Agent header is mandatory for contacting Wikimedia sites.Domas
19 61
0 0

17 Apr '25
Hoi,This is an inquiry from my friend in academia, researching about Wikipedia.He would like to know whether there's a way to acquire a list of templatesincluding external links. Here are some examples including external links.https://ja.wikipedia.org/wiki/Template:JOI/dochttps://ja.wikipedia.org/wiki/Template:Twitter/docSuch links are stored in externallinks.sql.gz, in an expanded form.When you want to check increase/decrease of linked domains in chronologicalorder through edit history, you have to check pages-meta-history1.xml etc.In a such case, traditional links and links by templates are mixed,Therefore, the latter ones (links by templates) should be expanded totraditional link forms.Sorry if what I am saying does not make sense.Thanks in advance,--Takashi Ota [[U:Takot]]
13 24
0 0
EBNF grammar project status?
by Steve Bennett 01 Apr '25

01 Apr '25
What's the status of the project to create a grammar for Wikitext in EBNF?There are two pages:http://meta.wikimedia.org/wiki/Wikitext_Metasyntaxhttp://www.mediawiki.org/wiki/Markup_specNothing seems to have happened since January this year. Also the comments onthe latter page seem to indicate a lack of clear goal: is this just a funproject, is it to improve the existing parser, or is it to facilititate anew parser? It's obviously a lot of work, so it needs to be of clearbenefit.Brion requested the grammar IIRC (and there's a comment to that effect athttp://bugzilla.wikimedia.org/show_bug.cgi?id=7), so I'm wondering what became of it.Is there still a goal of replacing the parser? Or is there some alternativeplan?Steve
26 217
0 0
Missing Section Headings
by Marc Riddell 13 Sep '24

13 Sep '24
Hello,I have been a WP editor since 2006. I hope you can help me. For some reasonI no longer have Section Heading titles showing in the Articles. This istrue of all Headings including the one that carries the Article subject'sname. When there is a Table of Contents, it appears fine and, when I clickon a particular Section, it goes to that Section, but all that is there is astraight line separating the Sections. There is also no button to edit aSection. If I edit the page and remove the "== ==" markers from the SectionTitles, the Title then shows up, but not as a Section Heading. Also, I don'thave any Date separators on my Want List. This started 2 days ago. Anythoughts?Thanks,Marc Riddell[[User:Michael David]]
10 11
0 0
I know it has been annoying a couple of people other than me, so now that I've learned how to make it work I'll share the knowledge here.tl;dr: Star the repositories. No, seriously. (And yes, you need to star each extension repo separately.)(Is there a place onmw.org to put this tidbit on?)------- Forwarded message -------From: "Brian Levine" <support(a)github.com> (GitHub Staff)To: matma.rex(a)gmail.comCc:Subject: Re: Commits in mirrored repositories not showing up on my profileDate: Tue, 09 Jul 2013 06:47:19 +0200Hi BartoszIn order to link your commits to your GitHub account, you need to have some association with the repository other than authoring the commit. Usually, having push access gives you that connection. In this case, you don't have push permission, so we don't link you to the commit.The easy solution here is for you to star the repository. If you star it - along with the other repositories that are giving you this problem - we'll see that you're connected to the repository and you'll get contribution credit for those commits.CheersBrian-- Matma Rex
3 3
0 0
Research FAQ gets a facelift
by Dario Taraborelli 25 Jun '24

25 Jun '24
We just released a new version of Research:FAQ on Meta [1], significantlyexpanded and updated, to make our processes at WMF more transparent and tomeet an explicit FDC request to clarify the role and responsibilities ofindividual teams involved in research across the organization.The previous version – written from the perspective of the (now inactive)Research:Committee, and mostly obsolete since the release of WMF's openaccess policy [2] – can still be found here [3].Comments and bold edits to the new version of the document are welcome. Forany question or concern, you can drop me a line or ping my username on-wiki.Thanks,Dario[1]https://meta.wikimedia.org/wiki/Research:FAQ[2]https://wikimediafoundation.org/wiki/Open_access_policy[3]https://meta.wikimedia.org/w/index.php?title=Research:FAQ&oldid=15176953*Dario Taraborelli *Head of Research, Wikimedia Foundationwikimediafoundation.orgnitens.org • @readermeter<http://twitter.com/readermeter>
2 1
0 0
bluejeans
by Jeremy Baron 22 Feb '23

22 Feb '23
Hi,On Tue, Mar 1, 2016 at 3:36 PM, David Strine <dstrine(a)wikimedia.org> wrote:> We will be holding this brownbag in 25 minutes. The Bluejeans link has> changed:>>https://bluejeans.com/396234560I'm not familiar with bluejeans and maybe have missed a transitionbecause I wasn't paying enough attention. is this some kind ofexperiment? have all meetings transitioned to this service?anyway, my immediate question at the moment is how do you join withoutsharing your microphone and camera?am I correct thinking that this is an entirely proprietary stackthat's neither gratis nor libre and has no on-premise (not cloud)hosting option? are we paying for this?-Jeremy
9 16
0 0
Hello,can someone to update listhttps://phabricator.wikimedia.org/P10500 whichcontains repositories which haven't mediawiki/mediawiki-codesniffer.I found in list that much repositories are empty, and repositories whicharen't available on Gerrit.So, can someone please update this list of repositories (inmediawiki/extensions) which haven't mediawiki/mediawiki-codesniffer, but atleast, contains one PHP file. or to provide me command with which I canupdate list when I want, so I don't need to request it every time.Best regards,Zoran.P. S.: Happy weekend! :)
4 6
0 0
Hi there,I am investigating a breakage in my extension that has occurred in MW 1.34 but which didn't seem to be a problem on MW 1.29. (I have not tested interim versions to see where the issue first arises.)One of the parser hooks in the extension needs to perform variable expansion. What is happening is a lot more complicated than this example, but effectively <my_hook Foo="What the foo!">{{{Foo}}}</my_hook>should end up generating the following output, using variable expansion: What the foo!The semantics of variable handling need to follow the MW semantics, including default values (possibly nested), parser functions, etc. therefore it needs to use the MW parser to perform the expansion.Assuming the arguments that MW passes into the parser hook are named $Text, $Vars, $Parser and $Frame, the relevant code looks something like this (again, a bit more complicated in practice): $NewFrame = new PPTemplateFrame_DOM($Frame->preprocessor, $Frame, array(), $Vars, $Frame->title); return $Parser->replaceVariables($Text, $NewFrame);(I have included a more detailed listing of the code that I am using for doing the parse at the end of this message.)My code was working fine on MW 1.29 and earlier, but when I upgrade to 1.34 I am finding that I get a fatal exception thrown when my tag is encountered: /index.php?title=Main_Page MWException from line 373 of ~\includes\parser\PPFrame_DOM.php: PPFrame_DOM::expand: Invalid parameter typeI have generated a backtrace and the top of the stack is as follows:#0 ~\includes\parser\Parser.php(3330): PPFrame_DOM->expand(PPNode_Hash_Tree, integer)#1 MyExtension.php (434): Parser->replaceVariables(string, PPTemplateFrame_DOM)#2 ~\includes\parser\Parser.php(4293): MyExtensionParserHook(string, array, Parser, PPTemplateFrame_Hash)(The subsequent call stack entries are the parent functions you would expect to see in that situation.)Can anyone see why the above code would no longer work as it did on previous versions? What is the current recommended method for manually expanding template variables from within a parser hook?Kind regards,- Mark Clements (HappyDog)----------------------------------Full example (with extension-specific code omitted):---------------------------------- function MyExtensionParserHook($Text, $Vars, $Parser, $Frame) { // 1) Manipulate $Text and $Vars // (omitted) // 2) Expand variables in the resulting text. // Set up a new frame which mirrors the existing one but which also has the // field values as arguments. // If we are already in a template frame, merge the field arguments with the // existing template arguments first. if ($Frame instanceof PPTemplateFrame_DOM) { $NumberedArgs = $Frame->numberedArgs; $NamedArgs = array_merge($Frame->namedArgs, $Vars); } else { $NumberedArgs = array(); $NamedArgs = $Vars; } $NewFrame = new PPTemplateFrame_DOM($Frame->preprocessor, $Frame, $NumberedArgs, $NamedArgs, $Frame->title); // Perform a recursive parse on the input, using our newly created frame. return $Parser->replaceVariables($Text, $NewFrame); }
3 6
0 0
Results per page:

[8]ページ先頭

©2009-2025 Movatter.jp