Page MenuHomePhabricator

Carlb (Carl Austin Bennett)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Oct 25 2014, 12:24 AM (238 w, 1 d)
Availability
Available
LDAP User
Carlb
MediaWiki User
Unknown

Recent Activity

Sun, Apr 28

Carlb added a comment to T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo.
Sun, Apr 28, 2:19 AM · Wikidata, MediaWiki-extensions-WikibaseRepository, Pywikibot
Carlb added a comment to T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo.

OK, so what happened?

Sun, Apr 28, 2:14 AM · Wikidata, MediaWiki-extensions-WikibaseRepository, Pywikibot
Carlb added a comment to T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo.

This is specific to Pywikibot-interwikidata.py, which requires your 'bot run on a "home" wiki with access to a Wikidata-style (Wikibase) repository. You can't do this on cs:uncyc but it should be possible on pt:uncyc (as one example). OK, here goes:

Sun, Apr 28, 1:55 AM · Wikidata, MediaWiki-extensions-WikibaseRepository, Pywikibot

Sat, Apr 27

Carlb added a comment to T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.

WikiID is useful internally, within that one MediaWiki instance, as it's unique within one database server. It's not useful to an external process (such as interwikidata.py) which has no direct connection to the SQL database.

Sat, Apr 27, 11:55 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot
Carlb added a comment to T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.

T221550 says that there is no GlobalID available from API because there is no support for GlobalID in the core code.

Sat, Apr 27, 11:44 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot
Carlb added a comment to T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.

Yes. Pywikibot blindly trusts that whatever wikiID is supplied by the remote wiki's API is indeed going to exactly match the GlobalID.

Sat, Apr 27, 11:32 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot
Carlb added a comment to T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.

The GlobalID is the name of the wiki, as it appears in Wikidata. For instance, "enwiki" is the English-language Wikipedia. A Wikidata entry with the individual GlobalID for each wiki looks like https://www.wikidata.org/wiki/Q2736

Sat, Apr 27, 11:23 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot
Carlb created T222022: Pywikibot should continue or skip if page has blank-title link.
Sat, Apr 27, 10:14 PM · Pywikibot-interwiki.py, Pywikibot
Carlb updated the task description for T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.
Sat, Apr 27, 9:46 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot
Carlb updated the task description for T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.
Sat, Apr 27, 9:42 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot
Carlb created T222021: pywikibot's interwikidata.py can't handle projects where the API-reported wikiID differs from the project's globalID.
Sat, Apr 27, 9:38 PM · Pywikibot-Wikidata, Wikidata, Pywikibot-interwiki.py, Pywikibot

Mon, Apr 22

Carlb updated the task description for T221561: DPL3 (third-party, dynamic page list) allows generating SQL which generates large temporary tables on disk.
Mon, Apr 22, 8:45 PM · Uncyclomedia, DynamicPageList (third-party)
Carlb added a project to T221561: DPL3 (third-party, dynamic page list) allows generating SQL which generates large temporary tables on disk: Uncyclomedia.
Mon, Apr 22, 8:44 PM · Uncyclomedia, DynamicPageList (third-party)
Carlb added a comment to T221561: DPL3 (third-party, dynamic page list) allows generating SQL which generates large temporary tables on disk.

I've also mentioned this here https://gitlab.com/hydrawiki/extensions/DynamicPageList/issues/88 as one of the DPL versions affected is on 'github'.

Mon, Apr 22, 8:35 PM · Uncyclomedia, DynamicPageList (third-party)
Carlb created T221561: DPL3 (third-party, dynamic page list) allows generating SQL which generates large temporary tables on disk.
Mon, Apr 22, 8:10 PM · Uncyclomedia, DynamicPageList (third-party)
Carlb created T221559: DPL3 (third-party, dynamic page list) is generating SQL which is flawed, generating MariaDB 10 errors.
Mon, Apr 22, 7:11 PM · DynamicPageList (third-party)
Carlb added a comment to T97243: Non-Existing Articles gives 404 page on Cloudflare.

This so-called "feature" has now been permanently removed on Cloudflare's side. That should stop this issue from arising again.

