Xqt added a comment.

  In T276662#6889125 <https://phabricator.wikimedia.org/T276662#6889125>, @JAnD 
wrote:
  
  > Why not simply `-namespace:` ?
  
  solve_disambiguation works with every pagegenerators generators too (but this 
is not documented) and -namespace is reserved for the generators then and 
cannot be reused (except we can have the same namespace for the source page 
filtering and the target pages.
  
  For example
  `pwb.py solve_disambiguation talk:písek -namespace:1 -lang:cs`
  would accept only pages of namespace 1 to be processed.
  
  `pwb.py solve_disambiguation talk:písek -namespace:1 -lang:cs -main`
  would process pages of namespace 1 to be processed but the target pages must 
be namespace 0

TASK DETAIL
  https://phabricator.wikimedia.org/T276662

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, JAnD, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, 
Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to