Languages: zh-N, en-2~3
User Details
- User Since
- Nov 30 2016, 9:00 AM (466 w, 3 d)
- Availability
- Available
- IRC Nick
- hesyifei
- LDAP User
- Efly
- MediaWiki User
- Efly [ Global Accounts ]
Mar 18 2020
Mar 23 2019
Jan 14 2018
Another observation. It seems that it's some sort of random bug?
Jan 13 2018
I can't recreate the problem:
Jan 12 2018
I thought this is a common problem (or design?) for all Mediawiki page on mobile phones? Viewing desktop version of Wikipedia on a mobile phone also shows bigger article content font size (see image). I'm not sure if this page should be treated separately?
Jan 11 2018
On the time when _keyboardShortcut is called, the CodeMirror-hints is already closed and removed, so we cannot use that way to check if a code hint is displayed.
Jan 9 2018
Is the clone API inside https://secure.phabricator.com/conduit/ or simply git clone?
Jan 8 2018
Mentioning at corresponding UI elements sound like a good idea. Currently the "execute query" already have a shortcut hint:
I wrote one on my blog in Chinese: https://www.arefly.com/google-code-in-2017-wikimedia/ ☺️ (hope Google Translation works well!)
Jan 7 2018
I changed the "Tools" from a dropdown item to a button. The design will be more consistent and also can work better on small screens.
The result view's dropdown should be working too.
(Click to view this GIF)
Jan 5 2018
So we are trying to make the drop-down menu become something like this drop-down menu right?
Jan 4 2018
We can remove search.png too after T184070: Add "This page requires JavaScript" notes to special pages in the Translate extension :)
Jan 3 2018
We have to remove the .png reference from the .less/.css files right?
Jan 1 2018
Perhaps we could do something like:
Dec 31 2017
@Ryan10145 can you try and see if https://stackoverflow.com/a/15645088/2603230 works first? If no, perhaps the pywikibot.comms.http is not behaving the same way as requests and we'll need to look into that.
Dec 30 2017
I think if the user don't specify the -revision we will assume that the revision is latest and find out the latest date from the site. See T183667#3864150 for details.
I assume that with
Added R to jump to query result and Arrow Up/Arrow Down to select item in query result
Dec 29 2017
Updated. Should be all working now :)
Dec 28 2017
Ctrl/Command+Enter: Run query
Esc: Leave current input field/textarea
Alt+F: Click "Fliter" button in Query Helper
Alt+S: Click "Show" button in Query Helper
Alt+L: Click "Limit" button in Query Helper
Alt+D: Clear query
Alt+R: Restore previous query
?: Toggle Help menu
E: Show examples
F: Focus on "Fliter" button in Query Helper
S: Focus on "Show" button in Query Helper
~: Focus on query textarea
L: Show language menu
Dec 27 2017
to be a better layout for accessibility? So that the user lands on textarea, then uses tab to go through the Query Helper, and finally goes to Run button.
Just tested. We are currently able to use alt+tab to
Dec 26 2017
Can the maxretries parameters load from config2.py in default? (Though 15 retries in default would be too many...)
The two parts can actually combine to:
It seems that using [[ https://www.mediawiki.org/wiki/API:Edit | redirect: true ]] in Edit API in MobileFronted's TalkSectionOverlay solve the problem.
Is the main problem in skins/MinervaNeue/resources/skins.minerva.talk/init.js or other file?
Dec 25 2017
I would suggest first request for comments at https://zh.wikipedia.org/wiki/Wikipedia:互助客棧/其他 in Chinese Wikipedia.
Is there any way we could use phan in MediaWiki-Vagrant which still runs PHP 5?
One implementation is to perform file locking on whichever is being downloaded on, and exit with an error if the will-be-written file is locked. Another is to avoid same-filenames entirely.
We have to do task T183666: download_dump.py: Use response.iter_content first as we cannot implement progress bar without using iter_content.
It seems that file like enwiki-latest-abstract.xml does not have a md5 code in https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-md5sums.txt. How can we check those files?
Would timezone settings on bot user's computer be a problem to this?
If we are to use an external library, does that mean we have to add this library to requirements.txt?
I would suggest something like https://stackoverflow.com/a/15645088/2603230. (See also: https://github.com/wikimedia/pywikibot/blob/master/pywikibot/page.py#L2686-L2693)
Dec 24 2017
I guess there should be a simpler solution (without having to modify replaceCategoryInPlace in textlib)?
Pull request merged.
Dec 22 2017
Pull request here: https://github.com/benapetr/wikimedia-bot/pull/71
I guess we might have to wait till margin-start got supported by major browsers to solve it?
Dec 21 2017
Just curious, @Xqt suggests here in another patch that [[ https://doc.wikimedia.org/pywikibot/_modules/pywikibot/comms/http.html | pywikibot.comms.http ]] could be used instead of requests. Would pywikibot.comms.http be better here too?
By the way, currently Wikipedia already has the expected output because of Tidy (https://www.w3.org/People/Raggett/tidy/). But I think this patch is still needed for general Mediawiki sites.
Note that according to https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Section_headings
Second is it really necessary to use these affected textlib methods for template removements which breaks the script? A single C:\pwb\GIT\core>pwb.py replace -regex "\[\[Kategorie\:Antifaschist\]\]\r?\n" ""-cat:Antifaschist does the job too. This means category.py should be able always to do the job. In my sample the cosmetic_changes didn't care for replace.py. This is a bit curious.
According to the error message
Dec 19 2017
Dec 18 2017
Is this script something like https://github.com/WikiTeam/wikiteam/blob/master/wikipediadownloader.py?