Mon, Apr 22, 6:28 PM · MediaWiki-General-or-Unknown
Carlb created T221556: pywikibot's interwikidata.py won't handle projects where one externally-hosted language doesn't have access to the wikibase repo.
Mon, Apr 22, 5:46 PM · Wikidata, MediaWiki-extensions-WikibaseRepository, Pywikibot
Carlb updated the task description for T221550: Not possible to set API-reported Wiki ID to anything other than database name.
Mon, Apr 22, 4:08 PM · Wikidata, MediaWiki-API
Carlb renamed T172076: Wikibase language links feature works only for site groups which follow WMF's naming patterns from Wikibase language links feature not working for thirdparty with site_global_keys ending with wiki but do not represent interwiki links to Wikibase language links feature works only for site groups which follow WMF's naming patterns.
Mon, Apr 22, 4:03 PM · MediaWiki-extensions-WikibaseClient, Wikidata
Carlb added a comment to T221550: Not possible to set API-reported Wiki ID to anything other than database name.

Perhaps the easiest solution would be to create one more LocalSettings.php variable, maybe $wgGlobalID = 'xymyproject' or something similar, and return that in the 'WikiID' field from the API if it's been set instead of reporting the internal WikiID() ?

Mon, Apr 22, 3:52 PM · Wikidata, MediaWiki-API
Carlb updated the task description for T221550: Not possible to set API-reported Wiki ID to anything other than database name.
Mon, Apr 22, 3:45 PM · Wikidata, MediaWiki-API
Carlb added a project to T221550: Not possible to set API-reported Wiki ID to anything other than database name: Wikidata.
Mon, Apr 22, 3:43 PM · Wikidata, MediaWiki-API
Carlb created T221550: Not possible to set API-reported Wiki ID to anything other than database name.
Mon, Apr 22, 3:39 PM · Wikidata, MediaWiki-API

Apr 17 2019

Carlb added a comment to T220247: Add optional global interlanguages support.

OK, thanks. I've tested this by setting $wgInterwikiCentralInterlanguageDB = 'uncyc_commons'; on one of the inactive projects (which would benefit from your shared table, as there's no one local to update/maintain the data) but not setting $wgInterwikiCentralInterlanguageDB on whichever active projects wanted to retain independent local control. Your solution appears to make sense.

Apr 17 2019, 11:39 PM · Patch-For-Review, Uncyclomedia, MediaWiki-extensions-Interwiki
Carlb added a comment to T220247: Add optional global interlanguages support.

How would this handle the various cases where one local wiki wants to handle an interwiki prefix in some different or non-standard way, for instance to point wikipedia: to the local-language Wikipedia instead of the American-language version? How would it handle the case where each local project wants to decide which fork of the same wiki to link to?

Apr 17 2019, 6:47 PM · Patch-For-Review, Uncyclomedia, MediaWiki-extensions-Interwiki

Apr 12 2019

Carlb added a comment to T172076: Wikibase language links feature works only for site groups which follow WMF's naming patterns.

This is just an untested idea, but perhaps a more general solution would be to str_replace the group name and (in the lone case where $group=='wikipedia') also str_replace out the 'wiki' suffix. Something like:

Apr 12 2019, 7:49 AM · MediaWiki-extensions-WikibaseClient, Wikidata
Carlb added a comment to T172076: Wikibase language links feature works only for site groups which follow WMF's naming patterns.

What happens if the group name doesn't start with "wiki* or "wiktionary". That's pretty much an inevitability on a third-party wiki.

Apr 12 2019, 7:42 AM · MediaWiki-extensions-WikibaseClient, Wikidata
Carlb added a comment to T220766: The new en.uncyclopedia copy off wikia is missing 1.5 million revisions.

[[Special:Statistics]] includes both live and deleted revisions in the "revisions since wiki inception" count; an XML dump will be missing every deleted revision, which pretty much ensures the numbers will not match.

Apr 12 2019, 1:21 AM · Utilities-grabbers, Uncyclomedia

Apr 1 2019

Carlb created T219840: populateUserTable.php in mediawiki/tools/grabbers is setting `user`.`user_touched`=0, breaking some extensions.
Apr 1 2019, 11:13 PM · Patch-For-Review, Utilities-grabbers

Nov 11 2018

Liuxinyu970226 awarded T208350: Extension:Kartographer POI numbering is broken if there are more than ninety-nine (99, 99. 99...) markers of the same type on the same page a Heartbreak token.
Nov 11 2018, 9:58 AM · Maps (Kartographer)

Oct 31 2018

Carlb added a comment to T202761: Run the RelatedSites links removal script and disable extension.

I see that RelatedSites links are being removed from some articles even though a replacement link of whatever form (templates, Wikidata...) is not present and is not being added, for example: https://en.wikivoyage.org/w/index.php?title=Wikivoyage%3AKeep_Wikivoyage_fun&type=revision&diff=3639962&oldid=2852033 removes a link to [[w:Project:Civility]] without replacing it with an equivalent link in some other form.

