[04:08:43] [[Tech]]; Graenmaire; [none]; https://meta.wikimedia.org/w/index.php?diff=15658071&oldid=15648083&rcid=7848995 [04:20:31] [[Tech]]; Jdforrester (WMF); Undo revision 15658071 by [[Special:Contributions/Graenmaire|Graenmaire]] ([[User talk:Graenmaire|talk]]); don't break translation templates, please.; https://meta.wikimedia.org/w/index.php?diff=15658079&oldid=15658071&rcid=7849005 [05:32:11] Hello is anyone in here an admin on phabricator? [05:47:44] Cameron11598: what type of assistance do you need in phabricator? [05:48:36] My e-mail is registered to the wrong e-mail address (I swapped letters in it) so I can't recieve the confirmation email. And I can't create a new account because its already linked to my wiki acct [05:49:56] I can file a ticket for that so the admins can look when they are back after the weekend [05:50:03] what username did you use? [05:50:53] Cameron11598 [05:51:02] is the username I used [05:52:58] Cameron11598: I've filed https://phabricator.wikimedia.org/T136509 an admin should sort that out fairly quickly after the weekend [05:53:12] Thanks! [07:45:21] I have an old MW installation that is making use of an unsupported and outdated but otherwise excellent GoogleMaps extensions (https://www.mediawiki.org/wiki/Extension:Google_Maps). I plan to upgrade MW but prefer not to change every page using the old map system, at least not at once. Having tested the old extension with a current MW installation I found it works in editor mode (where maps... [07:45:23] ...are previewed just before saved) but NOT after a page is saved. The page then returns the error "UNIQ--googlemap-00000001-QINU" where the markup was placed. For example: http://www.dr-pere.com/wiki/index.php/Test (feel free to test). There's also a warning when accessing the page ("Warning: Parameter 3 to GoogleMaps::render16() expected to be a reference, value given in... [07:45:24] .../usr/home/wiki/includes/parser/Parser.php on line 4234"). I have a feeling this is not a Google Maps API error because although the extension was made for a previous GMaps API Google made it backwards compatible. Where should start looking for the cause of the error [07:45:26] ? Any suggestions are much appreciated! Many thanks! [10:40:20] Tuxedo: I would look at upgrading to something like https://www.mediawiki.org/wiki/Extension:Kartographer (used on WMF cluster) or possibly https://www.mediawiki.org/wiki/Extension:Maps [10:41:08] depending how complex your current usage is, you might be able to use https://www.mediawiki.org/wiki/Extension:Replace_Text to bulk update them [13:04:01] [[Tech]]; 41.254.38.15; /* دبدبف */ new section; https://meta.wikimedia.org/w/index.php?diff=15659156&oldid=15658079&rcid=7850932 [14:39:35] [[Tech]]; Stryn; Reverted changes by [[Special:Contributions/41.254.38.15|41.254.38.15]] ([[User talk:41.254.38.15|talk]]) to last version by Jdforrester (WMF); https://meta.wikimedia.org/w/index.php?diff=15659370&oldid=15659156&rcid=7851269 [14:52:10] [[Tech]]; Sphilbrick; /* Downside to thumbnails */ new section; https://meta.wikimedia.org/w/index.php?diff=15659374&oldid=15659370&rcid=7851281 [15:45:34] p858snake|L: Indeed, Kartographer is what I intend to use. I was just curious what may be the cause of the "UNIQ--googlemap-00000001-QINU" error while hoping to enable to old extension in the new MW situation but slowly phasing it out. To update with Replace Text probably won't work in my case. Google Maps was an exceptional extension for as long as it lasted. That said, I'm looking forward... [15:45:36] ...to testing Kartographer. It appears to be the best MW map system available. [15:45:37] [17:21:07] [[Tech]]; Ruslik0; /* Downside to thumbnails */; https://meta.wikimedia.org/w/index.php?diff=15659547&oldid=15659374&rcid=7851611 [17:24:38] [[Tech]]; Ruslik0; /* How divide the content of one wiki page into multiple pages */; https://meta.wikimedia.org/w/index.php?diff=15659548&oldid=15659547&rcid=7851618 [18:15:01] The fix described at https://www.mediawiki.org/wiki/Extension_talk:Google_Maps#FIXED_in_the_latest_releases_9.2F29.2F09 (by "random frustrated webmaster" in 2009) seems to revitalize the old Google Maps extension to work in 1.26.2 :-) [18:16:32] ... with the side-effect that the SpecialPages page is no longer displayed: http://www.dr-pere.com/wiki/index.php/Special:SpecialPages :( [18:22:53] [[Tech]]; Sphilbrick; /* Downside to thumbnails */ more; https://meta.wikimedia.org/w/index.php?diff=15659611&oldid=15659548&rcid=7851747 [18:23:29] [[Tech]]; Sphilbrick; /* Downside to thumbnails */ ce; https://meta.wikimedia.org/w/index.php?diff=15659612&oldid=15659611&rcid=7851748 [18:24:34] Yet, other Special Pages work (http://www.dr-pere.com/wiki/index.php/Special:Version) [18:34:13] Tuxedo: The code is out of date [18:34:21] Very out of date, it seems [18:34:57] Tuxedo: Your issue looks to be an old constructor issue [18:56:54] Ready: Yes, the SpecialPage.php was in the 'includes/' directory before the extension became unsupported and there was only the one SpecialPage.php back then. Now I see there are many more in the 'includes/specialpage' sub-directory (ChangesListSpecialPage.php, FormSpecialPage.php, IncludableSpecialPage.php, SpecialPage.php, SpecialPageFactory.php, UnlistedSpecialPage.php). I'm not sure... [18:56:55] ...exactly what SpecialGoogleMapsKML.php does and why it makes Special:SpecialPages fail. I think the SpecialGoogleMapsKML.php procedure is meant to have something to do with loading a link to an external KML marker, which isn't needed for my purpose. I'm trying to figure out how to disable/prevent this function from loading and interfering with returning the Special:SpecialPages page altogether. [18:57:43] Fatal error: Call to undefined method SpecialPage::SpecialPage() in /usr/home/wiki/extensions/GoogleMaps/SpecialGoogleMapsKML.php on line 13 [18:57:53] That looks like it's trying to use a PHP4 constructor [19:03:22] Many thanks for pointing that out. I'm not very familiar with PHP :-( [19:09:58] Is there any reason you can't use one of the supported maps extensions? [19:44:00] I plan to use Kartographer, also for another project which has many complex Google Maps in place made with the old Google Maps Extension. I plan to convert existing maps but which cannot be done quickly. Meanwhile, I've been and still am a bit stuck with an old system, which is why I'm trying to first get the the old extension working on a standard installation of the current MW at http://www.dr-p [19:44:02] ere.com/wiki/index.php/Special:Version before upgrading the other project. [20:20:30] [[Tech]]; Ruslik0; /* Downside to thumbnails */; https://meta.wikimedia.org/w/index.php?diff=15659722&oldid=15659612&rcid=7852018 [20:35:16] Reedy: I simply blocked out the body of the functions in SpecialGoogleMapsKML.php and the http://www.dr-pere.com/wiki/index.php/Special:SpecialPages page works. I think those parts of the extensions are irrelevant to my project, which now allows me to also upgrade my other project with the old maps while gradually converting its existing maps to Kartographer. [20:35:41] you could've probably just stopped it loading that file [20:36:14] Ok. I will try. [20:38:22] unset( $wgSpecialPages['SpecialPageNameHere'] ); in your LocalSettings *may* have been enough [20:42:17] I just now commented out in GoogleMaps.php: //require( 'extensions/GoogleMaps/SpecialGoogleMapsKML.php' ); [20:42:26] which worked too. [20:42:53] I'll remember the unset( $.. ) [20:43:08] Thanks for your good advise.