Thanks for sharing this. I am a little confused by your instructions - had you already cloned the MobileFrontend repository previously (eg before the steps you laid out in your instructions)? If so, git pull should have worked (unless you were possibly on a branch or in a detached state).


On Sun, Apr 6, 2014 at 6:03 PM, 積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:
Here is the way I found to successfully update MobileFrontend via git.

cd extensions
rm -r MobileFrontend
git clone --depth 1 https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend.git

That is right, reinstalling from scratch.

I originally thought just
git pull
would update it. But it does not.

If there is a better way it perhaps could be mentioned somewhere in
https://www.mediawiki.org/wiki/Extension:MobileFrontend#Download
https://www.mediawiki.org/wiki/Manual:Upgrading#Upgrade_extensions ,
https://www.mediawiki.org/wiki/Download_from_Git#Keeping_up_to_date .
https://www.mediawiki.org/wiki/Download_from_Git#Using_Git_to_download_MediaWiki_extensions
mentions git submodule update --init --recursive but that did not help.

Anyway, no big deal. reinstalling isn't to net-intensive.

_______________________________________________
Mobile-l mailing list
Mobile-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l



--
Arthur Richards
Software Engineer, Mobile
[[User:Awjrichards]]
IRC: awjr
+1-415-839-6885 x6687