Oct 31 2018, 10:52 PM · Patch-For-Review, Community-Tech-Sprint, Technical-Debt, Community-Tech, MediaWiki-extensions-RelatedSites

Oct 30 2018

Carlb added a comment to T55023: Support for GPS eXchange Format (GPX).

There is still a need in Wikivoyage to allow the voyager to download GPX traces for use on a handheld device (such as Garmin's GPS units - where the format originated). That allows the user to carry the data offline with them during their travels.

Oct 30 2018, 9:42 PM · Multimedia, MediaWiki-Uploading
Carlb added a comment to T7578: Wantedpages and namespace:0.

Basically, the issue with taking redlinks on talk or project pages into account on Special:Wantedpages is that those red links may well be from discussions of why a specific page should not exist or even a deletion debate. For instance, a comment like:

Oct 30 2018, 9:26 PM · MediaWiki-Special-pages
Carlb updated the task description for T208342: Extension:LogoFunctions.php doesn't set the page logo as of MediaWiki 1.31.x.
Oct 30 2018, 8:18 PM · Patch-For-Review, Uncyclomedia, LogoFunctions
Carlb created T208350: Extension:Kartographer POI numbering is broken if there are more than ninety-nine (99, 99. 99...) markers of the same type on the same page.
Oct 30 2018, 8:11 PM · Maps (Kartographer)
Carlb added a comment to T208342: Extension:LogoFunctions.php doesn't set the page logo as of MediaWiki 1.31.x.

And no, the text formatting of that PHP code stub for the kludge {{#logotipo:}} tag (which also is broken by MW1.31) should have been:

<?php
Oct 30 2018, 7:23 PM · Patch-For-Review, Uncyclomedia, LogoFunctions
Carlb created T208342: Extension:LogoFunctions.php doesn't set the page logo as of MediaWiki 1.31.x.
Oct 30 2018, 7:19 PM · Patch-For-Review, Uncyclomedia, LogoFunctions
Carlb reopened T7578: Wantedpages and namespace:0 as "Open".

No idea why this was marked as a duplicate of T221:Booklet Design - Design a Language Engineering Booklet for Wikimania.

Oct 30 2018, 6:30 PM · MediaWiki-Special-pages

Feb 12 2018

Carlb added a comment to T185206: RelatedSites: Code stewardship review.

From https://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#We_need_to_remove_all_the_RelatedSites_links :

Feb 12 2018, 2:05 PM · Community-Tech, MediaWiki-extensions-RelatedSites, Code-Stewardship-Reviews

Feb 11 2018

Carlb added a comment to T185206: RelatedSites: Code stewardship review.

One thing to watch before claiming that "this extension provides no functionality whatsoever that isn't already covered by Wikidata's other project links": there is a Wikidata limitation which requires a 1:1 correspondence between Wikivoyage articles and the corresponding sibling project pages. Any attempt to link to the same page from more than one Wikidata record will throw an error. That's an issue if Wikivoyage divides entities (such as cities) differently from Wikipedia - which happens because Wikivoyage wants divisions which produce reasonably-sized articles while Wikipedia aligns onto incorporated municipality boundaries.

Feb 11 2018, 5:08 PM · Community-Tech, MediaWiki-extensions-RelatedSites, Code-Stewardship-Reviews

Dec 24 2017

Liuxinyu970226 awarded T100419: '(diff)' links in MediaWiki special:watchlist should display difference from last version actually read a Dislike token.
Dec 24 2017, 2:47 PM · Growth-Team, MediaWiki-Watchlist

May 30 2017

jayvdb awarded T154908: Wikivoyage mapframe and itinerary GPX traces a Like token.
May 30 2017, 4:46 AM · Maps (Kartographer), Commons-Datasets

Feb 9 2017

Symac awarded T100419: '(diff)' links in MediaWiki special:watchlist should display difference from last version actually read a Like token.
Feb 9 2017, 4:32 PM · Growth-Team, MediaWiki-Watchlist

Jan 10 2017

Carlb added a comment to T154908: Wikivoyage mapframe and itinerary GPX traces.

Admittedly, I'm hesitant about relying on Commons and even more reticent to rely on something being present on a non-WMF project like OpenStreetMap. If https://en.wikivoyage.org/wiki/Bavaria is "the largest state of the Federal Republic of Germany", odds are it's a legally-defined entity and its borders are consistent and known; OSM has them tucked away somewhere. Some of our lower-level regions, though, are arbitrary: where does "southeastern Ontario" end and "eastern Ontario" begin? Each language Wikivoyage divides things differently; an imported {{mapmask}} needs the local wiki's version of these subprovincial regions as some languages have more articles and therefore divide the same territory more finely. A few novelty itineraries like the https://en.wikivoyage.org/wiki/Breaking_Bad_Tour or Radiator Springs might not be marked on any OpenStreetMap. It's anyone's guess if OSM would keep https://en.wikivoyage.org/wiki/Route_66 on the map if it legally hasn't existed since 1985.

Jan 10 2017, 8:09 PM · Maps (Kartographer), Commons-Datasets
Carlb added a comment to T154908: Wikivoyage mapframe and itinerary GPX traces.

Interesting, but that does still leave a few questions:

Jan 10 2017, 4:42 PM · Maps (Kartographer), Commons-Datasets

Jan 9 2017

Carlb created T154908: Wikivoyage mapframe and itinerary GPX traces.
Jan 9 2017, 5:02 PM · Maps (Kartographer), Commons-Datasets

Nov 1 2016

Carlb created T149727: Deprecated MediaWiki extension API functions should be moved to a compatibility library instead of being dropped entirely.
Nov 1 2016, 6:35 PM · MediaWiki-extension-requests

Feb 11 2016

Ricordisamoa awarded T100419: '(diff)' links in MediaWiki special:watchlist should display difference from last version actually read a Dislike token.
Feb 11 2016, 12:39 AM · Growth-Team, MediaWiki-Watchlist

Aug 10 2015

Carlb added a comment to T46605: Recent Changes does not poll IP address correctly with CloudFlare.

There is some documentation at https://www.mediawiki.org/wiki/Manual:CloudFlare but basically there are two options:

Aug 10 2015, 7:44 PM · MediaWiki-Recent-changes
Carlb added a comment to T97243: Non-Existing Articles gives 404 page on Cloudflare.

This is called "SmartErrors" (however ironically) and is an optional 'feature' which can be disabled from CloudFlare's user interface. See https://www.mediawiki.org/wiki/Manual:CloudFlare#Error_404_handling

Aug 10 2015, 7:40 PM · MediaWiki-General-or-Unknown

Aug 9 2015

Restricted Application updated subscribers of T64356: SquidPurgeClient.php provides no hooks for extensions to purge individual files from non-Squid, non-Varnish content delivery networks.

Would it make sense to hook [[mw:Manual:Hooks/TitleSquidURLs]] to get the list of URLs to purge?

Aug 9 2015, 10:53 PM · MediaWiki-General-or-Unknown

Aug 8 2015

AndySky21 <master.skywalker.88@gmail.com> committed rESNSd21a4e2d548f: Initial check-in of Special:Namespaces for MW 1.19-1.20 (authored by Carlb).
Initial check-in of Special:Namespaces for MW 1.19-1.20
Aug 8 2015, 3:43 PM
Gerrit Code Review <gerrit@wikimedia.org> committed rMEXTabd7315b141b: Updated mediawiki/extensions Project: mediawiki/extensions/SpecialNamespaces… (authored by Carlb).
Updated mediawiki/extensions Project: mediawiki/extensions/SpecialNamespaces…
Aug 8 2015, 12:31 PM

Aug 1 2015

Carlb added a comment to T2111: Return to the correct section after section edit for a heading that exists multiple times.

Jdforrester-WMF, this is not rare (it happens routinely in Wikivoyage, where /* Get in */ and /* Get around */ have individual modes of transportation as the subheadings... in every article) and does not require the duplicate heading to be generated in a transclusion.

Aug 1 2015, 4:08 AM · MediaWiki-Page-editing

Jul 13 2015

Carlb created T105659: If two article subsections have the same name, on "edit section" saving the edit always returns to the first of the sections.
Jul 13 2015, 3:27 AM · MediaWiki-General-or-Unknown

May 26 2015

Carlb created T100419: '(diff)' links in MediaWiki special:watchlist should display difference from last version actually read.
May 26 2015, 12:21 PM · Growth-Team, MediaWiki-Watchlist
Carlb added a comment to T78376: Email me only when some specific pages or files on my watchlist are changed.

Agreed, if one has many pages watchlisted, this generates so much e-mail (in its current form) that one soon turns the e-mail notification "feature" off completely just to stop the spew of mail for relatively unimportant edits to minor topics.

May 26 2015, 12:14 PM · MediaWiki-Watchlist

Dec 10 2014

Carlb committed rELSGc80d6bbd255a: bug 43220: use mediawiki:listings-template to override formatting (authored by Carlb).
bug 43220: use mediawiki:listings-template to override formatting
Dec 10 2014, 5:04 PM