In T394964#10854824, @SD0001 wrote:CodeEditor's JSHint allows in-page customization of linter rules using comments like /* jshint esversion:10 */ and similar. I think the same will be possible with ESlint?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Today
Today
Bhsd added a comment to T394965: Add call to action to perform server-provided linting of JS, CSS and wikitext in CodeMirror.
In T394965#10854822, @SD0001 wrote:We use Peast just to tell if a script is valid ES2017, which can be reliably determined by ESlint as well, and must faster at that. (If ESlint doesn't expose a suitable API, you could use Acorn which should already be in the bundle considering it's a dependency of Eslint).
Robertsky added a comment to T157747: ?action=info incorrectly states that a new page is indexed when not.
New articles now do not have noindex set for the robots meta tag. This can be verified with new articles being pushed to main space from the draft space through the AfC process that's not autopatrolled. (Use the https://en.wikipedia.org/wiki/Wikipedia:Articles_for_creation/recent list for recent accepted drafts.)
Thank you!
Anoop changed the status of T395193: Add Author namespace for Russian Wikisource from Open to In Progress.
Danlaycock updated the task description for T395200: Null data gets overridden with zeros when using edit as a table feature.
Danlaycock updated the task description for T395199: Charts do not apply axis format if null data elements.
Danlaycock updated the task description for T395199: Charts do not apply axis format if null data elements.
Samwilson moved T385845: Add favourite button to template form in VisualEditor from Feedback and Review to QA on the Community-Tech (Fox Squad) board.
Dragoniez removed a project from T395188: Serialize empty PHP associative arrays as `{}` instead of `[]` in JSON output: Technical-Debt.
I think I added the tag in relation to a TODO or something similar. But you're right, I'll remove it.
With wikilinksbot on the Telegram side of the wikimedia-cloud channel, it would be nice to have some bot expand the same messages on the irc side. It seems like it should be relatively straightforward to incorporate the wikilinksbot logic into stashbot by copy-and-paste. It would be worthwhile to talk with @jhsoby to see if he would be interested in some other form of collaboration.
gerritbot added a comment to T332865: PHPUnit data providers should be simple static functions that return plain data.
Change #1147101 merged by jenkins-bot:
[mediawiki/core@master] tests: Remove non-static fallback in HookRunnerTestBase
Also, it looks like there's another bug where the SDK doesn't handle the request limit situation properly and keeps on retrying the requests in quick succession before seemingly getting rate-limited for the retries:
Od1n closed T336127: No warning is shown when previewing a "sanitized-css" page containing unsupported CSS as Resolved.
Looks like this is fixed now—turns out the change in SyntaxHighlight’s hook did the trick. Thanks to everyone who helped look into this! Closing the ticket.
Yesterday
Yesterday
@creynolds Thanks for investigating. With those 1500 requests I was only able to download 35 of the 72 chunks of the Wiktionary dump. I suspect this can be explained by the SDK making several requests for each chunk. In my case I had it set to 5 MB (the default is 25MB), and each chunk is ~ 200 MB, so that makes (72 * 200) / 5 = 2880 requests. With the default transfer size of 25 MB this would just be ~ 576 requests and still in the free tier. Given that the chunk size is configurable it's strange to have these accounted for by number of requests sent. Maybe it would make more sense to cap by amount of data transferred instead.
Change #1149844 merged by jenkins-bot:
[mediawiki/core@master] tests: Remove unused argument from data provider in PageUpdaterTest
Maintenance_bot removed a project from T337156: Make PHPUnit dataProvider static in IPInfo tests: Patch-For-Review.
Maintenance_bot removed a project from T393219: Make PHPUnit dataProvider on RestStructureTest static: Patch-For-Review.
Change #1149844 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/core@master] tests: Remove unused argument from data provider in PageUpdaterTest
Change #1149837 merged by jenkins-bot:
[mediawiki/extensions/IPInfo@master] tests: Make PHPUnit data provider static
gerritbot added a comment to T332865: PHPUnit data providers should be simple static functions that return plain data.
Change #1149838 merged by jenkins-bot:
[mediawiki/extensions/WikimediaEvents@master] tests: Make PHPUnit data provider static
matmarex added a comment to T379909: Define where to add code that needs to run after a new central user has been created.
I looked at this again.
Change #1147069 merged by jenkins-bot:
[mediawiki/core@master] tests: Remove two data provider in RestStructureTest
Maintenance_bot removed a project from T393082: Make PHPUnit dataProvider on OutputTransformStageTestBase static: Patch-For-Review.
gerritbot added a comment to T332865: PHPUnit data providers should be simple static functions that return plain data.
Change #1147099 merged by jenkins-bot:
[mediawiki/core@master] tests: Remove non-static fallback in AuthenticationRequestTestCase
gerritbot added a comment to T393082: Make PHPUnit dataProvider on OutputTransformStageTestBase static.
Change #1147112 merged by jenkins-bot:
[mediawiki/core@master] tests: Make PHPUnit data provider static in OutputTransformStageTestBase
Change #1149758 merged by jenkins-bot:
[mediawiki/core@master] tests: Remove use of phpunit internal function TestCase::getActualOutput
Change #1149755 merged by jenkins-bot:
[mediawiki/extensions/Cognate@master] tests: Remove use of phpunit internal function TestCase::getActualOutput
Stashbot added a comment to T272803: Should function without parameter but with return statements require documentation with codesniffer?.
Mentioned in SAL (#wikimedia-releng) [2025-05-24T21:52:32Z] <Krinkle> Disable publishing notifs on Phab tasks from extension-Chart mirror, T143162, T272803
Stashbot added a comment to T143162: Reduce task notification noise/frequency of changes to associated open patchsets.
Mentioned in SAL (#wikimedia-releng) [2025-05-24T21:52:32Z] <Krinkle> Disable publishing notifs on Phab tasks from extension-Chart mirror, T143162, T272803
gerritbot added a comment to T272803: Should function without parameter but with return statements require documentation with codesniffer?.
Change #1133217 merged by jenkins-bot:
[mediawiki/tools/codesniffer@master] Require documentation for parameterless function with return value
Krinkle updated the task description for T272803: Should function without parameter but with return statements require documentation with codesniffer?.
Izno awarded T395185: Consider enabling client hints on auth.wikimedia.org a Like token.
Change #1149758 had a related patch set uploaded (by Krinkle; author: Umherirrender):
[mediawiki/core@master] tests: Remove use of phpunit internal function TestCase::getActualOutput
Change #1149755 had a related patch set uploaded (by Krinkle; author: Umherirrender):
[mediawiki/extensions/Cognate@master] tests: Remove use of phpunit internal function TestCase::getActualOutput
Maintenance_bot removed a project from T323773: Remove unnecessary uses of <span class="mw-headline">: Patch-For-Review.
gerritbot added a comment to T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).
Change #1149842 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/extensions/ConfirmEdit@REL1_44] tests: Skip AbuseFilter tests when AbuseFilter not installed
Alien333 changed the status of T342904: Highlight pending contribs on globalcontribs page from Open to In Progress.
FlaggedRevs is getting closer and closer to the deprecation bin, and looking at how to implement this it's pretty clear why. The documentation is minimal, and it's quite weird to use. Nevertheless, shouldn't be any trouble.
matmarex closed T395034: Incorrect and doubled empty talk page onboard messages on every talk page of Chinese Wikipedia as Resolved.
I filed T395196 for the followup work.
You're right, I overlooked this when working on T13555.
gerritbot added a comment to T332865: PHPUnit data providers should be simple static functions that return plain data.
Change #1149838 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/WikimediaEvents@master] tests: Make PHPUnit data provider static
Maintenance_bot removed a project from T385845: Add favourite button to template form in VisualEditor: Patch-For-Review.
gerritbot added a project to T337156: Make PHPUnit dataProvider static in IPInfo tests: Patch-For-Review.
Change #1149837 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/IPInfo@master] tests: Make PHPUnit data provider static
Alien333 changed the status of T394581: Clean up and possibly remove core_extensions.js from Open to In Progress.
Change #1141467 merged by jenkins-bot:
[mediawiki/extensions/AdvancedSearch@master] Use browser native URL instead of mw.Uri
Change #1141466 merged by jenkins-bot:
[mediawiki/extensions/RevisionSlider@master] Use browser native URL instead of mw.Uri
Change #1130616 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] ve.ui.MWTemplatePage: Add Favorite button if enabled
Hey @jberkel, on-call ENG confirmed the account has reached 1500 requests for chunks endpoint. I'll flag it so monday the main crew can take a look and see if we can't open some requests before the monthly reset but for now not much I can do.
As for the dashboard - that seems to be a front-end caching/rendering bug that will receive a ticket to sort that out - apologies for that confusion.
Add some sort of comment-based annotation to tell CodeMirror which style to use.
SD0001 added a comment to T394965: Add call to action to perform server-provided linting of JS, CSS and wikitext in CodeMirror.
For JavaScript, the Peast PHP package is available in Core. We'll need to add an action API endpoint to make use of it (unless one already exists?). See ResourceLoader/Module.php#999
This has been decomissioned
/docs/changelog/ updated yesterday. ✅
SD0001 added a comment to T336127: No warning is shown when previewing a "sanitized-css" page containing unsupported CSS.
This appears to have been fixed. SyntaxHighlight was recently changed to use the ContentAlterParserOutput hook instead of ContentGetParserOutput. I'm guessing that's why.
matej_suchanek added a project to T59903: Add support for ordinal numbers: MediaWiki-Internationalization.
Change #1147142 merged by jenkins-bot:
[mediawiki/extensions/CampaignEvents@master] namespaces: Add NS_EVENT name for Malay (ms)
There are some inconsistencies in the access labels – why is Special:Watchlist labled as "Restricted" while Special:Preferences, Special:GlobalPreferences, Special:ChangeEmail, Special:PasswordReset and a couple of other ones which are available to all logged-in users are labled as "Public"? See dewiki discusssion (I can file a separate ticket if this is out of scope for this task).
Change #1149831 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] IMPR: replace codecs.open with pathlib.Path in LoginManager.readPassword
gerritbot added a comment to T394529: Metrolook's collapsible navs do not respect wikipage.content being called multiple times.
Change #1147047 merged by jenkins-bot:
[mediawiki/skins/Metrolook@REL1_44] Fix executeMain function being called multiple times
$wgRestPath is not relevant here unless you're doing something crazy with your setup where $wgScriptPath is irrelevant to the REST API endpoint.
gerritbot added a comment to T394529: Metrolook's collapsible navs do not respect wikipage.content being called multiple times.
Change #1147048 merged by jenkins-bot:
[mediawiki/skins/Metrolook@REL1_43] Fix executeMain function being called multiple times
Ysogo lowered the priority of T390588: APWLM- REQ2025.08 Separated access for super-user from High to Low.
Priority reduced as, currently, would not produce real advantage in maintenance
Ysogo closed T390587: APWLM- REQ2025.07 Reorganization of “top bar” to show some “links” in a different position as Resolved.
The new layout has been implemented
Ysogo closed T390585: APWLM- REQ2025.05 Have a better check of the presence of e-mail address for the user as Resolved.
The feature is now available and the app behaves accordingly
Aklapper added a comment to T395188: Serialize empty PHP associative arrays as `{}` instead of `[]` in JSON output.
Hmm how does this qualify as technical debt?
On the page linked I see this:
Warning: This page can only be edited by administrators and other users with the tboverride right because it matches the following disallowed titles list entry:
(?!(?:(?:Talk|(?:Category|Template|Module)(?: talk)?):)?W[bnpqty]\/(?:[a-z]{2,3}|bat-smg|be-tarask|cbk-zam|fiu-vro|map-bms|nds-nl|roa-(?:rup|tara)|zh-(?:classical|min-nan|yue))(?:\/.+)?$|(?:(?:Help|Incubator|MediaWiki|Translations|User)(?: talk)?):.+|Template(?: talk)?:Welcome\/[a-z]{2,3}(?:(-[a-z]+){1,2})?$|Category(?: talk)?:(Users|Incubator|Help|Maintenance|Templates):.+$).* <casesensitive|errmsg=Titleblacklist-incorrect-title>
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits