Last modified: 2014-02-12 23:55:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38084, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36084 - PHP Fatal error: Call to undefined function wfAssembleUrl()
PHP Fatal error: Call to undefined function wfAssembleUrl()
Status: RESOLVED INVALID
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-19 06:26 UTC by Quim Gil
Modified: 2014-02-12 23:55 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Quim Gil 2012-04-19 06:26:37 UTC
Hi, installing today's snapshot MobileFrontend-master-58be6a7 brings a PHP Fatal Error, showing a blank page with 0 content. My MW installation: 1.18.1 http://espiral.org/wiki/Special:Version

LocalSettings.php has:

require_once("$IP/extensions/MobileFrontend/MobileFrontend.php");
$wgMFConfigProperties = array( 'minifyJS' => false, );

PHP log shows a PHP Fatal Error:

[19-Apr-2012 05:21:39 UTC] PHP Fatal error:  Call to undefined function wfAssembleUrl() in .../w/extensions/MobileFrontend/MobileFrontend.body.php on line 1079
[19-Apr-2012 05:21:39 UTC] PHP Stack trace:
[19-Apr-2012 05:21:39 UTC] PHP   1. {main}() .../w/index.php:0
[19-Apr-2012 05:21:39 UTC] PHP   2. MediaWiki->run() .../w/index.php:57
[19-Apr-2012 05:21:39 UTC] PHP   3. MediaWiki->main() .../w/includes/Wiki.php:547
[19-Apr-2012 05:21:39 UTC] PHP   4. MediaWiki->finalCleanup() .../w/includes/Wiki.php:641
[19-Apr-2012 05:21:39 UTC] PHP   5. OutputPage->output() .../w/includes/Wiki.php:396
[19-Apr-2012 05:21:39 UTC] PHP   6. SkinTemplate->outputPage() .../w/includes/OutputPage.php:1864
[19-Apr-2012 05:21:39 UTC] PHP   7. wfRunHooks() .../w/includes/SkinTemplate.php:518
[19-Apr-2012 05:21:39 UTC] PHP   8. Hooks::run() .../w/includes/GlobalFunctions.php:3631
[19-Apr-2012 05:21:39 UTC] PHP   9. call_user_func_array() .../w/includes/Hooks.php:216
[19-Apr-2012 05:21:39 UTC] PHP  10. ExtMobileFrontend->addMobileFooter() .../w/includes/Hooks.php:216
[19-Apr-2012 05:21:39 UTC] PHP  11. ExtMobileFrontend->getMobileUrl() .../w/extensions/MobileFrontend/MobileFrontend.body.php:213


I have also tried defining

#$wgMobileUrlTemplate = "m.%h0.%h1";

but the result is the same.
Comment 1 Sam Reed (reedy) 2012-04-19 09:01:40 UTC
The function was added to MediaWiki in 1.19

So hence, it won't work in 1.18

In most cases, we don't support git head versions of extensions working with older releases of MediaWiki..

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links