git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv1] git-remote-mediawiki: import "File:" attachments

From
Simon.Cathebras <simon.cathebras@ensimag.imag.fr>
Date
Jun 8, 2012, 23:24 UTC
Message-ID
<4FD2899D.4080407@ensimag.imag.fr>
In-Reply-To
<20120608190305.Horde.szbWGnwdC4BP0jBJMfN12lA@webmail.minatec.grenoble-inp.fr>
On 08/06/2012 19:03, konglu@minatec.inpg.fr wrote:
Show 30 quoted lines
>
> "Simon.Cathebras" <Simon.Cathebras@ensimag.imag.fr> a écrit :
>
>> On 08/06/2012 16:22, Pavel Volek wrote:
>>> From: Volek Pavel<me@pavelvolek.cz>
>>>
>>> The current version of the git-remote-mediawiki supports only import 
>>> and export
>>> of the pages, doesn't support import and export of file attachements 
>>> which are
>>> also exposed by MediaWiki API. This patch adds the functionality to 
>>> import the
>>> last versions of the files and all versions of description pages for 
>>> these
>>> files.
>>>
>>> Signed-off-by: Pavel Volek<Pavel.Volek@ensimag.imag.fr>
>>> Signed-off-by: NGUYEN Kim Thuat<Kim-Thuat.Nguyen@ensimag.imag.fr>
>>> Signed-off-by: ROUCHER IGLESIAS Javier<roucherj@ensimag.imag.fr>
>>> Signed-off-by: Matthieu Moy<Matthieu.Moy@imag.fr>
>>> ---
>>
>>>  contrib/mw-to-git/git-remote-mediawiki | 290 
>>> +++++++++++++++++++++++++++------
>>>  1 file changed, 244 insertions(+), 46 deletions(-)
>>
>> I am wondering why are you showing the removal for a v1 patch ?
>
> Why not ? The file already exists on branch master and they are
> working on it.
Makes sense... I didn't notice the deletions were on master, my bad.
> Anyway, the patch applies correctly on master.
> BTW, are you implying that only v2+ patch could have deletions ?
> (a patch is not meant to be applied on the previous version).

Actually, I was just saying that showing corrections on a patche's code during the development of this one, isn't really necessary. But if it is concerning a modification of a code in a previous version, I agree, it is absolutly useful ;).

Simon
-- 
CATHEBRAS Simon

2A-ENSIMAG

Filière Ingéniérie des Systèmes d'Information
Membre Bug-Buster
Previous: konglu@minatec.inpg.fr
Message 5 of 5 in “[PATCHv1] git-remote-mediawiki: import "File:" attachments”
  1. Pavel VolekJun 8, 2012
  2. Matthieu MoyJun 8, 2012
  3. Simon.CathebrasJun 8, 2012
  4. konglu@minatec.inpg.frJun 8, 2012
  5. Simon.CathebrasJun 8, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.