Thread (71 messages) 71 messages, 4 authors, 2017-11-07

Re: [PATCH v3 4/7] remote-mediawiki: skip virtual namespaces

From: Eric Sunshine <hidden>
Date: 2017-11-02 22:43:08

On Thu, Nov 2, 2017 at 5:25 PM, Antoine Beaupré [off-list ref] wrote:
Virtual namespaces do not correspond to pages in the database and are
automatically generated by MediaWiki. It makes little sense,
therefore, to fetch pages from those namespaces and the MW API doesn't
support listing those pages.

According to the documentation, those virtual namespaces are currently
"Special" (-1) and "Media" (-2) but we treat all negative namespaces
as "virtual" as a future-proofing mechanism.

Reviewed-by: Eric Sunshine <redacted>
It probably would be best to omit this Reviewed-by: since it was not
provided explicitly. More importantly, I'm neither a user of nor
familiar with MediaWiki or its API, so a Reviewed-by: from me has
little or no value. Probably best would be for someone such as
Matthieu to give his Reviewed-by: if he so desires.
Signed-off-by: Antoine Beaupré <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help